Using fstatfs on a ZFS disk
    Willem Jan Withagen 
    wjw at digiware.nl
       
    Mon Feb 19 14:48:17 UTC 2018
    
    
  
Hi,
I'm trying to find the values of the returned f_type for ZFS
in the fstatfs call when a file is on ZFS....
But I have not yet found the definitions of the ENUMS that
would fill that value... Let alone the value for ZFS.
      struct statfs {
      uint32_t f_version;             /* structure version number */
      uint32_t f_type;                /* type of filesystem */
      uint64_t f_flags;               /* copy of mount exported flags */
      ......
      }
Any hints where to look would be welcomed.
Thanx,
--WjW
    
    
More information about the freebsd-hackers
mailing list