Date: Sat, 6 Apr 2002 21:16:33 -0800 (PST) From: Kirk McKusick <mckusick@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/fsck_ffs setup.c Message-ID: <200204070516.g375GXj82552@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
mckusick 2002/04/06 21:16:33 PST Modified files: sbin/fsck_ffs setup.c Log: 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 Revision Changes Path 1.30 +25 -61 src/sbin/fsck_ffs/setup.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204070516.g375GXj82552>