From 0bfb3c19a57923d1a6414dcafc23216b0d75b000 Mon Sep 17 00:00:00 2001 From: Jeremy Chang Date: Mon, 14 Mar 2011 22:37:44 +0800 Subject: 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 --- init.rc | 12 ++++++------ 1 file 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 / -- cgit v1.2.3