All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools/hotplug/Linux/blktap: remove optional tapdisk: prefix
@ 2010-04-16 10:13 Jan Beulich
  2010-04-16 20:51 ` Jim Fehlig
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Beulich @ 2010-04-16 10:13 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 534 bytes --]

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>

--- 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 #2: xen-tools-blktap-script.patch --]
[-- Type: text/plain, Size: 528 bytes --]

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>

--- 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 #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-04-20  3:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-16 10:13 [PATCH] tools/hotplug/Linux/blktap: remove optional tapdisk: prefix Jan Beulich
2010-04-16 20:51 ` Jim Fehlig
2010-04-19  7:38   ` Jan Beulich
     [not found]   ` <4BCC24A8020000780003AC70@novell.com>
2010-04-20  3:02     ` Jim Fehlig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.