ia64/xen-unstable

changeset 8061:4f25a6b49445

Match rename of parameters to match the corresponding hotplug events. This
took place some time ago, so presumably not many people are using this scripts!

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Fri Nov 25 17:07:19 2005 +0000 (2005-11-25)
parents 84cf3d018bea
children 3c01d53e383d
files tools/examples/block-enbd tools/examples/block-nbd
line diff
     1.1 --- a/tools/examples/block-enbd	Fri Nov 25 17:05:45 2005 +0000
     1.2 +++ b/tools/examples/block-enbd	Fri Nov 25 17:07:19 2005 +0000
     1.3 @@ -11,7 +11,7 @@ dir=$(dirname "$0")
     1.4  . "$dir/block-common.sh"
     1.5  
     1.6  case "$command" in
     1.7 -  bind)
     1.8 +  add)
     1.9      for dev in /dev/nd*; do
    1.10        if nbd-client $2:$3 $dev; then
    1.11          write_dev $dev
    1.12 @@ -20,7 +20,7 @@ case "$command" in
    1.13      done
    1.14      exit 1
    1.15      ;;
    1.16 -  unbind)
    1.17 +  remove)
    1.18      nbd-client -d $2
    1.19      exit 0
    1.20      ;;
     2.1 --- a/tools/examples/block-nbd	Fri Nov 25 17:05:45 2005 +0000
     2.2 +++ b/tools/examples/block-nbd	Fri Nov 25 17:07:19 2005 +0000
     2.3 @@ -11,7 +11,7 @@ dir=$(dirname "$0")
     2.4  . "$dir/block-common.sh"
     2.5  
     2.6  case "$command" in
     2.7 -  bind)
     2.8 +  add)
     2.9      for dev in /dev/nbd*; do
    2.10        if nbd-client $2 $3 $dev; then
    2.11          write_dev $dev
    2.12 @@ -20,7 +20,7 @@ case "$command" in
    2.13      done
    2.14      exit 1
    2.15      ;;
    2.16 -  unbind)
    2.17 +  remove)
    2.18      nbd-client -d $2
    2.19      exit 0
    2.20      ;;