aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/aoe
diff options
context:
space:
mode:
authorecashin@coraid.com <ecashin@coraid.com>2005-04-19 01:00:20 -0400
committerGreg KH <greg@press.kroah.org>2005-04-19 01:00:20 -0400
commitd098840e37468fdd0143d8bcfe86bc53627bf96e (patch)
treeee737c8d61f57e46688504fba2f1e76b845b3085 /Documentation/aoe
parent63e9cc5d6fbe8b58ea1ee96439d356cbf726fbc0 (diff)
[PATCH] aoe 8/12: document env var for specifying number
document env var for specifying number of partitions per dev Signed-off-by: Ed L. Cashin <ecashin@coraid.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/aoe')
-rw-r--r--Documentation/aoe/mkdevs.sh1
-rw-r--r--Documentation/aoe/mkshelf.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/aoe/mkdevs.sh b/Documentation/aoe/mkdevs.sh
index 6ce70703eb47..ec5a6de1cd7b 100644
--- a/Documentation/aoe/mkdevs.sh
+++ b/Documentation/aoe/mkdevs.sh
@@ -5,6 +5,7 @@ n_partitions=${n_partitions:-16}
5 5
6if test "$#" != "1"; then 6if test "$#" != "1"; then
7 echo "Usage: sh `basename $0` {dir}" 1>&2 7 echo "Usage: sh `basename $0` {dir}" 1>&2
8 echo " n_partitions=16 sh `basename $0` {dir}" 1>&2
8 exit 1 9 exit 1
9fi 10fi
10dir=$1 11dir=$1
diff --git a/Documentation/aoe/mkshelf.sh b/Documentation/aoe/mkshelf.sh
index 40932836bb80..8bacf9f2c7cc 100644
--- a/Documentation/aoe/mkshelf.sh
+++ b/Documentation/aoe/mkshelf.sh
@@ -2,6 +2,7 @@
2 2
3if test "$#" != "2"; then 3if test "$#" != "2"; then
4 echo "Usage: sh `basename $0` {dir} {shelfaddress}" 1>&2 4 echo "Usage: sh `basename $0` {dir} {shelfaddress}" 1>&2
5 echo " n_partitions=16 sh `basename $0` {dir} {shelfaddress}" 1>&2
5 exit 1 6 exit 1
6fi 7fi
7n_partitions=${n_partitions:-16} 8n_partitions=${n_partitions:-16}