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

Does a pull request with Android (>8) support make sense ? #135

Open
asyade opened this issue Oct 11, 2019 · 2 comments
Open

Does a pull request with Android (>8) support make sense ? #135

asyade opened this issue Oct 11, 2019 · 2 comments

Comments

@asyade
Copy link

asyade commented Oct 11, 2019

I work a lot with rust-fuse under Android however there is a lot of adjustment to make it work, several reasons for this:

  • Libfuse is mostley unavailable (mountpoint must be mount from the FUSE device using libc::mount).
  • FUSE filesystem can only be mounted from a root process.
  • There is some Android kernel specific FUSE operations that are actually very specific to the FAT emulation layer of Android.
  • On Android device mountpoint must match the FAT emulation layer.

for theses reasons a native rust mount feature must be written, a remove-all of the libfuse depandancy and some OS specific op code to make it work.
Currently all these features are available into my fork although some rewriting is required to maintain code quality so I wonder if it's worth to start a serious PR for the addition of Android support or these too specific changes and low demand make it should stay in a indepandant fork.

@wfraser
Copy link
Contributor

wfraser commented Oct 11, 2019

I for one would be excited to not have the dependency on libfuse anymore. 😄

(assuming it also works on vanilla Linux)

@asyade
Copy link
Author

asyade commented Oct 12, 2019

It's working on vanilla linux but that require root privileges cause we're using libc::mount.
If you are interested here is an implementation of fuse mount for android that also work on most linux
link

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