Commit 7493893a authored by Mattijs Korpershoek's avatar Mattijs Korpershoek
Browse files

yukawa: fstab: remove */block/mmcblk2 entry



The internal emmc (mmcblk2) should not need to be managed by vold.
This entry confuses StorageManagerService as observeable in logcat:

   W StorageManagerService: Reporting public:179,6 unmounted due to system locked
   W StorageManagerService: Reporting public:179,7 unmounted due to system locked
   W StorageManagerService: Reporting public:179,8 unmounted due to system locked
   W StorageManagerService: Reporting public:179,9 unmounted due to system locked
   W StorageManagerService: Reporting emulated;0 unmounted due to system locked
   W StorageManagerService: Reporting public:179,10 unmounted due to system locked
   W StorageManagerService: Reporting public:179,1 unmounted due to system locked
   W StorageManagerService: Reporting public:179,2 unmounted due to system locked
   W StorageManagerService: Reporting public:179,3 unmounted due to system locked

Change the wildcard to mmcblk[0-1] instead.

Note: this also removes the "Issue with SD card" popups from the UI.

Test: m TARGET_USE_TABLET_LAUNCHER=true TARGET_VIM3=true TARGET_KERNEL_USE=5.4
      # boot to UI; no UI dropdown for internal sdcard reformatting
      # usb stick is mounted and useable from UI
      # external sdcard is mountable and useable from UI

Change-Id: Ie1dba1928b0d64732e041957f6e92cbee3866277
Signed-off-by: default avatarMattijs Korpershoek <mkorpershoek@baylibre.com>
parent d04f7096
......@@ -4,6 +4,6 @@
/dev/block/platform/soc/ffe07000.mmc/by-name/misc /misc emmc defaults defaults
system /system ext4 ro,barrier=1 wait,logical,first_stage_mount
vendor /vendor ext4 ro,barrier=1 wait,logical,first_stage_mount
*/block/mmcblk* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
*/block/mmcblk[0-1] auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
*/block/sd* auto auto defaults voldmanaged=usb:auto,noemulatedsd
/dev/block/zram0 none swap defaults zramsize=268435456
......@@ -3,6 +3,6 @@ vendor /vendor ext4 noatime,ro,errors=panic wait,slotselect,logical,fir
/dev/block/by-name/userdata /data f2fs noatime,nosuid,nodev latemount,wait,check,quota,fileencryption=software,quota
/dev/block//by-name/userdata /data ext4 noatime,nosuid,nodev,nodelalloc,nomblk_io_submit,errors=panic latemount,wait,check,quota,formattable,reservedsize=32M
/dev/block/by-name/misc /misc emmc defaults defaults
*/block/mmcblk* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
*/block/mmcblk[0-1] auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
*/block/sd* auto auto defaults voldmanaged=usb:auto,noemulatedsd
/dev/block/zram0 none swap defaults zramsize=268435456
......@@ -3,6 +3,6 @@ vendor /vendor ext4 noatime,ro,errors=panic wait,slotselect,avb,logical
/dev/block/by-name/userdata /data f2fs noatime,nosuid,nodev latemount,wait,check,quota,fileencryption=software,quota
/dev/block//by-name/userdata /data ext4 noatime,nosuid,nodev,nodelalloc,nomblk_io_submit,errors=panic latemount,wait,check,quota,formattable,reservedsize=32M
/dev/block/by-name/misc /misc emmc defaults defaults
*/block/mmcblk* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
*/block/mmcblk[0-1] auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
*/block/sd* auto auto defaults voldmanaged=usb:auto,noemulatedsd
/dev/block/zram0 none swap defaults zramsize=268435456
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment