summaryrefslogtreecommitdiff
path: root/usr.sbin/fstyp
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2017-04-26 19:34:41 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2017-04-26 19:34:41 +0000
commit56226f9c300b40110c6e7781415df253668207e1 (patch)
tree457d0c982c9cfe55e213a5c9b310c6606d05f5da /usr.sbin/fstyp
parent3b78f6062f4950f4b6aa695242676686f6172351 (diff)
downloadsrc-test2-56226f9c300b40110c6e7781415df253668207e1.tar.gz
src-test2-56226f9c300b40110c6e7781415df253668207e1.zip
Make fstyp(8) recognize exFAT even without the -u option.
While it's not directly mountable with mount(8), it's something that's mountable - differently from GELI or zpools. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=317459
Diffstat (limited to 'usr.sbin/fstyp')
-rw-r--r--usr.sbin/fstyp/fstyp.86
-rw-r--r--usr.sbin/fstyp/fstyp.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/fstyp/fstyp.8 b/usr.sbin/fstyp/fstyp.8
index 500d0af1dfef..cb8f97f85588 100644
--- a/usr.sbin/fstyp/fstyp.8
+++ b/usr.sbin/fstyp/fstyp.8
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 13, 2017
+.Dd April 26, 2017
.Dt FSTYP 8
.Os
.Sh NAME
@@ -43,7 +43,7 @@
The
.Nm
utility is used to determine the filesystem type on a given device.
-It can recognize ISO-9660, Ext2, FAT, NTFS, and UFS filesystems.
+It can recognize ISO-9660, exFAT, Ext2, FAT, NTFS, and UFS filesystems.
When the
.Fl u
flag is specified,
@@ -51,7 +51,7 @@ flag is specified,
also recognizes certain additional metadata formats that cannot be
handled using
.Xr mount 8 ,
-such as exFAT filesystems,
+such as
.Xr geli 8
providers, and
ZFS pools.
diff --git a/usr.sbin/fstyp/fstyp.c b/usr.sbin/fstyp/fstyp.c
index 76ec7948ca0d..4678a5e3e959 100644
--- a/usr.sbin/fstyp/fstyp.c
+++ b/usr.sbin/fstyp/fstyp.c
@@ -57,7 +57,7 @@ static struct {
bool unmountable;
} fstypes[] = {
{ "cd9660", &fstyp_cd9660, false },
- { "exfat", &fstyp_exfat, true },
+ { "exfat", &fstyp_exfat, false },
{ "ext2fs", &fstyp_ext2fs, false },
{ "geli", &fstyp_geli, true },
{ "msdosfs", &fstyp_msdosfs, false },