Subject: Re: Linux extended-extended partitions
To: None <port-i386@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-i386
Date: 02/15/2003 17:10:44
> One caveat - in my experience, if the disk just has a "fake"
> disklabel (not on the disk, but only in memory, as is usually the
> case when there is no NetBSD partition on the disk) you need to have
> at least one partition from the disk already mounted before running
> mbrlabel in order for its work to "stick".

See the DIOCKLABEL ioctl.  (I don't know of any existing tool that uses
it, though it would be trivial to make one, and almost as trivial to
make mbrlabel use it, perhaps optionally.)

/~\ 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