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

issue with auto unmount on android #283

Open
master-hax opened this issue Apr 22, 2024 · 2 comments
Open

issue with auto unmount on android #283

master-hax opened this issue Apr 22, 2024 · 2 comments

Comments

@master-hax
Copy link

hi, thanks for making this awesome project. i am cross compiling this library for an old version of android and it works quite well out of the box 👍

however i can't get the MountOption::AutoUnmount to work. i always get this error:

fuse: failed to exec fusermount3: No such file or directory

i see the same behavior whether i enable or disable the "libfuse" feature on this crate. the system doesn't have fusermount3 available natively but fwiw i am able to manually unmount the folder with umount

do you know if there is a workaround for getting auto unmount to work? do i need to patch libfuse? thanks for taking a look.

@cberner
Copy link
Owner

cberner commented Apr 23, 2024

I'm pretty sure you need fusermount3 installed for auto unmount to work. You can try a C program that links with libfuse3 to see if that works. If it does then it should be possible to implement it in this crate. But I'm pretty sure it won't work that way either.

@master-hax
Copy link
Author

hmm yea it looks like fusermount3 logic isn't included in libfuse. sad.

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