summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Chang <jeremy.chang@linaro.org>2011-03-14 22:37:44 +0800
committerPatrik Ryd <patrik.ryd@linaro.org>2011-03-17 09:26:17 +0100
commit0bfb3c19a57923d1a6414dcafc23216b0d75b000 (patch)
treeaff1551aee456ef6f2b6fc7e477b665d9443f531
parent7f6bb1ada8c1ec86ad5f9381cc31561d3bbd82c5 (diff)
download8-0bfb3c19a57923d1a6414dcafc23216b0d75b000.tar.gz
mount mmc partitions instead of mtd partitions
All partitions from mmc is expected. This depends on Jim Huang's patch "init: support mmc device mount" in android/system/core to work. Signed-off-by: Jeremy Chang <jeremy.chang@linaro.org>
-rw-r--r--init.rc12
1 files changed, 6 insertions, 6 deletions
diff --git a/init.rc b/init.rc
index 27c25e7..af47666 100644
--- a/init.rc
+++ b/init.rc
@@ -90,12 +90,12 @@ loglevel 3
write /dev/cpuctl/bg_non_interactive/cpu.shares 52
on fs
-# mount mtd partitions
- # Mount /system rw first to give the filesystem a chance to save a checkpoint
- mount yaffs2 mtd@system /system
- mount yaffs2 mtd@system /system ro remount
- mount yaffs2 mtd@userdata /data nosuid nodev
- mount yaffs2 mtd@cache /cache nosuid nodev
+# mount mmc partitions
+ mount ext4 mmc@blk0p3 /system
+ 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 /