24 lines
819 B
Diff
24 lines
819 B
Diff
|
# HG changeset patch
|
||
|
# User Keir Fraser <keir.fraser@citrix.com>
|
||
|
# Date 1271663923 -3600
|
||
|
# Node ID ae1abcdd4a670e34509e39d5280834a75afc0f6a
|
||
|
# Parent 6860c523d2daf1d110b130a9596469a0957b4032
|
||
|
tools/hotplug/Linux/blktap: remove optional tapdisk: prefix
|
||
|
|
||
|
Perhaps this should even be further generalized (e.g. to remove any
|
||
|
"[!/]*:" pattern prefixes) to be more forward compatible?
|
||
|
|
||
|
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
||
|
|
||
|
diff -r 6860c523d2da -r ae1abcdd4a67 tools/hotplug/Linux/blktap
|
||
|
--- a/tools/hotplug/Linux/blktap Mon Apr 19 08:55:33 2010 +0100
|
||
|
+++ b/tools/hotplug/Linux/blktap Mon Apr 19 08:58:43 2010 +0100
|
||
|
@@ -59,6 +59,7 @@
|
||
|
if [ -n "$t" ]
|
||
|
then
|
||
|
p=$(xenstore_read "$XENBUS_PATH/params")
|
||
|
+ p=${p#tapdisk:}
|
||
|
# if we have a ':', chew from head including :
|
||
|
if echo $p | grep -q \:
|
||
|
then
|