From 2fe254074e92246ec9142b90db8d6ed0461af1e8 Mon Sep 17 00:00:00 2001 From: codeworkx Date: Thu, 21 Jul 2011 16:23:05 -0700 Subject: [PATCH] vold: enable usb device mount support --- etc/vold.fstab | 5 ++--- init.rc | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/etc/vold.fstab b/etc/vold.fstab index 3c7144d..ecfe1a8 100644 --- a/etc/vold.fstab +++ b/etc/vold.fstab @@ -18,6 +18,5 @@ dev_mount sdcard /mnt/sdcard 11 /devices/platform/s3c-mshci.0/mmc_host/mmc0/mmc0 # external sdcard dev_mount emmc /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1 -# otg sdcard -#usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/s3c_otghcd/usb -#end line ## keep this line +# USB storage device +dev_mount usbdisk /mnt/usbdisk auto /devices/platform/s3c_otghcd/usb diff --git a/init.rc b/init.rc index 37343fd..601d90b 100644 --- a/init.rc +++ b/init.rc @@ -32,6 +32,8 @@ loglevel 3 # create mountpoints mkdir /mnt 0775 root system mkdir /mnt/sdcard 0000 system system + mkdir /mnt/emmc 0000 system system + mkdir /mnt/usbdisk 0000 system system # Create cgroup mount point for cpu accounting mkdir /acct