[PATCH android/device/linaro/common] Let vold mount sdcard partition
Jeremy Chang
jeremy.chang at linaro.org
Mon Mar 21 18:34:41 UTC 2011
Create the directories that vold needs to complete the mounting.
vold communicates with MountService which manages Android platform
storage. Let vold do the sdcard partition mounting so sdcard partition
can be the Android external storage.
Signed-off-by: Jeremy Chang <jeremy.chang at linaro.org>
---
init.rc | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/init.rc b/init.rc
index af47666..7f94a21 100644
--- a/init.rc
+++ b/init.rc
@@ -45,22 +45,22 @@ loglevel 3
mkdir /config 0500 root root
# Directory for putting things only root should see.
- #mkdir /mnt/secure 0700 root root
+ mkdir /mnt/secure 0700 root root
# Directory for staging bindmounts
- #mkdir /mnt/secure/staging 0700 root root
+ mkdir /mnt/secure/staging 0700 root root
# Directory-target for where the secure container
# imagefile directory will be bind-mounted
- #mkdir /mnt/secure/asec 0700 root root
+ mkdir /mnt/secure/asec 0700 root root
# Secure container public mount points.
- #mkdir /mnt/asec 0700 root system
- #mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000
+ mkdir /mnt/asec 0700 root system
+ mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000
# Filesystem image public mount points.
- #mkdir /mnt/obb 0700 root system
- #mount tmpfs tmpfs /mnt/obb mode=0755,gid=1000
+ mkdir /mnt/obb 0700 root system
+ mount tmpfs tmpfs /mnt/obb mode=0755,gid=1000
write /proc/sys/kernel/panic_on_oops 1
write /proc/sys/kernel/hung_task_timeout_secs 0
@@ -95,7 +95,6 @@ on fs
mount ext4 mmc at blk0p3 /system ro remount
mount ext4 mmc at blk0p5 /cache
mount ext4 mmc at blk0p6 /data
- mount ext4 mmc at blk0p7 /sdcard
on post-fs
# once everything is setup, no need to modify /
--
1.7.1
More information about the linaro-dev
mailing list