Timeline for When files are created in Android 4.2 and above, are files ever stored in one location?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 29, 2017 at 18:39 | comment | added | Narcotixs | The thread continues at: android.stackexchange.com/questions/173983/… | |
Apr 29, 2017 at 9:32 | comment | added | Izzy |
Not really, which is why I linked the Wikipedia article. Symlinks are just "pointers" you could understand as "please go there". So files are always stored "there", where the symlinks point to – i.e. the "real location". Second, no: it's the other way around. (Internal) SD-Card storage simply is a reference to the emulated storage: /storage/sdcard0 -> /storage/emulated/legacy :)
|
|
Apr 29, 2017 at 7:41 | comment | added | Narcotixs | @Izzy , Well. I was hoping someone could help explain it simply for me to understand...My guess is that it exists in the file path in which it was intentionally created. I believe emulated storage is just a reference to sdcard storage and that files actually reside in sdcard storage. Would you agree? | |
Apr 28, 2017 at 13:57 | comment | added | Izzy |
You might wish to read the Wikipedia article on symbolic links to get an understanding of how they work :) Apart from that, there's a system call (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.)
|
|
Apr 28, 2017 at 8:45 | comment | added | Grimoire | The device which is mounted, in all of your three examples, is always the internal storage, masked by FUSE. The "real" location is /data/media. | |
Apr 28, 2017 at 6:35 | history | asked | Narcotixs | CC BY-SA 3.0 |