[Bug 220086] linux compat layer statfs implementation should present zfs as ext2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 17 22:03:09 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220086

            Bug ID: 220086
           Summary: linux compat layer statfs implementation should
                    present zfs as ext2
           Product: Base System
           Version: 11.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: brad at facefault.org

The statfs implementation in sys/compat/linux/linux_stats.c (function
bsd_to_linux_ftype) does not currently handle zfs filesystems. Some proprietary
software (e.g. Splunk) expects a sane value for statfs.f_type and will refuse
to function when that's 0L.

SmartOS solved this issue (https://smartos.org/bugview/OS-3932) by presenting
zfs as ext2; the same solution should work for FreeBSD.

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


More information about the freebsd-bugs mailing list