Properly support external SD cards

This commit is contained in:
Kamil Trzcinski 2017-05-01 16:32:33 +02:00
parent aae92fd4e3
commit a476140f68

View file

@ -3,12 +3,18 @@
/dev/block/mmcblk0p3 /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check
/dev/block/mmcblk0p4 /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check
/devices/soc.0/1c10000.sdmmc/mmc_host/mmc* auto auto defaults voldmanaged=sdcard1:auto
/devices/soc.0/1c1a000.ehci0-controller/usb* auto auto defaults voldmanaged=usb:auto
/devices/soc.0/1c1b000.ehci1-controller/usb* auto auto defaults voldmanaged=usb:auto
/devices/soc.0/1c1a000.ohci0-controller/usb* auto auto defaults voldmanaged=usb:auto
/devices/soc.0/1c1b000.ohci1-controller/usb* auto auto defaults voldmanaged=usb:auto
/dev/block/zram0 none swap defaults zramsize=268435456
# this is internal MMC storage and it should not be managed by vold
# /devices/soc.0/1c0f000.sdmmc/mmc_host/mmc* auto auto defaults voldmanaged=sdcard0:auto
# mmc0 is always a boot storage, so we allow to use mmc1 and mmc2 only
/devices/soc.0/1c0f000.sdmmc/mmc_host/mmc1* auto auto defaults voldmanaged=sdcard1:auto
/devices/soc.0/1c10000.sdmmc/mmc_host/mmc1* auto auto defaults voldmanaged=sdcard2:auto
/devices/soc.0/1c11000.sdmmc/mmc_host/mmc1* auto auto defaults voldmanaged=sdcard3:auto
/devices/soc.0/1c0f000.sdmmc/mmc_host/mmc2* auto auto defaults voldmanaged=sdcard1:auto
/devices/soc.0/1c10000.sdmmc/mmc_host/mmc2* auto auto defaults voldmanaged=sdcard2:auto
/devices/soc.0/1c11000.sdmmc/mmc_host/mmc2* auto auto defaults voldmanaged=sdcard3:auto