fuser icon indicating copy to clipboard operation
fuser copied to clipboard

issue with auto unmount on android

Open master-hax opened this issue 1 year ago • 2 comments
trafficstars

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.

master-hax avatar Apr 22 '24 08:04 master-hax

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.

cberner avatar Apr 23 '24 02:04 cberner

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

master-hax avatar Jun 12 '24 04:06 master-hax