|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Guidance needed
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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|