From: Ian Jackson Subject: Re: [PATCH] hotplug: allow hardlinked files for block device images [and 1 more messages] Date: Mon, 17 Jan 2011 18:07:41 +0000 Message-ID: <19764.34157.771895.8771@mariner.uk.xensource.com> References: <20101126135555.GA27483@aepfle.de> <4D3464B3.4050200@redhat.com> <20110117155712.GA14939@aepfle.de> <4D34673D.8000802@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20101126135555.GA27483@aepfle.de>, <4D34673D.8000802@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Paolo Bonzini , Olaf Hering Cc: xen-devel@lists.xensource.com, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Olaf Hering writes ("[Xen-devel] [PATCH] hotplug: allow hardlinked files for block device images"): > Without this change, $dev would contain /dev/loop8\n/dev/loop10 > Applies to 4.0 and 4.1 Thanks. I have applied this to xen-unstable.hg. I'm always a bit suspicious of hotplug script changes, so we'll wait with backporting it to see if it doesn't cause immediate trouble ... Paolo Bonzini writes ("[Xen-devel] Re: [PATCH] hotplug: allow hardlinked files for block device images"): > On 01/17/2011 04:57 PM, Olaf Hering wrote: > > I'm sure there are pathnames which break the regex in some way. > > Adding an escape for '@' could be added, for example. > > > > How well can the rest of Xen cope with odd filenames? In other words, > > does it even get there if the configured pathnames have odd chars in it? > > @ is definitely not so odd... Yes, this is a good point. However, I think the patch as it stands is an improvement. Feel free to submit changes to make it more robust :-). Thanks, Ian.