Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2017 19:34:41 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r317459 - head/usr.sbin/fstyp
Message-ID:  <201704261934.v3QJYfS3035292@repo.freebsd.org>

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



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