diff options
author | ecashin@coraid.com <ecashin@coraid.com> | 2005-04-19 01:00:20 -0400 |
---|---|---|
committer | Greg KH <greg@press.kroah.org> | 2005-04-19 01:00:20 -0400 |
commit | d098840e37468fdd0143d8bcfe86bc53627bf96e (patch) | |
tree | ee737c8d61f57e46688504fba2f1e76b845b3085 | |
parent | 63e9cc5d6fbe8b58ea1ee96439d356cbf726fbc0 (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>
-rw-r--r-- | Documentation/aoe/mkdevs.sh | 1 | ||||
-rw-r--r-- | Documentation/aoe/mkshelf.sh | 1 |
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 | ||
6 | if test "$#" != "1"; then | 6 | if 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 |
9 | fi | 10 | fi |
10 | dir=$1 | 11 | dir=$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 | ||
3 | if test "$#" != "2"; then | 3 | if 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 |
6 | fi | 7 | fi |
7 | n_partitions=${n_partitions:-16} | 8 | n_partitions=${n_partitions:-16} |