]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Drop checks with last alternate superblock in fsck_ffs(8).
authorKirk McKusick <mckusick@FreeBSD.org>
Thu, 4 Aug 2022 23:06:43 +0000 (16:06 -0700)
committerKirk McKusick <mckusick@FreeBSD.org>
Thu, 4 Aug 2022 23:08:18 +0000 (16:08 -0700)
commit23c8b19c1d13b8fbd10c5941de0f2618f59db1c9
tree628ed288bb75e55b631e10f972fd7c96cd567058
parent5b5fa75acff11d871d0c90045f8c1a58fed85365
Drop checks with last alternate superblock in fsck_ffs(8).

The fsck_ffs(8) utility made sanity checks of critical superblock
fields by comparing the values of those fields in the standard
superblock againt the values of those fields in the last alternate
superblock. The code for validating a superblock now cover all the
checked fields as well as many more. Further the checks done are
far more comprehensive. So we now drop the alternate superblock
checks as they no longer provide value. Dropping these checks also
eliminates the need to read the alternate superblock.
sbin/fsck_ffs/setup.c