macos-fuse-t / fuse-t

Other
920 stars 7 forks source link

Abstract

FUSE-T is a kext-less implementation of FUSE for macOS that uses NFS v4 local server instead of a kernel extension.\ The main motivation is to replace 'macfuse' project (https://osxfuse.github.io/) that implements its own kext to make fuse work. With each version of macOS it's getting harder and harder to load kernel extensions. Apple strongly discourages it thus making software distributions that use 'macfuse' difficult to install. Additionally, the 'macfuse' kext is unstable, may cause frequent system crashes and kernel lock-ups. Given those limitations many software publishers are unable to use 'macfuse' project anymore.

FUSE-T doesn't make use of kernel extension, it implements its own userspace server that converts between FUSE protocol and NFS and let macOS mount NFS volume instead of a kernel filesystem.

The main features of FUSE-T

How FUSE-T works

When a filesystem issues a mount API call, libfuse launches a FUSE-T NFS server that exposes a local TCP port to the macOS mount proccess and another communication channel to libfuse. After that a macOS mount_nfs command is executed and NFS rpcs are getting called on the server. The server converts NFS rpc calls into FUSE requests that emulate original kernel-libfuse protocol. Those requests are executed in libfuse and corresponding FUSE filesystem, then the result is converted back to the macOS NFS client. After the filesystem process dies the NFS server terminates as well and it also unmounts the NFS folder mounted previously. Experimental SMB backend was added as NFS alternative

Other details

See wiki for more information.

Download the latest version of fuse-t:\ https://github.com/macos-fuse-t/fuse-t/releases/download/1.0.44/fuse-t-macos-installer-1.0.44.pkg

if you have any questions or comments, contact me at alex@fuse-t.org

Installing from brew

brew install macos-fuse-t/homebrew-cask/fuse-t

For sshfs:

brew install macos-fuse-t/homebrew-cask/fuse-t-sshfs

Possible Issues

-- "Operation not permitted"

From a terminal, if you find that you can not read the contents of a folder under the FUSE file system, it may be that access to "Network Volumes" is not enabled. See "System Settings" / "Privacy & Security" / "Files and Folders" /

/ "Network Volumes" and ensure it is enabled. This is a consequence of fuse-t leveraging the nfs system under the covers.