diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-04-21 08:35:20 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-04-21 08:35:20 +0100 |
commit | 39c155b3bb4fef71c24c6cf9870f9b219591b277 (patch) | |
tree | 59be98b55a5092117bc39272488d82685f6aedbf | |
parent | bf7c7a9e52d211692e65986d3f0d54b06ca91ff5 (diff) | |
download | xen-39c155b3bb4fef71c24c6cf9870f9b219591b277.tar.gz xen-39c155b3bb4fef71c24c6cf9870f9b219591b277.tar.bz2 xen-39c155b3bb4fef71c24c6cf9870f9b219591b277.zip |
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>
xen-unstable changeset: 21193:ae1abcdd4a67
xen-unstable date: Mon Apr 19 08:58:43 2010 +0100
-rw-r--r-- | tools/hotplug/Linux/blktap | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/hotplug/Linux/blktap b/tools/hotplug/Linux/blktap index eb2e8b1941..cd30a38452 100644 --- 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 |