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
..
extern.h
Makefile Remove alpha optimization hack. 2003-10-26 16:30:25 +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
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