projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b17520f
)
tools/hotplug/Linux/blktap: remove optional tapdisk: prefix
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 19 Apr 2010 07:58:43 +0000
(08:58 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 19 Apr 2010 07:58:43 +0000
(08:58 +0100)
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>
tools/hotplug/Linux/blktap
patch
|
blob
|
history
diff --git
a/tools/hotplug/Linux/blktap
b/tools/hotplug/Linux/blktap
index eb2e8b19416200e9a216261ca16c9394729d6b46..cd30a38452e5674917b919d6cbeef69f81eb8d1b 100644
(file)
--- a/
tools/hotplug/Linux/blktap
+++ b/
tools/hotplug/Linux/blktap
@@
-59,6
+59,7
@@
t=$(xenstore_read_default "$XENBUS_PATH/type" 'MISSING')
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