Files
android_bootable_recovery/fuse
Motorhead1991 1c39bc65b9 Fuse: add -fno-strict-aliasing to fuse for Vanir.
Change-Id: I9619c421341efa3085e80021f7e8e259a0f1f263
2014-06-30 11:27:25 -05:00
..
2013-02-07 08:21:17 -05:00
2013-02-07 08:21:17 -05:00
2013-02-07 08:21:17 -05:00
2013-02-07 08:21:17 -05:00
2013-02-07 08:21:17 -05:00
2013-02-07 08:21:17 -05:00
2013-02-07 08:21:17 -05:00
2013-02-07 08:21:17 -05:00
2013-02-07 08:21:17 -05:00
2013-02-07 08:21:17 -05:00
2013-02-07 08:21:17 -05:00
2013-02-07 08:21:17 -05:00
2013-02-07 08:21:17 -05:00
2013-02-07 08:21:17 -05:00
2013-02-07 08:21:17 -05:00

Libfuse for Android

FUSE[1] is a framework to develop userspace file systems for linux. Since Android is based on linux, it won't be too difficult to port libfuse to Android.

The main problem of building and running libfuse on Android is that the bionic c library lacks support for pthread_cancel(), which is necessary for libfuse multi-thread code. This stackoverflow entry[2] has suggested a solution, which uses SIGUSR1 as an alternative. It seems to work.

Libfuse can be build with Android NDK[3]. If success, you will get libfuse.a and an example program fusexmp. To run the example, the android kernel should be built with FUSE kernel support.

References:
[1]. http://fuse.sourceforge.net
[2]. http://stackoverflow.com/questions/4610086/pthread-cancel-alternatives-in-android-ndk
[3]. http://developer.android.com/sdk/ndk/index.html