Whole document tree 2. Preparation for XFS Installation2.1. Downloading the Linux 2.4.x-XFS Kernel SourceCurrently the only place to get the source code for the XFS enabled Linux kernel is straight from SGI's Open Source Development site via CVS.
My experience is based on the development tree, but I imagine everything will work the same (probably be more stable) with the beta tree. Here are the steps to download the kernel source tree: A. Normally the linux kernel source is installed in the /usr/src directory, so you should start off by switching to that directory.
B. Next, you should set the CVSROOT environment variable so that it points to the proper cvs server.
If you plan on updating your kernel often (to keep up with the latest changes) you might want to put this in your login script. C. Then log in to the cvs server.
This needs to be done only ONCE, not everytime you access CVS. D. Now grab linux-2.4-xfs. The first time you will want to do something like:
After you have checked the code out, you can use:
to update your copy to the latest version from the CVS server. 2.2. XFS Support as Modules or Compiled Into the Kernel?The option to build XFS support for the Linux kernel as modules is available and will work (or so I am told) with the help of an initial RAM disk and a couple of additions to the lilo configuration. I have not tried this (yet), so I will not include documentation on how this is done other than just to qoute from a message to the development mailing list from Russell Cattelan:
It seems to me that compiling the support into the kernel would be much simpler, so that is how I am doing it at this point. I will try it as a module at a later time and add more detailed instructions then. If anyone has time to document this method before I get around to it please email it to me and I will include it with credit given where credit is due. :-) |