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: "aq" <aquynh@xxxxxxxxx>, "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 02:27:04 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 24 May 2005 01:26:29 +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: AcVf/JeX+rHdYM4RTPOF2rmbPo7bEgAAu5Fw
Thread-topic: [Xen-devel] [PATCH] reiserfs module for pygrub
> > 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.

As I understand it, it's a build-time check for the header file
(setup.py)

Ian
 
> 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)

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