Permalink
Browse files

fix mount point

Change-Id: Ic9cf92fcdd63ef627d4dde9bd1ba449cd8c241fa
  • Loading branch information...
1 parent 4eba80e commit 05950644eb2b402538e30f10fdaba832c3255825 @mcming1989 mcming1989 committed Sep 25, 2012
Showing with 6 additions and 47 deletions.
  1. +4 −1 framework-res/res/xml/storage_list.xml
  2. +2 −1 other/build.prop
  3. +0 −45 other/system_etc/vold.fstab
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<StorageList
xmlns:android="http://schemas.android.com/apk/res/android">
- <storage android:mountPoint="/mnt/sdcard" android:storageDescription="@string/removable_sdcard" android:primary="true" android:removable="true" />
+ <storage android:mountPoint="/mnt/sdcard" android:storageDescription="@string/internal_storage" android:primary="true" android:emulated="true" android:mtpReserve="100" />
+ <storage android:mountPoint="/mnt/external1" android:storageDescription="@string/removable_sdcard" android:removable="true" />
+ <storage_swap android:mountPoint="/mnt/external1" android:storageDescription="@string/internal_storage" android:emulated="true" android:mtpReserve="100" />
+ <storage_swap android:mountPoint="/mnt/sdcard" android:storageDescription="@string/removable_sdcard" android:primary="true" android:removable="true" />
<storage android:mountPoint="/mnt/usbdisk_1.1.1" android:storageDescription="@string/storage_usb_disk" android:removable="true" />
<storage android:mountPoint="/mnt/usbdisk_1.1" android:storageDescription="@string/storage_usb_disk" android:removable="true" />
<storage android:mountPoint="/mnt/usbdisk_1.2" android:storageDescription="@string/storage_usb_disk" android:removable="true" />
View
@@ -152,7 +152,7 @@ ro.mot.emmcsdcard.recoverytype=0
# BEGIN Motorola a22103 21-Mar-2012 IKCNDEVICS-3395
# Simulate sdcard on /data/media
-persist.fuse_sdcard=false
+persist.fuse_sdcard=true
# END IKCNDEVICS-3395
# Motorola a18540 IKCNDEVICS-3404
@@ -258,3 +258,4 @@ ro.mot.build.version.sdk_int=6
ro.product.contacts.minmatch=10
persist.usb.android_config = 1
+persist.sys.mot.sdcard=swap
@@ -1,45 +0,0 @@
-## Vold 2.0 Generic fstab
-## - San Mehat (san@android.com)
-##
-
-#######################
-## Regular device mount
-##
-## Format: dev_mount <label> <mount_point[:[asec_point]:[lun_point]:[removable]]> <part> <sysfs_path1...>
-## label - Label for the volume
-## mount_point - Where the volume will be mounted
-## asec_point - Whether asec mount is needed for this value, if not, use "none"
-## Else, supply a folder name under /mnt/secure/
-## If not supplied, "asec" will used by default
-## If supplied, /mnt/secure/asec_point will be used
-## This is for further extension, not needed now
-## lun_point - The target lun device for this volume. If not supplied, will use
-## /sys/devices/platform/usb_mass_storage/lun0/file
-## else, will use /sys/devices/platform/usb_mass_storage/lun_point/file
-## removable - 0 or 1 indicate volume is fixed(0) or removable(1), default as removable
-## part - Partition # (1 based), or 'auto' for first usable partition.
-## For a disk with only 1 partition, use '1' is different to 'auto'
-## Using 1, will not re-write its partition table when formatting
-## <sysfs_path> - List of sysfs paths to source devices
-######################
-
-# external sd card
-dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0
-
-## Example of a dual card setup
-# dev_mount left_sdcard /sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
-# dev_mount right_sdcard /sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/msm_sdcc.3/mmc_host/mmc1
-
-## Example of specifying a specific partition for mounts
-# dev_mount sdcard /sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
-
-# flash drive connection through hub connected to USB1
-dev_mount usbdisk_1.1.1 /mnt/usbdisk_1.1.1 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1/1-1/1-1.1/1-1.1.1
-dev_mount usbdisk_1.1 /mnt/usbdisk_1.1 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1/1-1/1-1.1
-dev_mount usbdisk_1.2 /mnt/usbdisk_1.2 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1/1-1/1-1.2
-dev_mount usbdisk_1.3 /mnt/usbdisk_1.3 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1/1-1/1-1.3
-dev_mount usbdisk_1.4 /mnt/usbdisk_1.4 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1/1-1/1-1.4
-dev_mount usbdisk_1.5 /mnt/usbdisk_1.5 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1/1-1/1-1.5
-dev_mount usbdisk_1.6 /mnt/usbdisk_1.6 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1/1-1/1-1.6
-dev_mount usbdisk_1.7 /mnt/usbdisk_1.7 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1/1-1/1-1.7
-

0 comments on commit 0595064

Please sign in to comment.