cvs commit: src/sbin/newfs mkfs.c

Andrea Campi andrea at webcom.it
Thu May 22 16:55:31 PDT 2003


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.


More information about the cvs-all mailing list