summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2014-05-23 14:32:57 +0000
committertrhodes <trhodes@FreeBSD.org>2014-05-23 14:32:57 +0000
commitf22bac81aae027969832dcfc43e0833956c0efb0 (patch)
tree1dcfad5b883f3a89c8953b01f56977c085494cf4 /sbin
parente666b50f1469b5cd2d51b1372ef1d26bc9cca957 (diff)
downloadFreeBSD-src-f22bac81aae027969832dcfc43e0833956c0efb0.zip
FreeBSD-src-f22bac81aae027969832dcfc43e0833956c0efb0.tar.gz
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
Diffstat (limited to 'sbin')
-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 3fa113a..5d2a019 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
OpenPOWER on IntegriCloud