2

The android ICS or later version(JB) use /data/media directory for internal SD card, and use fuse for mounting the emulator internal sd card device (/dev/fuse).

As we know if we use fuse, the files access have to communicate with userspace with low effect, why android do not use a stackable passthru filesystem such as wrapfs(wrapfs.filesystems.org) to mount the /data/media direct to internal sd card path(/storage/scard0)?

Especially, we have the MTP option access internal sdcard and external sdcard for PC(windows)

Borne
  • 29
  • 1
  • 1
  • 3
  • That sounds like something you'd have to ask the Android devs. "Why" questions are pretty much non-answerable except by the people who made the decision, unless they've posted it publicly, and you can search the web as well as we can. – ale Jul 30 '13 at 15:21
  • Actually, I am confused about the design of internal sdcard with FUSE.In the samsung Galaxy S4, it was replaced by a filesystem named sdcardfs(wrapfs). – Borne Jul 30 '13 at 15:31

1 Answers1

3

MTP is using the FUSE filesystem to access the sdcard while the OS is using the sdcard as well. The FUSE filesystem also manages permissions for the files stored in the /data/media folder.