I have been trying to build NFS-Ganesha on macOS, and having a bit of
trouble -
there are quite a lot of compiler errors. But I also noticed someone has at least
tried in the past, as I've seen some `#ifdef __APPLE__` lines here and there. Is
macOS compatibility on anyone's radar? Did it once build in the past?
There has never been a concerted effort to make nfs-ganesha work on MacOS. The FreeBSD
work (which may not function any more) may be of some help. In order to use FSAL_VFS,
Ganesha does rely on a kernel ability to open files by handle which may or may not exist
on MacOS, it also relies on being able to set credentials (fsuid, fsgid, group list) per
thread. Oh, and byte range locks won't work without porting Open File Description
Locks. I'm sure there are other catches. FSALs for library file systems (Gluster,
Ceph, and RGW) are more likely to be workable since they don't rely on Linux specific
kernel extensions beyond POSIX.
Frank