freebsd-dev/sbin
Kirk McKusick a02a0079ca Add support for running foreground (-F) and background (-B) checks.
Traditionally, fsck is invoked before the filesystems are mounted
and all checks are done to completion at that time. If background
checking is available, fsck is invoked twice. It is first invoked
at the traditional time, before the filesystems are mounted, with
the -F flag to do checking on all the filesystems that cannot do
background checking. It is then invoked a second time, after the
system has completed going multiuser, with the -B flag to do checking
on all the filesystems that can do background checking. Unlike
the foreground checking, the background checking is started
asynchonously so that other system activity can proceed even on
the filesystems that are being checked.

At the moment, only the fast filesystem supports background checking.
To be able to do background checking, a filesystem must have been
running with soft updates, not have been marked as needing a
foreground check, and be mounted and writable when the background
check is to be done (i.e., not listed as `noauto' in /etc/fstab).

These changes are the final piece needed to support background
filesystem checking. They will not have any effect until you update
your /etc/rc to invoke fsck in its new mode of operation. I am
still playing around with exactly what those changes should be
and should be committing them later this week.
2001-04-25 07:18:22 +00:00
..
adjkerntz - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
atacontrol mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
atm - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
badsect - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
bsdlabel Say "add -r" rather than 'use -r' since the former is more correct. 2001-04-24 17:40:54 +00:00
camcontrol Rewrite of the CAM error recovery code. 2001-03-27 05:45:52 +00:00
ccdconfig - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
clri - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
comcontrol - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
cxconfig - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
dhclient beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
disklabel Say "add -r" rather than 'use -r' since the former is more correct. 2001-04-24 17:40:54 +00:00
dmesg - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
dump Fix bogon with the nodump flag. 2001-04-19 01:39:27 +00:00
dumpfs - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
dumpon - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
fdisk wd0 -> ad0 2001-04-08 18:41:22 +00:00
fdisk_pc98 - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
ffsinfo - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
fsck Add support for running foreground (-F) and background (-B) checks. 2001-04-25 07:18:22 +00:00
fsck_ffs Add support for the -F flag which determines whether a specified 2001-04-24 22:38:08 +00:00
fsck_ifs mdoc(7) police: prepare for mdocNG. 2001-04-16 15:12:58 +00:00
fsdb In fsdb, call sblock_init() which is now necessary to initialise 2001-04-23 21:39:14 +00:00
fsirand - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
growfs - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
i386 wd0 -> ad0 2001-04-08 18:41:22 +00:00
ifconfig - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
init Back out most of revision 1.28: lists of diagnostics must use -diag, 2001-04-13 06:54:05 +00:00
ip6fw Update comment to match ipfw/ipfw.c,v 1.95. 2001-04-13 06:49:47 +00:00
ipf - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
ipfstat - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
ipfw Update comment to match ipfw/ipfw.c,v 1.95. 2001-04-13 06:49:47 +00:00
ipmon - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
ipnat - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
kget mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
kldload - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
kldstat - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
kldunload - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
ldconfig - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
md5 - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mdconfig - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mknod - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mount - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mount_cd9660 - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mount_ext2fs - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mount_hpfs - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mount_ifs Removed unused copy of ../mount/getmtopts.3. 2001-01-17 04:10:06 +00:00
mount_msdos - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mount_msdosfs - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mount_nfs Fix a typo relating to the "-U" (force UDP for mount protocol) 2001-04-11 00:21:16 +00:00
mount_ntfs wd1s1a -> ad1s1a 2001-04-04 08:42:40 +00:00
mount_null mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
mount_nullfs mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
mount_nwfs - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mount_portal - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mount_portalfs - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mount_std - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mount_umap - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mount_umapfs - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mount_union - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mount_unionfs - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mountd Reinstate one more old bugfix that got lost in the tirpc commit: 2001-04-23 10:12:31 +00:00
natd mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
newfs sprintf() -> snprintf() 2001-04-24 10:26:00 +00:00
newfs_msdos - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
nextboot - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
nfsd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
nfsiod - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
nologin beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
nos-tun Allow specification of which source address to use for encapsulation. 2001-03-28 17:30:26 +00:00
pc98 - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
ping - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
ping6 - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
quotacheck - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
reboot mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
restore - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
route mdoc(7) police: properly use a -diag list in the DIAGNOSTICS section. 2001-04-13 19:59:47 +00:00
routed - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
rtsol Correct style bugs in previous commit 2000-07-06 01:55:21 +00:00
savecore - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
setkey mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
shutdown - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
slattach - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
spppcontrol - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
startslip - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
swapon vnconfig(8) -> mdconfig(8). 2001-04-10 16:29:41 +00:00
sysctl - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
tunefs Do not allow the soft updates flag to be set if the filesystem is dirty. 2001-04-13 23:54:49 +00:00
umount - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
vinum - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
Makefile Activate atacontrol 2001-03-19 07:59:38 +00:00
Makefile.inc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00