diff mbox

[android/device/linaro/common] Decrease the partition numbers for mounting

Message ID BANLkTimK3e-6vKG1=FHqUoSpqhV8i+YTgw@mail.gmail.com
State New
Headers show

Commit Message

Jeremy Chang April 18, 2011, 7:04 a.m. UTC
Due to ramdisk introduced that replace the rootfs partition, adjust the
partition numbers to mount.

Signed-off-by: Jeremy Chang <jeremy.chang@linaro.org>
---
 init.rc |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/init.rc b/init.rc
index 7f94a21..c2836b9 100644
--- a/init.rc
+++ b/init.rc
@@ -91,10 +91,10 @@  loglevel 3

 on fs
 # 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@blk0p2 /system
+    mount ext4 mmc@blk0p2 /system ro remount
+    mount ext4 mmc@blk0p3 /cache
+    mount ext4 mmc@blk0p5 /data

 on post-fs
     # once everything is setup, no need to modify /