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] pypxeboot bootloader

To: Stephen Childs <Stephen.Childs@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] pypxeboot bootloader
From: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
Date: Thu, 8 Feb 2007 15:09:48 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 08 Feb 2007 07:09:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45CB335C.1090809@xxxxxxxxx>
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>
References: <45C7114E.10207@xxxxxxxxx> <20070205173612.GH5181@xxxxxxxxxxxxxxxxxxxxx> <45CB335C.1090809@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
Hi, 

At 14:27 +0000 on 08 Feb (1170944860), Stephen Childs wrote:
> Yes that all needs tidying up. Unfortunately the version of tftp I was 
> using didn't actually support "get <remote-file> <local-file>" as 
> advertised which I was initially going to use.

:( 

> I'll have to download to 
> the filename supplied by the server then move to a tmpfile.

How about a wrapper function that mkdirs a new randomly named
directory, does the tftp in there, and then moves the file to the
destination path and rmdirs the temp dir?

> On the subject of removing files yes of course I'll remove the config 
> files. Comparing with pygrub, that seems to leave kernels and initrds 
> clogging up /var/lib/xen, and I suppose I'll end up doing the same. I 
> suppose you could set up tmpwatch to clean it up, but it still seems a bit 
> messy.

The kernel and initrd files are actually deleted by Xend after it has
used them to boot the domain.  Somewhere way out on my todo/wish-list is
plumbing the kernel/initrd through pipes and buffers, or open fds on
unlinked files or some such...

> Expect a new patch soon ...

Great; thanks for that.  

Cheers,

Tim.

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, XenSource UK Limited
Registered office c/o EC2Y 5EB, UK; company number 05334508

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