From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1P5GYR-0003G9-47 for barebox@lists.infradead.org; Mon, 11 Oct 2010 11:28:33 +0000 From: Sascha Hauer Date: Mon, 11 Oct 2010 13:28:21 +0200 Message-Id: <1286796505-16049-14-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1286796505-16049-1-git-send-email-s.hauer@pengutronix.de> References: <1286796505-16049-1-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 13/17] defaultenv: handle disk partitions To: barebox@lists.infradead.org Signed-off-by: Sascha Hauer --- defaultenv/bin/init | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/defaultenv/bin/init b/defaultenv/bin/init index a55e8e6..526e3db 100644 --- a/defaultenv/bin/init +++ b/defaultenv/bin/init @@ -8,6 +8,10 @@ if [ -e /dev/nor0 ]; then addpart /dev/nor0 $nor_parts fi +if [ -e /dev/disk0 ]; then + addpart /dev/disk0 $disk_parts +fi + if [ -e /dev/nand0 ]; then addpart /dev/nand0 $nand_parts -- 1.7.2.3 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox