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: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 24 May 2005 01:14:22 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 24 May 2005 00:13:47 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVf807QqDo4+BthSnWOKPaj5u8bxQAAY5tw
Thread-topic: [Xen-devel] [PATCH] reiserfs module for pygrub
 
> 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.

Seems a sensible approach to me. Some people will no doubt hate the fact
that the output will depend on the build host. Perhaps have an
environment variable that can be set to overide the autodetect? (and
hence cause a build failure)
 
> > 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)

Given that the libext2fs is 90KB, I wander if we should just staticaly
link? Not sure.

Ian

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