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

后端 未结 6 2030
半阙折子戏
半阙折子戏 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:34

    Running mount without any parameters should not take root privileges and should print out all the mounted file systems. Obviously it's up to you to parse the output and test across devices.

    Relying on Linux tools is generally not a good idea on Android but I expect mount to be available everywhere..

提交回复
热议问题