freebsd-dev/sbin/fsck_ffs
Warner Losh a3c15a4445 Only try to enable CK_CLYGRP if we're running on kernel newer than
1200046, the first version that supports this feature. If we set it,
then use an old kernel, we'll break the 'contract' of having
checksummed cylinder groups this flag signifies. To avoid creating
something with an inconsistent state, don't turn the flag on in these
cases. The first full fsck with a new kernel will turn this on.

Spnsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D13114
2017-11-16 21:28:14 +00:00
..
dir.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ea.c UFS2: make di_extsize unsigned. 2013-10-24 00:33:29 +00:00
fsck_ffs.8 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fsck.h fsck_ffs: Unsign some variables and make use of reallocarray(3). 2017-04-22 14:50:11 +00:00
fsutil.c Continuing efforts to provide hardening of FFS, this change adds a 2017-09-22 12:45:15 +00:00
gjournal.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
globs.c fsck_ffs: Unsign some variables and make use of reallocarray(3). 2017-04-22 14:50:11 +00:00
inode.c fsck_ffs: Unsign some variables and make use of reallocarray(3). 2017-04-22 14:50:11 +00:00
main.c Do not report the filesystem as modified when the only change is to 2017-10-09 22:19:58 +00:00
Makefile sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:33:01 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pass1.c In fsck_ffs pass1, prevent the inosused variable from wrapping. 2017-04-14 15:22:00 +00:00
pass1b.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pass2.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pass3.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pass4.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pass5.c Only try to enable CK_CLYGRP if we're running on kernel newer than 2017-11-16 21:28:14 +00:00
setup.c The new fsck recovery information to enable it to find backup 2017-09-04 20:19:36 +00:00
suj.c Use UFS_LINK_MAX instead of LINK_MAX. 2017-09-21 22:33:59 +00:00
utilities.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00