Date: Mon, 19 Feb 2018 15:00:30 +0000 From: Bob Bishop <rb@gid.co.uk> To: Willem Jan Withagen <wjw@digiware.nl> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: Using fstatfs on a ZFS disk Message-ID: <1C4DBFA3-5E79-4503-840C-0C548741363B@gid.co.uk> In-Reply-To: <ffcfabf1-8cf1-4182-413e-73b7117d66d7@digiware.nl> References: <ffcfabf1-8cf1-4182-413e-73b7117d66d7@digiware.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, > On 19 Feb 2018, at 14:48, Willem Jan Withagen <wjw@digiware.nl> wrote: >=20 > Hi, >=20 > I'm trying to find the values of the returned f_type for ZFS > in the fstatfs call when a file is on ZFS.... >=20 > But I have not yet found the definitions of the ENUMS that > would fill that value... Let alone the value for ZFS. I chased this particular wild goose myself recently. It=E2=80=99s FS_... = in /usr/include/sys/disklabel,h that you want. > 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 */ > ...... > } >=20 > Any hints where to look would be welcomed. >=20 > Thanx, > --WjW > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to = "freebsd-hackers-unsubscribe@freebsd.org" >=20 -- Bob Bishop rb@gid.co.uk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1C4DBFA3-5E79-4503-840C-0C548741363B>