[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NFS_SUPER_MAGIC portability



On Sun, Sep 25, 2016 at 9:12 PM, Ole Streicher wrote:

> The linux include subdir is obviously only available on Linux archs, not
> on kfreebsd or hurd. From the "statfs" manpage, I had the impression
> that the second include is just not needed; however then NFS_SUPER_MAGIC
> is not available.

A bit of web searching leads me to believe there is no equivalent on FreeBSD:

https://forums.freebsd.org/threads/38820/
https://svnweb.freebsd.org/base/release/10.0.0/sys/sys/disklabel.h?view=markup

Looking on exodar.d.n (Hurd porterbox), it appears st_fstype in struct
stat and fsys_stb_type in fsys_statfsbuf can be FSTYPE_NFS. I didn't
get any further than that.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


Reply to: