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
This commit is contained in:
Sevan Janiyan 2017-03-30 02:37:37 +00:00
parent e1cdc3f2c8
commit 2befcf74e8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=316207

View File

@ -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