freebsd-dev/sbin/fsck_ffs
mckusick b206f259ea When checking the alternate superblock, we used to copy any fields
that might have changed, then did a byte-by-byte comparison with
the alternate. If any unused fields got used, they had to be added
to the exception list. Such changes caused too many false alarms.
So, I have changed the comparison algorithm to compare a selected
set of fields that are not expected to change. This new algorithm
causes far fewer false hits and still does a good job of detecting
problems when they have really occurred. In particular, this change
should ease the transition to kernels supporting UFS2 which make
some significant changes to the superblock.

Sponsored by:	DARPA, NAI Labs
2002-04-07 05:16:33 +00:00
..
SMM.doc Preceed/preceeding are not english words. Use precede or preceding. 2001-02-18 10:25:42 +00:00
dir.c o __P removed 2002-03-20 22:57:10 +00:00
fsck_ffs.8 mdoc(7) police: section 1 and 8 manpages document their exit 2001-12-04 16:17:35 +00:00
fsck.h o __P removed 2002-03-20 22:57:10 +00:00
fsutil.c o __P removed 2002-03-20 22:57:10 +00:00
inode.c o __P removed 2002-03-20 22:57:10 +00:00
main.c Replace __progname with the documented, more acceptable and functionally identical getprogname(3). 2002-03-24 15:17:53 +00:00
Makefile Default to WARNS=2. 2001-12-04 02:19:58 +00:00
pass1.c o __P removed 2002-03-20 22:57:10 +00:00
pass1b.c o __P removed 2002-03-20 22:57:10 +00:00
pass2.c o __P removed 2002-03-20 22:57:10 +00:00
pass3.c o __P removed 2002-03-20 22:57:10 +00:00
pass4.c o __P removed 2002-03-20 22:57:10 +00:00
pass5.c o __P removed 2002-03-20 22:57:10 +00:00
preen.c o __P removed 2002-03-20 22:57:10 +00:00
setup.c When checking the alternate superblock, we used to copy any fields 2002-04-07 05:16:33 +00:00
utilities.c o __P removed 2002-03-20 22:57:10 +00:00