Its quite easy to detect EXFAT filesystem: % dd < /dev/da0s1 count=1 2> /dev/null | strings | head -1 EXFAT ... but /usr/sbin/fstyp is not able to do that: % /usr/sbin/fstyp /dev/da0s1 fstyp: /dev/da0s1: filesystem not recognized Regards, vermaden
A commit references this bug: Author: cem Date: Fri Jan 13 02:12:59 UTC 2017 New revision: 312003 URL: https://svnweb.freebsd.org/changeset/base/312003 Log: fstyp(8): Detect exFAT filesystems Simply detect the exFAT filesystem name in the Volume Boot Record (superblock). PR: 214908 Reported by: <vermaden at interia.pl> Changes: head/usr.sbin/fstyp/Makefile head/usr.sbin/fstyp/exfat.c head/usr.sbin/fstyp/fstyp.8 head/usr.sbin/fstyp/fstyp.c head/usr.sbin/fstyp/fstyp.h
A commit references this bug: Author: ngie Date: Fri Jan 13 04:02:09 UTC 2017 New revision: 312010 URL: https://svnweb.freebsd.org/changeset/base/312010 Log: Add testcase for exFAT that currently fails Disk image obtained from: http://www.cfreds.nist.gov/dfr-images/dfr-01-xfat.dd.bz2 -- was ripped off the first GPT partition and verified to be a FAT-like partition with file(1)/hexdump. This testcase currently fails PR: 214908 Sponsored by: Dell EMC Isilon Changes: head/usr.sbin/fstyp/tests/Makefile head/usr.sbin/fstyp/tests/dfr-01-xfat.img.bz2 head/usr.sbin/fstyp/tests/fstyp_test.sh
A commit references this bug: Author: ngie Date: Fri Jan 13 04:04:48 UTC 2017 New revision: 312011 URL: https://svnweb.freebsd.org/changeset/base/312011 Log: Use dfr-01-xfat.img.bz2, not dfr-01-xfat.dd.bz2 (the latter case was the full disk image from the website, which was never checked in to svn) Regardless, the testcase still fails PR: 214908 Sponsored by: Dell EMC Isilon Changes: head/usr.sbin/fstyp/tests/fstyp_test.sh