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] reiserfs module for pygrub

To: Jeremy Katz <katzj@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] reiserfs module for pygrub
From: aq <aquynh@xxxxxxxxx>
Date: Tue, 24 May 2005 10:04:36 +0900
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 24 May 2005 01:03:59 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EDJ9ZEot9B1uDkPYCmVFRC6bMg97FuAesXUR/nwm6tErLa6kWyGjSVjsKVmJmwu7JCwWYS4ER6jSq0cZdVavFlrQx9u8jScXBjtqJra3hPTdqvO/30MiPmL0q0QXZpop6jal4ysXEjiTAYOLbmP7fSZaIlFG2oWhNFmHtm7BxXI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1116892650.4292.41.camel@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/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: <A95E2296287EAD4EB592B5DEEFCE0E9D1E40C6@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1116892650.4292.41.camel@xxxxxxxxxxxxxx>
Reply-to: aq <aquynh@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 5/24/05, Jeremy Katz <katzj@xxxxxxxxxx> wrote:
> On Wed, 2005-05-18 at 20:37 +0100, Ian Pratt wrote:
> > > here is a patch to add reiserfs (version 2,3) support to
> > > pygrub in -unstable (against cset 1.1434)
> >
> > Does Fedora have a reiserfs tools devel package?
> 
> Not at present.
> 
> > Please can you add something to the tools/check directory that checks
> > the appropriate headers are installed.
> 
> What if we check instead for the headers being present and only building
> the filesystem modules that there's support for on the system?  Then
> distributors can ensure they have the right things in their buildsystem
> and anyone else can do the same.  The attached patch should implement
> that for libext2fs.
> 
> > Also, at runtime, are there
> > issues with libraries being present? Can you load the library
> > dynamically if required?
> 
> The libraries get linked dynamically into the python module.  If at
> runtime, the library isn't present, it won't cause a fatal error (you
> won't be able to access those types of filesystems, but it won't fall
> over on the import)
> 

yes, this trick could be easily adapted to reiserfs and others. but
what if the user keeps the needed libraries, but removes those headers
( like /usr/include/ext2fs/ext2_fs.h )after building (for example to
make the system more compact)? then the check would fail.

actually we should check for those need to present at runtime, not
things at compile time. i propose checking /usr/lib/libext2fs.so
instead of header files (incase we use dynamic libs)

regards,
aq

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