-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go-fuse currently not support macfuse 4.0.0 #379
Comments
yes, you are probably right. I don't own an OSX machine, so support for OSXFUSE (or MacFUSE) is a bit a spotty. I would welcome well tested changes to support FUSE on newer versions of OSX. |
I own a macOS machine and I use gocryptfs with OS X Fuse 3.2, so I'm really interested to make the new macFUSE 4 compatible with go-fuse. How can I help? I'm not a developer but happy to test anything on my machine. Thanks. |
Thanks for the offer. Let me see if I can find some example code of how to do the new style mounting on OSX. |
do you know of example code that exercises this new style mounting on OSX ? the other fuse library has simply removed OSX wholesale, bazil/fuse@60eaf8f - it is fairly drastic, but the reasoning is sound. Apple has discontinued the mechanism that lets you build extensions to the kernel. |
Unfortunately I don't.. it seems macFuse source code is not being released anymore... Someone asked how the new mount protocol works on version 4: I'm afraid unless something changes.. will be difficult to get go-fuse to work with macFuse 4... :( it's sad.. |
Thank you @midchildan That's good news I hope! :) |
@hanwen This commit solved my problem. Would you consider tagging a new semantic version for it ? |
i tagged v2.1.0. HTH. |
osxfuse changed its name to macfuse since version 4.0.0 released. Below paragraph is copied from changelog:
In changlog of version 3.3.0, it states this:
Implement new style mount process
When mounting a FUSE volume on Linux, fusermount opens the FUSE device and passes the file descriptor back to libfuse.
However, on OS X libosxfuse used to be responsible for locating a free FUSE device, opening it, and then passing the file descriptor to mount_osxfuse. For this to work libosxfuse needs to be aware of low level implementation details like the number of registered FUSE devices.
In order to decouple libosxfuse from the FUSE kernel extension the mount process has been revised to match FUSE on Linux. mount_osxfuse will locate a free FUSE device, open it, and then pass the file descriptor back to libosxfuse.
go-fuse currently seems to depend on this "old style".
The text was updated successfully, but these errors were encountered: