Subject: Re: To stick or not to stick [ disklabels ]
To: Leo Weppelman <email@example.com>
From: Chris G. Demetriou <firstname.lastname@example.org>
Date: 12/09/1999 15:11:54
Leo Weppelman <email@example.com> writes:
> Add an ioctl, DIOCSTICK, that take a boolean argument. When false, drop
> the disklabel on the next full close, when true, retain the disklabel.
So, from this name, you'd think it was an ioctl which caused disks to
suffer stication, or something.
the notion of 'label' should be in the name. 8-)
> For sd.c, this can be implemented by defining an SDEV_STICKY_LABEL flag
> and changing the end of sdclose() to something like:
> [ ... ]
as long as the right thing happens on other, random media change
events (does it now? I dunno), it looks good enough to me.
Chris Demetriou - firstname.lastname@example.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.