summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2002-04-07 05:16:33 +0000
committermckusick <mckusick@FreeBSD.org>2002-04-07 05:16:33 +0000
commit1eec92e1b680f6618c533de8bde981b9a3059b9b (patch)
treeee192a98c2aa8b7ab3a452e7d7aace1011db8ce8 /tools
parentf7f35bd6ba0fafdffb8f209063c0991c5f39657a (diff)
downloadFreeBSD-src-1eec92e1b680f6618c533de8bde981b9a3059b9b.zip
FreeBSD-src-1eec92e1b680f6618c533de8bde981b9a3059b9b.tar.gz
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
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud