svn commit: r318489 - stable/11/usr.sbin/fstyp

Edward Tomasz Napierala trasz at FreeBSD.org
Thu May 18 20:36:09 UTC 2017


Author: trasz
Date: Thu May 18 20:36:07 2017
New Revision: 318489
URL: https://svnweb.freebsd.org/changeset/base/318489

Log:
  MFC r317459:
  
  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.

Modified:
  stable/11/usr.sbin/fstyp/fstyp.8
  stable/11/usr.sbin/fstyp/fstyp.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/fstyp/fstyp.8
==============================================================================
--- stable/11/usr.sbin/fstyp/fstyp.8	Thu May 18 20:34:25 2017	(r318488)
+++ stable/11/usr.sbin/fstyp/fstyp.8	Thu May 18 20:36:07 2017	(r318489)
@@ -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: stable/11/usr.sbin/fstyp/fstyp.c
==============================================================================
--- stable/11/usr.sbin/fstyp/fstyp.c	Thu May 18 20:34:25 2017	(r318488)
+++ stable/11/usr.sbin/fstyp/fstyp.c	Thu May 18 20:36:07 2017	(r318489)
@@ -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-stable mailing list