summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2007-03-11 06:53:07 +0000
committerbrooks <brooks@FreeBSD.org>2007-03-11 06:53:07 +0000
commit4d8126d1b73402521b814aa74e392053c3a4db28 (patch)
treef171f2463a91ebd5d4a1339005900f03002193ad /share/man
parentde9f5f66c464d865c8aaaa7e866e8e5117667274 (diff)
downloadFreeBSD-src-4d8126d1b73402521b814aa74e392053c3a4db28.zip
FreeBSD-src-4d8126d1b73402521b814aa74e392053c3a4db28.tar.gz
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.
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man5/rc.conf.59
1 files changed, 9 insertions, 0 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index 53b3dcf..f471b1a 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.
OpenPOWER on IntegriCloud