[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Match rename of parameters to match the corresponding hotplug events. This



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 4f25a6b494455f25edd88f996840127215f6da1f
# Parent  84cf3d018bea75812fe152ce58166aa34ebe505b
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@xxxxxxxxxxxxx>

diff -r 84cf3d018bea -r 4f25a6b49445 tools/examples/block-enbd
--- a/tools/examples/block-enbd Fri Nov 25 17:05:45 2005
+++ b/tools/examples/block-enbd Fri Nov 25 17:07:19 2005
@@ -11,7 +11,7 @@
 . "$dir/block-common.sh"
 
 case "$command" in
-  bind)
+  add)
     for dev in /dev/nd*; do
       if nbd-client $2:$3 $dev; then
         write_dev $dev
@@ -20,7 +20,7 @@
     done
     exit 1
     ;;
-  unbind)
+  remove)
     nbd-client -d $2
     exit 0
     ;;
diff -r 84cf3d018bea -r 4f25a6b49445 tools/examples/block-nbd
--- a/tools/examples/block-nbd  Fri Nov 25 17:05:45 2005
+++ b/tools/examples/block-nbd  Fri Nov 25 17:07:19 2005
@@ -11,7 +11,7 @@
 . "$dir/block-common.sh"
 
 case "$command" in
-  bind)
+  add)
     for dev in /dev/nbd*; do
       if nbd-client $2 $3 $dev; then
         write_dev $dev
@@ -20,7 +20,7 @@
     done
     exit 1
     ;;
-  unbind)
+  remove)
     nbd-client -d $2
     exit 0
     ;;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.