Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2007 22:51:15 +0100
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        cvs-src@FreeBSD.org, Brooks Davis <brooks@FreeBSD.org>, Pawel Jakub Dawidek <pjd@FreeBSD.org>, cvs-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: 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
Message-ID:  <20070219215115.GG41451@obiwan.tataz.chchile.org>
In-Reply-To: <20070211225528.GK1620@funkthat.com>
References:  <200702091903.l19J3Ik5099479@repoman.freebsd.org> <20070209211517.GI1620@funkthat.com> <20070210113451.GA15326@garage.freebsd.pl> <20070211225528.GK1620@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 >



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070219215115.GG41451>