freebsd-skq/sbin/fsck_ffs
delphij 50d65e6e8d Make background fsck based summary adjustments actually work by
initializing the sysctl mibs data before actually using them.

The original patchset (which is the actual version that is running
on my testboxes) have checked whether all of these sysctls and
refuses to do background fsck if we don't have them.  Kirk has
pointed out that refusing running fsck on old kernels is pointless,
as old kernels will recompute the summary at mount time, so I
have removed these checks.

Unfortunatelly, as the checks will initialize the mib values of
those sysctl's, and which are vital for the runtime summary
adjustment to work, we can not simply remove the check, which
will lead to problem when running background fsck over a dirty
volume.  Add these checks in a different way: give a warning rather
than refusing to work, and complain if the functionality is not
available when adjustments are necessary.

Noticed by:	A power failure at my lab
Pointy hat:	me
MFC After:	3 days
2005-03-07 08:42:49 +00:00
..
SMM.doc Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
dir.c Eliminate linked list used to track inodes with an initial link 2004-10-08 20:44:47 +00:00
ea.c Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
fsck_ffs.8 Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
fsck.h Make background fsck based summary adjustments actually work by 2005-03-07 08:42:49 +00:00
fsutil.c Eliminate linked list used to track inodes with an initial link 2004-10-08 20:44:47 +00:00
inode.c Eliminate linked list used to track inodes with an initial link 2004-10-08 20:44:47 +00:00
main.c Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
Makefile Move back to WARNS=2 2004-09-01 08:26:39 +00:00
pass1.c Eliminate linked list used to track inodes with an initial link 2004-10-08 20:44:47 +00:00
pass1b.c The got_siginfo = 0 should have been got_sigalarm=0 to match the other 2004-10-10 06:37:56 +00:00
pass2.c Eliminate linked list used to track inodes with an initial link 2004-10-08 20:44:47 +00:00
pass3.c Eliminate linked list used to track inodes with an initial link 2004-10-08 20:44:47 +00:00
pass4.c Eliminate linked list used to track inodes with an initial link 2004-10-08 20:44:47 +00:00
pass5.c Make background fsck based summary adjustments actually work by 2005-03-07 08:42:49 +00:00
setup.c Make background fsck based summary adjustments actually work by 2005-03-07 08:42:49 +00:00
utilities.c Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00