/sdcard -> /storage/sdcard0
/storage/sdcard0 -> /storage/emulated/legacy
/storage/emulated/legacy -> /storage/emulated/0
It is known that symlinks in the above example are locations on the Android file system that reference other storage locations on a device. However, when a user creates a file, in any of the locations above, all of the locations will contain the same file, but where is the original file? Does the file remain in the location in which it was created and is referenced by all the other symlinks? I would like to know if any of the above locations store the original file or if there no original file, what is the technical process that Android handles that file?
getExternalStorageDirectory()
) used by apps to determine their "entry point", if that's what you mean. (For interested readers: this is the question which led to the current one.)/storage/sdcard0 -> /storage/emulated/legacy
:)