diff options
author | sevan <sevan@FreeBSD.org> | 2017-03-30 02:37:37 +0000 |
---|---|---|
committer | sevan <sevan@FreeBSD.org> | 2017-03-30 02:37:37 +0000 |
commit | 000531e58898adfc0561479eb09eb4c1d0624270 (patch) | |
tree | d64c4034510f4e10f4825e62fdbec52aba3a25cc /sbin/fsck | |
parent | 0dfa3142546e1742b9a88e5778d0fdb6ebb61316 (diff) | |
download | FreeBSD-src-000531e58898adfc0561479eb09eb4c1d0624270.zip FreeBSD-src-000531e58898adfc0561479eb09eb4c1d0624270.tar.gz |
MFC r266586
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/fsck')
-rw-r--r-- | sbin/fsck/fsck.8 | 14 |
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 |