svn commit: r317459 - head/usr.sbin/fstyp

Edward Tomasz Napierala trasz at FreeBSD.org
Wed Apr 26 19:34:43 UTC 2017


Author: trasz
Date: Wed Apr 26 19:34:41 2017
New Revision: 317459
URL: https://svnweb.freebsd.org/changeset/base/317459

Log:
  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

Modified:
  head/usr.sbin/fstyp/fstyp.8
  head/usr.sbin/fstyp/fstyp.c

Modified: head/usr.sbin/fstyp/fstyp.8
==============================================================================
--- head/usr.sbin/fstyp/fstyp.8	Wed Apr 26 19:33:56 2017	(r317458)
+++ head/usr.sbin/fstyp/fstyp.8	Wed Apr 26 19:34:41 2017	(r317459)
@@ -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.

Modified: head/usr.sbin/fstyp/fstyp.c
==============================================================================
--- head/usr.sbin/fstyp/fstyp.c	Wed Apr 26 19:33:56 2017	(r317458)
+++ head/usr.sbin/fstyp/fstyp.c	Wed Apr 26 19:34:41 2017	(r317459)
@@ -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 },


More information about the svn-src-head mailing list