From 8e0e58a9fa55f35bb757ffe344c1ccf2c97a44a2 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Thu, 18 Aug 2011 11:34:14 -0500 Subject: [PATCH] add --probe-mmc option to just list all available partitions on the system Signed-off-by: Robert Nelson --- mk_mmc.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mk_mmc.sh b/mk_mmc.sh index 6252e71..3d2bf20 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1016,6 +1016,13 @@ Required Options: --mmc Unformated MMC Card +Additional/Optional options: +-h --help + this help + +--probe-mmc + List all partitions + --uboot (omap) beagle_bx - @@ -1066,6 +1073,10 @@ while [ ! -z "$1" ]; do usage MMC=1 ;; + --probe-mmc) + MMC="/dev/idontknow" + check_mmc + ;; --mmc) checkparm $2 MMC="$2"