| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] 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@xxxxxxxxxx>
--- a/tools/hotplug/Linux/blktap        2010-02-16 18:06:25.000000000 +0100
+++ b/tools/hotplug/Linux/blktap        2010-04-16 11:46:29.000000000 +0200
@@ -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
Attachment:
xen-tools-blktap-script.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |