====== SD Cards in Android ====== Recent Android mounts SD Cards in a directory below ///storage//. The directory name is derived from the filesystem's ''UUID'' value. In Linux, ''blkid'' lists it: % blkid [...] /dev/mmcblk0p1: LABEL="Barfoo" UUID="F000-BAAA" BLOCK_SIZE="512" TYPE="exfat" When migrating to a different SD Card, merging the UUID (and label?) value is advisable since app settings may have it hard-coded (like, e.g., the gallery app's excluded folder list). With exfat, this is possible using ''exfatlabel'' tool from the [[https://github.com/exfatprogs/exfatprogs|exfatprogs]] package: % exfatlabel /dev/mmcblk0p1 exfatprogs version : 1.4.3 (2026-08-14) label: Barfoo % exfatlabel -i /dev/mmcblk0p1 exfatprogs version : 1.4.3 (2026-08-14) volume serial : 0xf000baaa % exfatlabel /dev/mmcblk0p1 android exfatprogs version : 1.4.3 (2026-08-14) new label: android % exfatlabel -i /dev/mmcblk0p1 0xc000feee New volume serial : 0xc000feee