I'm using Debian Kit to run a Linux system on my Nexus 7 running Cyanogenmod 10.1, and I'd like to be able to mount arbitrary things inside of my /storage/emulated/0/
, such as WebDAV or sshfs. The goal is for Android apps to be able to use files provided in this way transparently.
However, whenever I try to mount anything inside of /storage/emulated/0/
, /sdcard/
, or /storage/emulated/legacy/
, it doesn't appear to Android applications, but is visible from Debian. I suspect this is because these directories are themselves FUSE mounts. Things mounted from Debian to a directory outside of /storage/emulated/0/
are visible from both Android and Debian.
Where are these directories actually located, and how can I mount something inside of them?
(Note: Debian Kit is not a chroot, but instead runs side-by-side with Android, overwriting parts of the root directory. Thus, I can directly mount to the Android filesystem without having to break out of a chroot)