Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2003 01:55:25 +0200
From:      Andrea Campi <andrea@webcom.it>
To:        Nate Lawson <nate@root.org>
Cc:        src-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/newfs mkfs.c
Message-ID:  <20030522235524.GB6396@webcom.it>
In-Reply-To: <20030522161035.X95941@root.org>
References:  <20030522183930.564EF37B49D@hub.freebsd.org> <20030522161035.X95941@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 22, 2003 at 04:14:51PM -0700, Nate Lawson wrote:
> On Thu, 22 May 2003, Doug Barton wrote:
> >   This patch is a more advanced version than the one originally submitted.
> >   Lukas improved it based on feedback from Kirk, and testing by me. It
> >   blanks all UFS1 superblocks (if any) during a UFS2 newfs, thereby causing
> >   fsck's that are not UFS2 aware to generate the "SEARCH FOR ALTERNATE
> >   SUPER-BLOCK FAILED" message, and exit without damaging the fs.
> 
> It's great to see user-friendly fixes hitting the tree.  We really need
> more seatbelts.

What about actually making the -STABLE fsck UFS2 aware, at least to the point of
printing "This is an UFS2 fs, can't check it" instead? Without looking at the code,
this sounds trivial to me; and while it can't help with already installed systems,
it would still be useful.

Bye,
	Andrea

-- 
                   Press every key to continue.



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