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] fix canonicalize-existing vbd file

To: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [Patch] fix canonicalize-existing vbd file
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 05 Dec 2007 10:20:48 +0000
Delivery-date: Wed, 05 Dec 2007 02:21:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E7C835910F3033takebe_akio@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acg3KIDZv6vtUKMbEdyv/QAX8io7RQ==
Thread-topic: [Xen-devel] [Patch] fix canonicalize-existing vbd file
User-agent: Microsoft-Entourage/11.3.6.070618
The -e option is not available in all versions of readlink.

 -- Keir

On 3/12/07 09:44, "Akio Takebe" <takebe_akio@xxxxxxxxxxxxxx> wrote:

> Hi,
> 
> This is a patch to fix block shell of tools.
> The block shell show a wrong message,
> when we specify a wrong path of vbd file.
> 
> Before applying my patch:
>   # ls /root/ttylinux-xen
>   ls: cannot access /root/ttylinux-xen: No such file or directory
>   # xm create -c /etc/xen/ttylinux
>   Using config file "/etc/xen/ttylinux".
>   Error: Device 769 (vbd) could not be connected.
>   File /root/ttylinux-xen is read-only, and so I will not
>   mount it read-write in a guest domain.
> 
> After applying my patch:
>   # xm create ttylinux
>   Using config file "/etc/xen/ttylinux".
>   Error: Device 769 (vbd) could not be connected. /root/ttylinux-xen does not
> exist.
> 
> Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
> 
> Best Regards,
> 
> Akio Takebe
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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