xfs
[Top] [All Lists]

Re: XFS module for RHEL4

To: Wayne Steenburg <w.steenburg@xxxxxxxxxx>
Subject: Re: XFS module for RHEL4
From: Sonny Rao <sonny@xxxxxxxxxxx>
Date: Thu, 2 Jun 2005 10:02:18 -0400
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <1117711504.5018.3.camel@FC3Work>
References: <1117576633.5018.12.camel@FC3Work> <20050601035347.GB20301@xxxxxxxxxxxxxxxxxx> <1117711504.5018.3.camel@FC3Work>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Thu, Jun 02, 2005 at 07:25:04AM -0400, Wayne Steenburg wrote:
> On Tue, 2005-05-31 at 23:53 -0400, Sonny Rao wrote:
> > On Tue, May 31, 2005 at 05:57:13PM -0400, Wayne Steenburg wrote:
> > > How would one go about compiling the XFS modules for the stock RHEL4
> > > kernel?  Redhat decided not to include it for whatever reason.
> > > 
> > 
> > More precisely, RedHat decided it couldn't support any filesystem
> > other than Ext3  (hint, if you paid for RHEL 4 and want XFS, you could
> > complai^H^H^H^H ask RedHat to reevaluate their choices of supported
> > filesystems) 
> > 
> > On to the (possibly) useful portion of this post,
> > 
> > You need to get the kernel source RPM and use the rpmbuild command to
> > setup the kernel tree appropriately.. I believe the command is
> > "rpmbuild -bp" for "prep" which means untar and apply patches in
> > RPM-speak.   This will put the kernel tree in the "BUILD" directory
> > where you can then go in and theoretically change whatever kernel
> > options you want and rebuild.  If you want the module to load into the
> > supplied kernel, you should start with their config file and just
> > build the XFS module.   There could be other steps I'm missing (like
> > adding the proper extraversion junk to the Makefile, possibly) because
> > I haven't had the misfortune of doing this in a while, but that should
> > get you started.  
> > 
> > And don't forget to let them hear your opinion on this subject :-)
> >  
> > Sonny
> 
> 
> Thanks for your response Sonny (and Robin too) I'm not sure how to build
> just the XFS module, using RPM.  I did find elsewhere a reference to
> using kbuild (ie. make -C path/to/kernel/src M=$PWD modules). Ill
> probably just try that route unless you could explain how to build just
> that module.  Thanks again.

You can build just the XFS modules from the top-level directory like this:

 make SUBDIRS=fs/xfs modules

Sonny


<Prev in Thread] Current Thread [Next in Thread>