summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Chang <jeremy.chang@linaro.org>2011-03-22 01:30:50 +0800
committerPatrik Ryd <patrik.ryd@linaro.org>2011-03-25 10:15:39 +0100
commit01e9107bf7fd3248bff3abe05b2e56521af4f555 (patch)
tree1708dc21a857cb99fe3d1541f2d37c8380f808c9
parent0bfb3c19a57923d1a6414dcafc23216b0d75b000 (diff)
download8-01e9107bf7fd3248bff3abe05b2e56521af4f555.tar.gz
Let vold mount sdcard partition
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.
-rw-r--r--init.rc15
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@blk0p3 /system ro remount
mount ext4 mmc@blk0p5 /cache
mount ext4 mmc@blk0p6 /data
- mount ext4 mmc@blk0p7 /sdcard
on post-fs
# once everything is setup, no need to modify /