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

Use of Linux FUSE on Android #28

Open
flongo82 opened this issue May 20, 2016 · 1 comment
Open

Use of Linux FUSE on Android #28

flongo82 opened this issue May 20, 2016 · 1 comment
Assignees

Comments

@flongo82
Copy link
Member

In order to implement drivers on Android we would need to have Linux FUSE or some similar mechanisms available.

@gmerlino
Copy link
Member

FUSE on Android is out of question, unless we take into consideration rooted devices, unfortunately, at least with current version of Android, where FUSE is used internally but not exposed to the developer.

In any case FUSE is not strictly needed on Android anyway, for our use case, as any software would be split in an (optional) APK and a Node.js module, to be deployed via some Termux APIs (intents).

Thus, Node.js logic would be the proxy for I/O as seen by the Cloud (and any APK as well).

As such, we just need to work at this level of abstraction and simply override built-in or module-provided functions (in particular "fs" ones) with behaviour of our choice, in order to emulate filesystem modifications and custom operations.

This is quite doable in Node.js, as exemplified here: http://stackoverflow.com/questions/17074200/node-js-override-standard-module

@gmerlino gmerlino assigned npeditto and unassigned gmerlino May 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants