ce1bca43e9
check hash to the superblock. If a check hash fails when an attempt is made to mount a filesystem, the mount fails with EINVAL (Invalid argument). This avoids a class of filesystem panics related to corrupted superblocks. The hash is done using crc32c. Check hases are added only to UFS2 and not to UFS1 as UFS1 is primarily used in embedded systems with small memories and low-powered processors which need as light-weight a filesystem as possible. Reviewed by: kib Tested by: Peter Holm Sponsored by: Netflix |
||
---|---|---|
.. | ||
Makefile | ||
Makefile.depend | ||
mkfs.c | ||
newfs.8 | ||
newfs.c | ||
newfs.h | ||
ref.test | ||
runtest00.sh | ||
runtest01.sh |