From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Levon Subject: Re: [PATCH 1/2] libfsimage Date: Mon, 30 Oct 2006 15:02:39 +0000 Message-ID: <20061030150239.GC26870@totally.trollied.org> References: <8A87A9A84C201449A0C56B728ACF491E9332@liverpoolst.ad.cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <8A87A9A84C201449A0C56B728ACF491E9332@liverpoolst.ad.cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt Cc: xen-devel@lists.xensource.com, Ian Pratt List-Id: xen-devel@lists.xenproject.org On Mon, Oct 30, 2006 at 02:20:33PM -0000, Ian Pratt wrote: > > Well, the patches as presented moved all the reiser/ext2 > > knowledge into pygrub itself. I'm certainly not opposed to > > changes to the pygrub interface, just to unnecessary > > replicating of fs-specific code inside the Xen tools. > > I most confess to not atually having read the patches... What I > imagined was a way of invoking a binary (or script) to read a file from > a filesystem. The binary might be linked against e.g. libext2fs, or have > an fs parsing implementation compiled in. Plugins are simply provided as a shared image in e.g. /usr/lib/ext2fs/fsimage.so. Originally I was planning on using the "call a binary" approach, but Jeremy was very unhappy with that, and it is somewhat more awkward for searching for grub's config file, etc. But a vendor can easily provide whatever 'fsimage.so' they feel is more appropriate. Simply put, I have no idea how to get Linux distributions to integrate libfsimage into their packages, otherwise I'd just do that. regards john