diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2010-03-03 15:05:39 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2010-03-03 15:05:39 +0000 |
commit | c8d63b05598af3031df5c409fbdddbf0a0af5c13 (patch) | |
tree | 516a4037a12ff00ed829a0f2550b13887af4cfd4 /sbin | |
parent | 33ac221356c39751299ad2c79613055977328c7f (diff) |
Add description of -p and remove reference to fstab processing.
Prompted by J.C. Robers; ok jmc@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fsck_ffs/fsck_ffs.8 | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/sbin/fsck_ffs/fsck_ffs.8 b/sbin/fsck_ffs/fsck_ffs.8 index c469d79ab73..7d9893cb699 100644 --- a/sbin/fsck_ffs/fsck_ffs.8 +++ b/sbin/fsck_ffs/fsck_ffs.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fsck_ffs.8,v 1.21 2010/01/10 10:53:33 jmc Exp $ +.\" $OpenBSD: fsck_ffs.8,v 1.22 2010/03/03 15:05:38 otto Exp $ .\" $NetBSD: fsck_ffs.8,v 1.12 1996/09/23 16:18:34 christos Exp $ .\" .\" Copyright (c) 1980, 1989, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)fsck.8 8.3 (Berkeley) 11/29/94 .\" -.Dd $Mdocdate: January 10 2010 $ +.Dd $Mdocdate: March 3 2010 $ .Dt FSCK_FFS 8 .Os .Sh NAME @@ -195,6 +195,18 @@ which is assumed to be affirmative. File systems will not be opened for writing. This is the default for file systems to be checked that are concurrently mounted writable. +.It Fl p +Enter preen mode: +.Nm +will check the file systems on the +special (raw) devices listed on the command line +and will make minor repairs without +human intervention. +Any major problems will cause +.Nm +to exit with a non-zero exit code, +so as to alert any invoking program or script +that human intervention is required. .It Fl y Assume a .Dq yes @@ -219,12 +231,6 @@ The format of a file system can be determined from the first line of output from .Xr dumpfs 8 . .Pp -If no file systems are given to -.Nm -then a default list of file systems is read from -the file -.Pa /etc/fstab . -.Pp Inconsistencies checked are as follows: .Pp .Bl -enum -compact |