On Wed, Mar 03, 2010 at 01:17:17AM -0800, J.C. Roberts wrote:
> Unfortunately, the following statement is not true:
>
> If no file systems are given to fsck_ffs then a default list of
> file sys- tems is read from the file /etc/fstab.
>
> To test, boot single user and run
> # fsck_ffs -fp
>
> If fsck_ffs is *supposed* to read /etc/fstab like fsck does, then the
> problem is in the code.
fsck_ffs is not supposed to read fstab, so this line should be gone.
Diff below.
>
> Also the `-p` option (preen) is not in the list of options.
Which list? usage and man page look ok to me on current.
-Otto
>
> Sorry for not attaching a patch. The disk I just lost had my source
> tree and I'm not done rebuilding/recovering the system.
>
> --
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 10:34:16 -0000
@@ -219,12 +219,6 @@ The format of a file system can be deter
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