From what I understand, Android has (at least) 2 file systems. One for "internal" storage (for example, / data and / system), and the other for "external" storage (for example / mnt / sdcard),
This was accurate for Android 1.x and 2.x. Starting with Android 3.0, external storage is just a directory inside the internal storage.
This means that when saving files to internal storage (Context.getFilesDir, Context.getCacheDir), the file separator used may be different from when we save files to "external" storage
Of course not. Separators are a function of the operating system, not a file system.
Is there a way to get a list of file systems on Android?
Nothing is supported. SDK applications should only use internal and external storage, for example, through the APIs that you indicated in your answer.
Hmm, I heard about mounting an external drive on NTFS, so I think they can be different
You are wrong. File and path delimiters have nothing to do with the file system format.
However, its not only file separators, file separators (path separators) also differ between different file systems.
You are wrong. File and path delimiters have nothing to do with the file system format.
source share