WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] tools/hotplug/Linux/block: fix shared loop devic

To: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] tools/hotplug/Linux/block: fix shared loop device detection
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Thu, 7 Jul 2011 10:19:12 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 07 Jul 2011 01:20:00 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1310026759; l=638; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=Bv+qKaU5gTLBGqGI3Ds0DoiAe5I=; b=apo+fvMAu4+4+wwL2yuLTxaIYz5rtecqqEh0uIfnyyicnTlWS/08MHieguob6WAjaSm AqUWfh2VvPXewnxEhLCeO4+xBCrJe7kOxD6cuLvb+hlumFc0XI4wbT58LUoJRobJ7t+pd mRpYair/sPC8t95MVHULg0bfBhJfnLyuYVA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <52449dfa903562aa563f.1309991973@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <52449dfa903562aa563f.1309991973@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21.rev5535 (2011-07-01)
On Wed, Jul 06, Zhigang Wang wrote:

> # HG changeset patch
> # User Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
> # Date 1309991886 14400
> # Node ID 52449dfa903562aa563fef0d229e2dc61a768f4c
> # Parent  2f63562df1c4230492a81793dce3672f93c93d9a
> tools/hotplug/Linux/block: fix shared loop device detection
> 
> We need to prefix 0 or more '0' to '$dev':
> 
>   # stat -c '%D' "/system.img"
>   13
>   # losetup -a
>   /dev/loop0: [0013]:12062248 (/system.img)
> 
> Signed-off-by: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>

The leading zero was in the 4.0 code. Thanks for spotting.

Acked-by: Olaf Hering <olaf@xxxxxxxxx>


Olaf

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

<Prev in Thread] Current Thread [Next in Thread>