Skip to content
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

Remove dependency on libfuse #1

Open
thinkmoore opened this issue Oct 6, 2016 · 2 comments
Open

Remove dependency on libfuse #1

thinkmoore opened this issue Oct 6, 2016 · 2 comments

Comments

@thinkmoore
Copy link
Owner

Currently, libfuse is only used to invoke mount_compat which shells out to fusermount to mount a FUSE filesystem. At the very least, the library can shell out itself, if not implement the necessary functionality from fusermount.

@jakeisnt
Copy link

jakeisnt commented May 2, 2021

Hey, I'd like to use this library but am having some trouble with the libfuse dependency.
Do you have any interest in fixing this issue?
If not, do you have any resources I could look into for completing this myself? Thanks for your work on this library!

@thinkmoore
Copy link
Owner Author

Unfortunately I don't have time right now to work on this project. Trying to dredge things up from memory, you'll want to look at the FUSE documentation for the API call fuse_mount. The fuse_mount_compat25 symbol that the library loads looks pretty specific to the version of libfuse on MacOS at the time I was working on the library. The slight trick is that in C you can just import fuse.h and call fuse_mount, which might be a macro. Since this library is using FFI to load the shared library, it needed to reference the specific C function that actually implements the mount functionality---the name and exact API of this function may have changed.

If you dig a little and have a question or two, I'll do my best to help. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants