2005-03-24 15:30:04

by Ed Cashin

[permalink] [raw]
Subject: [PATCH 2.6.11] aoe [8/12]: document env var for specifying number of partitions per dev


document env var for specifying number of partitions per dev

Signed-off-by: Ed L. Cashin <[email protected]>

diff -uprN a/Documentation/aoe/mkdevs.sh b/Documentation/aoe/mkdevs.sh
--- a/Documentation/aoe/mkdevs.sh 2005-03-07 17:37:14.000000000 -0500
+++ b/Documentation/aoe/mkdevs.sh 2005-03-10 12:19:56.000000000 -0500
@@ -5,6 +5,7 @@ n_partitions=${n_partitions:-16}

if test "$#" != "1"; then
echo "Usage: sh `basename $0` {dir}" 1>&2
+ echo " n_partitions=16 sh `basename $0` {dir}" 1>&2
exit 1
fi
dir=$1
diff -uprN a/Documentation/aoe/mkshelf.sh b/Documentation/aoe/mkshelf.sh
--- a/Documentation/aoe/mkshelf.sh 2005-03-07 17:37:14.000000000 -0500
+++ b/Documentation/aoe/mkshelf.sh 2005-03-10 12:19:56.000000000 -0500
@@ -2,6 +2,7 @@

if test "$#" != "2"; then
echo "Usage: sh `basename $0` {dir} {shelfaddress}" 1>&2
+ echo " n_partitions=16 sh `basename $0` {dir} {shelfaddress}" 1>&2
exit 1
fi
n_partitions=${n_partitions:-16}


--
Ed L. Cashin <[email protected]>