c2805605f7
This avoids a potentially many-hours-long loop of failed writes if newfs finds a partially-overwritten superblock (or, for that matter, random garbage which happens to have superblock magic bytes); on one occasion I found newfs trying to zero 800 million superblocks on a 50 MB disk. Reviewed by: mckusick MFC after: 1 week |
||
---|---|---|
.. | ||
Makefile | ||
mkfs.c | ||
newfs.8 | ||
newfs.c | ||
newfs.h | ||
ref.test | ||
runtest00.sh | ||
runtest01.sh |