mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-10 08:23:59 +00:00
[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>
This commit is contained in:
parent
63e9cc5d6f
commit
d098840e37
2 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@ n_partitions=${n_partitions:-16}
|
||||||
|
|
||||||
if test "$#" != "1"; then
|
if test "$#" != "1"; then
|
||||||
echo "Usage: sh `basename $0` {dir}" 1>&2
|
echo "Usage: sh `basename $0` {dir}" 1>&2
|
||||||
|
echo " n_partitions=16 sh `basename $0` {dir}" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
dir=$1
|
dir=$1
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
if test "$#" != "2"; then
|
if test "$#" != "2"; then
|
||||||
echo "Usage: sh `basename $0` {dir} {shelfaddress}" 1>&2
|
echo "Usage: sh `basename $0` {dir} {shelfaddress}" 1>&2
|
||||||
|
echo " n_partitions=16 sh `basename $0` {dir} {shelfaddress}" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
n_partitions=${n_partitions:-16}
|
n_partitions=${n_partitions:-16}
|
||||||
|
|
Loading…
Add table
Reference in a new issue