On Wed, Mar 03, 2010 at 03:41:58AM -0800, J.C. Roberts wrote:
> On Wed, 3 Mar 2010 12:11:43 +0100 Otto Moerbeek <[email protected]> wrote:
>
> > +.It Fl p
> > +Enter preen mode:
> > +.Nm
> > +will check all file systems 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.
>
> Hmmm... pedantically, it actually operates on the special device(s)
> listed on the command line as stated in fsck.8 proper. The following is
> more accurate:
>
> "will check the FFS or FFS2 file systems found on all special
> (raw) devices listed on the command line (e.g. /dev/rwd0a)"
Ok, with tweaks. I don't it is neccesary to repeat we are dealing with
FFS, nor is the e.g. useful, imo. jmc, do you agree?
-Otto
Index: fsck_ffs.8
===================================================================
RCS file: /cvs/src/sbin/fsck_ffs/fsck_ffs.8,v
retrieving revision 1.21
diff -u -p -r1.21 fsck_ffs.8
--- fsck_ffs.8 10 Jan 2010 10:53:33 -0000 1.21
+++ fsck_ffs.8 3 Mar 2010 12:21:00 -0000
@@ -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 filesystems 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
@@ -218,12 +230,6 @@ are being converted at once.
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