From: Tim Deegan Subject: Re: [PATCH] pypxeboot bootloader Date: Thu, 8 Feb 2007 15:09:48 +0000 Message-ID: <20070208150948.GC27138@york.uk.xensource.com> References: <45C7114E.10207@cs.tcd.ie> <20070205173612.GH5181@york.uk.xensource.com> <45CB335C.1090809@cs.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: <45CB335C.1090809@cs.tcd.ie> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stephen Childs Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 " 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 , XenSource UK Limited Registered office c/o EC2Y 5EB, UK; company number 05334508