& xfsTemplate,top=>1,side=>1 &>
XFS Pre-Release 0.9
Installing from the Source
You can obtain the complete linux-2.4.0 (released) tree including the
XFS filesystem, or you can obtain an XFS beta patch onto an
existing linux-2.4.0 tree. You will then need to configure
and install the kernel.
Downloading the complete Linux tree including XFS
A complete linux 2.4.0 tree including the XFS filesystem
is available for CVS checkout. For instructions on checking
the tree out of CVS, see the
CVS download instructions. The Beta tree is named
"linux-2.4-xfs-beta"
Creating an XFS tree via a patchfile
With this method, you will start with a "vanilla" linux-2.4.0 tarball
(linux-2.4.0.tar.gz, or linux-2.4.0.tar.bz2)
and apply a patch to obtain an XFS-capable kernel, as well as the necessary
tools to create and maintain your XFS partitions.
- Obtain a vanilla linux-2.4.0 tree from a
kernel.org mirror and unpack it into wherever you'd like to perform the build.
- Download the appropriate
patch file and place it in the directory above
the linux/ directory you created when you unpacked the 2.4.0 kernel.
- Run patch -p1 < patchfile_name in this same directory.
This will patch the linux/ directory, and make 4 new directories:
SCRIPTS, SOURCES, SPECS and cmd.
Configuring and installing the kernel
Configure and install your kernel as usual. See
The Linux Kernel HOWTO
for detailed instructions, if necessary.
In your kernel configuration, you will need to enable:
- XFS filesystem support (CONFIG_XFS_FS)
- Page Buffer support (CONFIG_PAGE_BUF)
- Development code (CONFIG_EXPERIMENTAL)
Should you experience problems with XFS, you may wish to enable:
- XFS Debug Mode (CONFIG_XFS_DEBUG)
- XFS Vnode Tracing (CONFIG_XFS_VNODE_TRACING)
You will also need to upgrade the following system utilities to at least
these versions:
When your new kernel is built and installed, you should update LILO,
create a new ramdisk image if necessary, and you're ready to boot
an XFS-capable kernel.
Creating the XFS tools
You will also need to compile and install the XFS tools and man pages.
These are available in the cmd/xfs directory. You can make
and install these files with:
- make configure
- make
- su root
- make install
See the INSTALL file in cmd/xfs for more information
about this process.
If all this goes well, it's time to
make a new XFS filesystem!
<& xfsTemplate,bottom=>1 &>