From: "Jan Beulich" Subject: Re: [PATCH] tools/hotplug/Linux/blktap: remove optional tapdisk: prefix Date: Mon, 19 Apr 2010 08:38:48 +0100 Message-ID: <4BCC24A8020000780003AC70@vpn.id2.novell.com> References: <4BC8547A020000780003A98D@vpn.id2.novell.com> <4BC8CDCA.1000703@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4BC8CDCA.1000703@novell.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jim Fehlig Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> Jim Fehlig 16.04.10 22:51 >>> >Jan Beulich wrote: >> Perhaps this should even be further generalized (e.g. to remove any >> "[!/]*:" pattern prefixes) to be more forward compatible? >> =20 > >Right. Need to handle the 'ioemu' subtype as well. How about just >stripping of everything before the leading '/'? E.g. like the attached >patch? Wouldn't that become wrong when remote locations are acceptable here (not sure if they aren't already), i.e. server:/path/file? If that is not expected to ever have a meaning and if relative paths aren't permitted here, then yes, that would of course be the best solution. Jan