Looks good to me.

 /Patrik

On 14 March 2011 15:37, Jeremy Chang <jeremy.chang@linaro.org> wrote:
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>
---
 init.rc |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/init.rc b/init.rc
index b6a92c5..a3f72e1 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 /
--
1.7.1