aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/fsck
diff options
context:
space:
mode:
authorTom Rhodes <trhodes@FreeBSD.org>2014-05-23 14:32:57 +0000
committerTom Rhodes <trhodes@FreeBSD.org>2014-05-23 14:32:57 +0000
commitaedb7289daa2a317e883cac7d100c98c0bc33542 (patch)
tree1dcfad5b883f3a89c8953b01f56977c085494cf4 /sbin/fsck
parentf36b456b26b8810ac83c6c06c558fa09e449ba54 (diff)
downloadsrc-aedb7289daa2a317e883cac7d100c98c0bc33542.tar.gz
src-aedb7289daa2a317e883cac7d100c98c0bc33542.zip
If called without -T or -t, fsck attempts to detect the
file system type. If this fails, fsck will fail with "unknown file system type" message. PR: 188214
Notes
Notes: svn path=/head/; revision=266586
Diffstat (limited to 'sbin/fsck')
-rw-r--r--sbin/fsck/fsck.814
1 files changed, 13 insertions, 1 deletions
diff --git a/sbin/fsck/fsck.8 b/sbin/fsck/fsck.8
index 3fa113afe0c7..5d2a019ddbfc 100644
--- a/sbin/fsck/fsck.8
+++ b/sbin/fsck/fsck.8
@@ -29,7 +29,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 25, 2009
+.Dd May 23, 2014
.Dt FSCK 8
.Os
.Sh NAME
@@ -111,6 +111,18 @@ The disk drive containing each file system is inferred from the shortest prefix
of the device name that ends in a digit; the remaining characters are assumed
to be the partition and slice designators.
.Pp
+If the
+.Fl t
+or
+.Fl T
+flags are not specified,
+.Nm
+will attempt to determine the file system type and call the
+appropriated file system check utility.
+Failure to detect the file system type will cause
+.Nm
+to fail with a message that the partition has an unknown file system type.
+.Pp
The options are as follows:
.Bl -tag -width indent
.It Fl C