summaryrefslogtreecommitdiffstats
path: root/fstab.goldfish
diff options
context:
space:
mode:
authorYu Ning <yu.ning@intel.com>2016-01-08 15:16:02 +0800
committerPrathmesh Prabhu <pprabhu@google.com>2016-02-20 01:05:08 +0000
commit4b25713034cd4eeed734812aef1fe41dce963621 (patch)
treeb20e535e74cbac71888dd356a33336dda5ceb6be /fstab.goldfish
parentc675b2a62b59ed17c5a6b97401798ed39063fba2 (diff)
downloaddevice_generic_goldfish-4b25713034cd4eeed734812aef1fe41dce963621.tar.gz
device_generic_goldfish-4b25713034cd4eeed734812aef1fe41dce963621.tar.bz2
device_generic_goldfish-4b25713034cd4eeed734812aef1fe41dce963621.zip
goldfish: Make SD card adoptable
The current storage configuration for the classic emulator (goldfish) follows the "Android 6.0: Physical primary only" example per: https://source.android.com/devices/storage/config-example.html It only allows the virtual SD card to be used as external storage. A better configuration scheme would be "Android 6.0: Emulated primary, physical secondary", which gives the user the choice to format the virtual SD card as internal storage, if they so prefer. This CL implements the new configuration. It is only applicable to API 23 and above, and requires the following CL: https://android-review.googlesource.com/195057 BUG=27273457 Change-Id: Idd2b51da5e90680b54d3534e5fed1424dc7e2a60 Signed-off-by: Yu Ning <yu.ning@intel.com> (cherry picked from commit ec1e5323e59192dd9641695248a16049939aa8e0)
Diffstat (limited to 'fstab.goldfish')
-rw-r--r--fstab.goldfish2
1 files changed, 1 insertions, 1 deletions
diff --git a/fstab.goldfish b/fstab.goldfish
index 1e944433..cecc0471 100644
--- a/fstab.goldfish
+++ b/fstab.goldfish
@@ -5,4 +5,4 @@
/dev/block/mtdblock0 /system ext4 ro,barrier=1 wait
/dev/block/mtdblock1 /data ext4 noatime,nosuid,nodev,barrier=1,nomblk_io_submit wait,check
/dev/block/mtdblock2 /cache ext4 noatime,nosuid,nodev wait,check
-/devices/platform/goldfish_mmc.0* auto auto defaults voldmanaged=sdcard:auto,noemulatedsd
+/devices/platform/goldfish_mmc.0* auto auto defaults voldmanaged=sdcard:auto,encryptable=userdata