Subject: Re: NetBSD <-> Solaris 8 disklabel compatibility?
To: None <port-sparc@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-sparc
Date: 05/10/2002 23:29:28
> Unfortunately, while NetBSD has no problem reading the partition
> table aka disklabel created by Solaris, Solaris 8 pretends not to see
> the NetBSD created disklabel.

This is one of the problems with the NetBSD "feature" of putting a BSD
disklabel into spare space in the Sun disklabel.

I can think of two possible failure modes here: either Solaris is
getting upset over seeing non-0x00 in that spare space, or you're
setting partitions that don't conform to the Sun constraints and thus
they aren't showing up in the Sun-compatible label.  Is Solaris
completely ignoring the NetBSD-created label, or is it just failing to
see the partitions that don't match the Sun constraints?

In any case, you may want to grab a copy of sunlabel (and possibly
bsdlabel) so that you can set up the partition tables exactly the way
you want them.  This brings up an issue with sunlabel that I hadn't
thought of before; I'll try to fix it soon.

Look in ftp.netbsd.org:/pub/NetBSD/misc/mouse/hacks/ and fetch the
*label* files.  Unfortunately no bsdlabel.doc exists yet, but its
builtin help and the sunlabel.doc file should get you most of the way
there.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B