Subject: Re: mbrlabel and extended partitions (NetBSD 1.6.1/i386)
To: Luke Mewburn <lukem@netbsd.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: current-users
Date: 06/06/2003 22:32:32
lukem@netbsd.org said:
> Or try
> 	dkctl wd1 keeplabel yes 

This is totally backwards imho.
It should always keep the label in core, and there should be
an ioctl to reset it (ie reread from disk or build default
label).
OSF/1 has a "disklabel -z" to clear the label. We could extrapolate
this to obey the "-r" option: without, just reset the in-core label.
With, zero the disk's one too.
"dkctl" should be reserved for things which are really the
driver's concern.

best regards
Matthias