Some devices (like my Nexus 4) don't have an external slot for an SD Card. Instead, there's a root folder called /sdcard/
that is treated the same way. But I also find other paths that all point to the same files -- there must be some kind redirects going on (I think this is called symlinks in Linux).
All these paths contain the same files:
/sdcard/
/storage/sdcard0/
/storage/emulated/0/
/storage/emulated/legacy/
Which path is the "actual" one? What about the other paths? What are they used for, why do they exist?
/storage/sdcard/legacy
path. – Torben Gundtofte-Bruun Feb 13 '13 at 14:25/sdcard0/
versus/emulated/0
), the "0" here might be intended for the case one attaches multiple SDCards via a card reader and USB host mode then. Just a guess, not a hard fact -- but I'd say a good one. – Izzy Feb 13 '13 at 15:11/sdcard/
is simply a symlink to/storage/sdcard0/
. On older version than 4.0.0, it is/mnt/sdcard/
. – Matthieu Harlé Feb 14 '13 at 18:05/mnt/sdcard/
is a symlink to/storage/sdcard0/
? Since both are navigable on my Nexus 4. – MrWhite Apr 12 '13 at 15:22/storage/sdcard0/
contradicts the answer to the question you linked, where you say the "0" insdcard0
is related to the user ID. – tony19 Mar 12 '15 at 03:06/sdcard0
is the first SD card, while/sdcard/0
is the first user's SD card's part :) Apart from that, here it's asked for 4.0+ – while those multi-user stuff was introduced with 4.2+ only. – Izzy Mar 12 '15 at 07:01