|
XFS: Source Code
There are several ways to access the current XFS code.
- Mainline kernels
XFS is merged into both the official Linux 2.4 and Linux 2.6
kernel trees.
These are frequently updated with the latest stable fixes and
features from the SGI XFS development team.
- Vendor kernels
All modern Linux distributions include support for XFS.
SGI actively works with
SUSE to provide a supported version of XFS in that
distribution.
- SGI Releases
SGI provides a release based on a stable distribution kernel,
which forms the basis of some of the products SGI ships to
customers.
A distribution based on RedHat 9 (with XFS installer, kernel,
and userspace support; and with the Large Block Device patch enabled
and tested for specific drivers)
can be found in the
download area.
- CVS web
Browse the XFS source trees.
- CVS trees
- CVSup
Direct CVS access to the most recent XFS changes. See below.
Using CVS trees
CVS for new users
contains links to general CVS documentation.
Set the CVSROOT environment variable.
$ export CVSROOT=':pserver:cvs@oss.sgi.com:/cvs'
(for sh, bash, ksh, or similar shells)
$ setenv CVSROOT :pserver:cvs@oss.sgi.com:/cvs
(for csh or tcsh shells)
|
Login to the CVS server (this only needs to be done ONCE, not every time you access CVS).
$ cvs login
(the password is "cvs")
|
Now grab the XFS source tree(s) of interest:
$ cvs checkout linux-2.6-xfs
$ cvs checkout linux-2.4-xfs
$ cvs checkout xfs-cmds
|
Subsequently, you can checkout new code using:
Using CVSup
CVSup is a very fast file distribution system.
For information on CVSup, see the
CVSup Home Page.
You can use CVSup as an alternative to CVS for
keeping current with the latest development changes.
Standard CVS options such as "cvs log" and "cvs diff"
are not available with CVSup, but the CVS web interface
should provide most of that functionality.
The following shows a sample basic supfile configuration
file:
*default host=xfs.org
*default base=.
*default release=cvs tag=.
*default delete use-rel-suffix
*default prefix=/tmp/cvsupit
*default compress
linux-2.6-xfs
|
Change prefix to a dest dir of your liking
then run
cvsup supfile.
Hit the start button once the window pops up.
The CVS tree itself may also be keep current with this method
by dropping the tag=. flag from supfile,
as in the following example:
*default host=xfs.org
*default base=.
*default release=cvs
*default delete use-rel-suffix
*default prefix=/tmp/cvsupit
*default compress
linux-2.6-xfs
|
The Linux 2.4 tree and XFS commands trees can be accessed via
similar configuration files (replace final line appropriately).
|