From owner-cvs-src@FreeBSD.ORG Mon Feb 19 23:14:42 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7350D16F166; Mon, 19 Feb 2007 23:14:42 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by mx1.freebsd.org (Postfix) with ESMTP id 2EA8313C491; Mon, 19 Feb 2007 23:14:42 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp4-g19.free.fr (Postfix) with ESMTP id 358BA6838C; Mon, 19 Feb 2007 22:50:18 +0100 (CET) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 8A1869D41F; Mon, 19 Feb 2007 21:51:15 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 75041405D; Mon, 19 Feb 2007 22:51:15 +0100 (CET) Date: Mon, 19 Feb 2007 22:51:15 +0100 From: Jeremie Le Hen To: John-Mark Gurney Message-ID: <20070219215115.GG41451@obiwan.tataz.chchile.org> References: <200702091903.l19J3Ik5099479@repoman.freebsd.org> <20070209211517.GI1620@funkthat.com> <20070210113451.GA15326@garage.freebsd.pl> <20070211225528.GK1620@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070211225528.GK1620@funkthat.com> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: cvs-src@FreeBSD.org, Brooks Davis , Pawel Jakub Dawidek , 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2007 23:14:42 -0000 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 >