Subject: CVS commit: src/sbin/newfs
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 10/29/2003 08:14:13
Module Name:	src
Committed By:	lukem
Date:		Wed Oct 29 08:14:13 UTC 2003

Modified Files:
	src/sbin/newfs: mkfs.c

Log Message:
Under no circumstances try to zap an existing superblock at sector 0.
There's no reasonable situation where there will be one there, except if the
disk had data on it previously for some reason.  It's significantly more
likely (read "the world until UFS2 was merged") that sector 0(..15)
contains really important stuff like boot blocks and disk labels.

Once again, I ask, why wasn't UFS2 implemented as a separate file
system a la lfs & ext2fs ?
It could have shared a chunk of the kernel code (just like those),
and had different userland tools and a different fs_type.


To generate a diff of this commit:
cvs rdiff -r1.83 -r1.84 src/sbin/newfs/mkfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.