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/
Home Products Support Community News


Re: [Xen-devel] Guidance needed

To: Richard Bowser <bowser.richard@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Guidance needed
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 10 Aug 2009 16:58:18 +0100
Cc: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Delivery-date: Mon, 10 Aug 2009 08:58:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <c1a463900908100848p749aa340v5ca6d2648def8147@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/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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoZ0hjzq0k+qJ3JQ6C1ekc6kePs/gAAUd4d
Thread-topic: [Xen-devel] Guidance needed
User-agent: Microsoft-Entourage/
On 10/08/2009 16:48, "Richard Bowser" <bowser.richard@xxxxxxxxx> wrote:

> An abnormal termination of ketchup displays these lines of text on std error:
> mv: cannot move `linux-2.6.18/..' to `../..': Device or resource busy
> rmdir: failed to remove `linux-2.6.18': Directory not empty
> ketchup: Unpacking failed:
> 256
> The ketchup untar function holds this code:
>     err = os.system("mv linux*/* linux*/.[^.]* ..; rmdir linux*")
>     if err:
>         error("ketchup: Unpacking failed: ", err)
>         sys.exit(-1)
> I believe the printed 256 above is the hex value passed as "err".

Er, well it looks like its trying to copy the non-file '..'. That fails and
so the 'mv' fails and so the following 'rmdir' fails too. I'm not sure why
it would try to copy '..' as the shell regexp (.[^.]*) appears to explicitly
exclude it.

 -- Keir

Xen-devel mailing list

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