From: "Jan Beulich" Subject: [PATCH] tools/hotplug/Linux/blktap: remove optional tapdisk: prefix Date: Fri, 16 Apr 2010 11:13:46 +0100 Message-ID: <4BC8547A020000780003A98D@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part99B3174A.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part99B3174A.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Perhaps this should even be further generalized (e.g. to remove any "[!/]*:" pattern prefixes) to be more forward compatible? Signed-off-by: Jan Beulich --- 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=3D$(xenstore_read "$XENBUS_PATH/params") + p=3D${p#tapdisk:} # if we have a ':', chew from head including : if echo $p | grep -q \: then --=__Part99B3174A.0__= Content-Type: text/plain; name="xen-tools-blktap-script.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="xen-tools-blktap-script.patch" Perhaps this should even be further generalized (e.g. to remove any=0A"[!/]= *:" pattern prefixes) to be more forward compatible?=0A=0ASigned-off-by: = Jan Beulich =0A=0A--- a/tools/hotplug/Linux/blktap = 2010-02-16 18:06:25.000000000 +0100=0A+++ b/tools/hotplug/Linux/blktap = 2010-04-16 11:46:29.000000000 +0200=0A@@ -59,6 +59,7 @@=0A if [ -n "$t" = ]=0A then=0A p=3D$(xenstore_read "$XENBUS_PATH/params")=0A+ = p=3D${p#tapdisk:}=0A # if we have a ':', chew from head including :=0A = if echo $p | grep -q \:=0A then=0A --=__Part99B3174A.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part99B3174A.0__=--