cvs commit: src/sys/amd64/conf GENERIC src/sys/i386/conf GENERIC src/sys/ia64/conf GENERIC src/sys/pc98/conf GENERIC src/sys/powerpc/conf GENERIC src/sys/sparc64/conf GENERIC src/sys/sun4v/conf GENERIC

Jeremie Le Hen jeremie at le-hen.org
Mon Feb 19 23:14:42 UTC 2007


Hi,

On Sun, Feb 11, 2007 at 02:55:28PM -0800, John-Mark Gurney wrote:
> Pawel Jakub Dawidek wrote this message on Sat, Feb 10, 2007 at 12:34 +0100:
> > If you set kern.geom.label.debug to >= 1, glabel will print a warning:
> > 
> > Label root(ufs/root) already exists (/dev/ad0s1a).
> > 
> > (or something like that). We may consider printing it at the default
> > debug level (0) and see if there are not too many reports from the users
> > with false-positives.
> 
> Printing a debug still doesn't prevent the automatic mounting and
> corruption of the mirror...

Sure, but printing at the default debug level would be nonetheless
surely worth doing.

When a network interface is configured, the corresponding ifconfig(8)
output is showed.  What about doing the same for glabel(8) ?

Of course the glabel(8) utility is not involved in the booting
process currently.  It would be pointless to print the output for
"glabel status" if no label is used at all.  However, printing
the glabel status at boot time would spot out configuration problems
though not prevent them.

It might be worth doing so for other geom classes as well, such as
gmirror, gstripe and others.

Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >


More information about the cvs-src mailing list