|author||Julian Elischer <julian@FreeBSD.org>||1998-12-03 02:41:11 +0000|
|committer||Julian Elischer <julian@FreeBSD.org>||1998-12-03 02:41:11 +0000|
Cosmetic and documentation changes brought from earlier FreeBSD versions.
(e.g. RCS Id:)
Notes: svn path=/head/; revision=41477
Diffstat (limited to 'sbin/fsck_ffs/fsck_ffs.8')
1 files changed, 26 insertions, 18 deletions
diff --git a/sbin/fsck_ffs/fsck_ffs.8 b/sbin/fsck_ffs/fsck_ffs.8
index 20c867fcf715..5ce5e0f681da 100644
@@ -11,7 +11,7 @@
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
+.\" must display the following acknowledgment:
.\" This product includes software developed by the University of
.\" California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
@@ -31,6 +31,7 @@
.\" SUCH DAMAGE.
.\" @(#)fsck.8 8.4 (Berkeley) 5/9/95
+.\" $Id: fsck.8,v 1.11 1998/06/15 07:07:12 charnier Exp $
.Dd November 15, 1996
.Dt FSCK 8
@@ -55,13 +56,13 @@
The first form of
preens a standard set of filesystems or the specified filesystems.
It is normally used in the script
during automatic reboot.
reads the table
to determine which filesystems to check.
@@ -74,12 +75,18 @@ running one process per disk drive.
The disk drive containing each filesystem is inferred from the longest prefix
of the device name that ends in a digit; the remaining characters are assumed
to be the partition designator.
-In preening mode,
-filesystems that are marked clean are skipped.
+In "preen" mode the clean flag of each filesystem's superblock is examined
+and only those filesystems that
+are not marked clean are checked.
Filesystems are marked clean when they are unmounted,
when they have been mounted read-only, or when
runs on them successfully.
+option is specified, the filesystems
+will be checked regardless of the state of their clean flag.
The kernel takes care that only a restricted class of innocuous filesystem
inconsistencies can happen unless hardware or software failures intervene.
@@ -99,7 +106,7 @@ Counts in the super-block wrong
These are the only inconsistencies that
option will correct; if it encounters other inconsistencies, it exits
@@ -107,7 +114,7 @@ with an abnormal return status and an automatic reboot will then fail.
For each corrected inconsistency one or more lines will be printed
identifying the filesystem on which the correction will take place,
and the nature of the correction. After successfully correcting a filesystem,
will print the number of files on that filesystem,
the number of used and free blocks,
and the percentage of fragmentation.
@@ -115,7 +122,7 @@ and the percentage of fragmentation.
If sent a
will finish the filesystem checks, then exit with an abnormal
return status that causes an automatic reboot to fail.
This is useful when you want to finish the filesystem checks during an
@@ -125,7 +132,7 @@ but do not want the machine to come up multiuser after the checks complete.
audits and interactively repairs inconsistent conditions for filesystems.
If the filesystem is inconsistent the operator is prompted for concurrence
before each correction is attempted.
@@ -141,7 +148,7 @@ is to wait for the operator to respond
.Li no .
If the operator does not have write permission on the filesystem
will default to a
@@ -155,7 +162,7 @@ and
The following flags are interpreted by
-.Nm fsck .
+.Nm Ns .
.Bl -tag -width indent
.It Fl b
Use the block specified immediately after the flag as
@@ -181,7 +188,7 @@ If maxcontig is equal to one, delete any existing segment maps.
In interactive mode,
will list the conversion to be made
and ask whether the conversion should be done.
If a negative answer is given,
@@ -216,7 +223,7 @@ by all users on the system should use a more restrictive
set of permissions such as 700.
.It Fl n
Assume a no response to all questions asked by
.Ql CONTINUE? ,
which is assumed to be affirmative;
@@ -225,13 +232,13 @@ do not open the filesystem for writing.
Preen filesystems (see above).
.It Fl y
Assume a yes response to all questions asked by
-.Nm fsck ;
+.Nm Ns ;
this should be used with great caution as this is a free license
to continue after essentially unlimited trouble has been encountered.
If no filesystems are given to
then a default list of filesystems is read from
.Pa /etc/fstab .
@@ -301,13 +308,14 @@ contains default list of filesystems to check.
The diagnostics produced by
are fully enumerated and explained in Appendix A of
.%T "Fsck \- The UNIX File System Check Program"
.Sh SEE ALSO
-.Xr fstab 5 ,
.Xr fs 5 ,
+.Xr fstab 5 ,
+.Xr fsdb 8 ,
.Xr newfs 8 ,
.Xr reboot 8