Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2017 20:36:07 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r318489 - stable/11/usr.sbin/fstyp
Message-ID:  <201705182036.v4IKa7SF017112@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 },



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705182036.v4IKa7SF017112>