Subject: Re: are prototype disklabels sacred?
To: Todd Whitesel <>
From: Robert V. Baron <>
List: tech-kern
Date: 09/29/1998 10:41:08
I'm not sure what you mean by prototype disklabels.  But the simple
answer is yes.  The ioctl, 
		*(struct disklabel *)addr = *(wd->sc_dk.dk_label);
		return 0;
returns your "active" label.  While
		wdgetdefaultlabel(wd, (struct disklabel *)addr);
		return 0;
returns probably what you mean when you say prototype disklabel.
(scsi sd code is isomorphic to the above.)

Todd Whitesel <> writes:

> Do prototype disklabels stick around indefinitely or are they replaced by
> data from the disk on the first disklabel -r ?
> Todd Whitesel
> toddpw @