Subject: Re: disklabel(8) and machdep on-disk structures issues
To: None <email@example.com>
From: Izumi Tsutsui <firstname.lastname@example.org>
Date: 11/01/2003 00:09:37
In article <20031031113955.GB653@antioche.lip6.fr>
> For sparc, the NetBSD disklabel is embeded in the sun disklabel in some
> free space (sun3 could probably do it as well), and DIOCWDINFO always write
> a sun disklabel and a NetBSD disklabel.
> My conclusions are:
> - sun3 should probably write a NetBSD disklabel inside the sun disklabel,
> just as sparc does. BTW, sun3 and sparc could probably share the same
> disksubr.c (I didn't look at sparc64 and sun2 yet).
> - the #ifdef __sparc__ in disklabel(8) can probably go away, as sun3 works
> without it.
LABELOFFSET on sparc was changed to 128 to make space of BSD disklabel:
i.e. sparc and sun3 have different disklabel structure on NetBSD.
(see port-sparc/6325 for details)