[Bug 240893] Add ZFS Detection to fstyp(8) Tool
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Sep 28 11:07:40 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240893
Bug ID: 240893
Summary: Add ZFS Detection to fstyp(8) Tool
Product: Base System
Version: 12.1-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: vermaden at interia.pl
Output from 12.1-BETA1:
# fstyp /dev/md0
fstyp: /dev/md0: filesystem not recognized
ZFS is not detected. Either imported or exported.
This is quick and easy way to detect ZFS on a block device:
# head -c 32000 /dev/md0 | strings | grep -q pool_guid
Dunno how that may help with fstyp(8) written in C but ... :)
Regards.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list