Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2019 11:07:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 240893] Add ZFS Detection to fstyp(8) Tool
Message-ID:  <bug-240893-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240893

            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@FreeBSD.org
          Reporter: vermaden@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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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