NetBSD/sbin/newfs
lukem d20692fdf5 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.
2003-10-29 08:14:13 +00:00
..
Makefile Remove alpha optimization hack. 2003-10-26 16:30:25 +00:00
extern.h Make mkfs -N work again (was trying to read filesystem). 2003-09-11 12:19:44 +00:00
mkfs.c Under no circumstances try to zap an existing superblock at sector 0. 2003-10-29 08:14:13 +00:00
mount_mfs.8 Change date on man pages 2003-09-11 12:21:01 +00:00
newfs.8 All single letter options are usually combined; add -V to the others. 2003-10-10 09:03:23 +00:00
newfs.c initialize llsize and llsizemult to 0 2003-10-15 00:25:28 +00:00