From patchwork Mon Apr 18 07:04:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Chang X-Patchwork-Id: 1062 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:48:45 -0000 Delivered-To: patches@linaro.org Received: by 10.224.67.148 with SMTP id r20cs25058qai; Mon, 18 Apr 2011 00:04:52 -0700 (PDT) Received: by 10.227.61.142 with SMTP id t14mr4438438wbh.84.1303110291959; Mon, 18 Apr 2011 00:04:51 -0700 (PDT) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id g9si9452243wbe.122.2011.04.18.00.04.51 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 Apr 2011 00:04:51 -0700 (PDT) Received-SPF: pass (google.com: domain of shunyu.chang@gmail.com designates 74.125.82.50 as permitted sender) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=pass (google.com: domain of shunyu.chang@gmail.com designates 74.125.82.50 as permitted sender) smtp.mail=shunyu.chang@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by wwc33 with SMTP id 33so5165447wwc.31 for ; Mon, 18 Apr 2011 00:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=YLcI8QmizRtt/uyiNlIZF8+1+ZY/y8rVAoNk9ANsIDQ=; b=SH3WcfzHIk1Ee/YAZyg/ZrsDVpbtl6FGh5w9TZlTLySxTyR8FXsp6d+1I6G7gma1w/ pXn4o4p62HM0KO18nrzc0ccSk/dW+uccyAn/Dg5wPI5R3DhqfzHkuveueoNpPXleqwE0 3aK6fZmDErRrlUmJSN9FehJB718hdLvB33hrg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; b=B2/xP/JvG+u7qv5snY07tNuwV61O9WStIbjwp96X9IaI5N5yGktZEQNBujAAHY3FJn 0pRayprnRJxCmXmBVO2rrqdNg5IV4/qacyQ3OOb1Wcmnx/L/DIrMNCRQgNvKO85HJPTc i+8TmEbq33pZ5DmHPmKOpT8Hs5M1xflR0+/XE= Received: by 10.216.238.132 with SMTP id a4mr765149wer.68.1303110291165; Mon, 18 Apr 2011 00:04:51 -0700 (PDT) MIME-Version: 1.0 Sender: shunyu.chang@gmail.com Received: by 10.216.160.141 with HTTP; Mon, 18 Apr 2011 00:04:31 -0700 (PDT) From: Jeremy Chang Date: Mon, 18 Apr 2011 15:04:31 +0800 X-Google-Sender-Auth: JJQn8LqxfTRBqS5aCSykJBy_hQE Message-ID: Subject: [PATCH android/device/linaro/common] Decrease the partition numbers for mounting To: linaro-dev@lists.linaro.org Cc: patches , Patrik Ryd , Alexander Sack , Jim Huang Due to ramdisk introduced that replace the rootfs partition, adjust the partition numbers to mount. Signed-off-by: Jeremy Chang --- init.rc | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) 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 /