summaryrefslogtreecommitdiff
path: root/misc/fsck.8.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2002-08-17 17:39:39 -0400
committerTheodore Ts'o <tytso@mit.edu>2002-08-17 17:39:39 -0400
commita14113545168390de8974ee2683124b710977fb6 (patch)
tree5a8e66e327adaf3d943ef9c6d4d2460f495308e6 /misc/fsck.8.in
parent023d111e92195624463e870146d0f386ba5c2d87 (diff)
downloade2fsprogs-a14113545168390de8974ee2683124b710977fb6.tar.gz
fsck.c (main): If no filesystems are specified on the command
line, default to -As. (Addresses Debian Bug #153102) badblocks.8.in: Clarify why it's bad to do a non-destructive test on a r/o mounted filesystem. (Addresses Debian Bug #131350)
Diffstat (limited to 'misc/fsck.8.in')
-rw-r--r--misc/fsck.8.in19
1 files changed, 14 insertions, 5 deletions
diff --git a/misc/fsck.8.in b/misc/fsck.8.in
index 10a19dce..59635621 100644
--- a/misc/fsck.8.in
+++ b/misc/fsck.8.in
@@ -14,7 +14,7 @@ fsck \- check and repair a Linux file system
.B \-t
.I fstype
]
-.I filesys [ ... ]
+.I [filesys ... ]
[\-\-] [
.B fs-specific-options
]
@@ -28,11 +28,21 @@ a mount point (e.g.
.IR / ", " /usr ", " /home ),
or an ext2 label or UUID specifier (e.g.
UUID=8868abf6-88c5-4a83-98b8-bfc24057f7bd or LABEL=root).
-The
+Normally, the
.B fsck
program will try to run filesystems on different physical disk drives
in parallel to reduce total amount time to check all of the filesystems.
.PP
+If no filesystems are specified on the command line, and the
+.B \-A
+option is not specified,
+.B fsck
+will default to checking filesystems in
+.B /etc/fstab
+serial. This is equivalent to the
+.B \-As
+options.
+.PP
The exit code returned by
.B fsck
is the sum of the following conditions:
@@ -53,9 +63,8 @@ is the sum of the following conditions:
.br
\ 128\ \-\ Shared library error
.br
-The exit code returned when all file systems are checked using the
-.B \-A
-option is the bit-wise OR of the exit codes for each
+The exit code returned when multiple file systems are checked
+is the bit-wise OR of the exit codes for each
file system that is checked.
.PP
In actuality,