diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2007-03-11 06:53:07 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2007-03-11 06:53:07 +0000 |
commit | 0b45d130bf275a70e5c976d165824f1b392c3e50 (patch) | |
tree | f171f2463a91ebd5d4a1339005900f03002193ad /share/man/man5/rc.conf.5 | |
parent | 9672f0230fc5c2ce160f2145a10fea355d5c5703 (diff) | |
download | src-0b45d130bf275a70e5c976d165824f1b392c3e50.tar.gz src-0b45d130bf275a70e5c976d165824f1b392c3e50.zip |
Allow background_fsck_delay to be set to a negative value which delays
the background fsck indefinitely. This allows the administrator to run
it at a convenient time. To support running it from cron, the
forcestart argument now causes the fsck to start with no delay and all
output to be suppressed.
Notes
Notes:
svn path=/head/; revision=167437
Diffstat (limited to 'share/man/man5/rc.conf.5')
-rw-r--r-- | share/man/man5/rc.conf.5 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index 53b3dcf78b5d..f471b1ac5d6e 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -1384,6 +1384,15 @@ The amount of time in seconds to sleep before starting a background It defaults to sixty seconds to allow large applications such as the X server to start before disk I/O bandwidth is monopolized by .Xr fsck 8 . +If set to a negative number, the background file system check will be +delayed indefinitely to allow the administrator to run it at a more +convenient time. +For example it may be run from cron by adding a line like +.Pp +.Dl 0 4 * * * root /etc/rc.d/bgfsck forcestart +.Pp +to +.Pa /etc/crontab . .It Va netfs_types .Pq Vt str List of file system types that are network-based. |