How to list additional external storage folders (mount points)?

后端 未结 6 2041
半阙折子戏
半阙折子戏 2020-12-01 10:24

By default, \"external\" storage on Android is presented as /sdcard folder. On some devices it\'s not SD card but internal memory.

Some devices allow attachment of a

6条回答
  •  孤街浪徒
    2020-12-01 10:27

    You can read /proc/mounts to find out what is currently mounted.

    Or you can read /etc/vold.conf or /etc/vold.fstab (it depends on version what config file is present). This files contains config for removable storages. At tablet default storage is not usually present in vold.

提交回复
热议问题