File: [Development] / xfs-website / source.html (download) (as text)
Revision 1.2, Mon Nov 1 10:26:55 2004 UTC (12 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.1: +157 -27
lines
Fixes to all of the XFS web pages to bring them uptodate.
|
<& xfsTemplate,top=>1,side=>1 &>
<br>
<h1><font face="ARIAL NARROW,HELVETICA">
XFS: Source Code
</font></h1>
There are several ways to access the current XFS code.
<ul>
<p>
<li><b>Mainline kernels</b>
<br>
XFS is merged into both the official Linux 2.4 and Linux 2.6
<a href="http://www.kernel.org/">kernel trees</a>.
These are frequently updated with the latest stable fixes and
features from the SGI XFS development team.
</li>
</p>
<p>
<li><b>Vendor kernels</b>
<br>
All modern Linux distributions include support for XFS.
SGI actively works with <a href="http://www.suse.com/">
SUSE</a> to provide a supported version of XFS in that
distribution.
</li>
</p>
<p>
<li><b>SGI Releases</b>
<br>
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
<a href="ftp://oss.sgi.com/projects/xfs/download/Release-1.3.1/">
download</a> area.
</li>
</p>
<p>
<li><b>CVS web</b>
<br>
Browse the XFS source trees.
<ul>
<li> <a href="http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.6-xfs/">2.6.x-xfs</a> </li>
<li> <a href="http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/">2.4.x-xfs</a> </li>
<li> <a href="http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-cmds/">xfs-cmds</a> </li>
</ul>
</li>
</p>
<p>
<li><b>CVS trees</b>
</li>
<li><b>CVSup</b>
<br>
Direct CVS access to the most recent XFS changes. See below.
</li>
</p>
</ul>
<h2><font face="ARIAL NARROW,HELVETICA">
Using CVS trees
</font></h2>
<p> <a href="http://www.cvshome.org/new_users.html">CVS for new users</a>
contains links to general CVS documentation.
</p>
<p>
Set the CVSROOT environment variable.
<table border=0 cellspacing=2 width="100%"><tr><td BGCOLOR="#DFDFDF">
<br><tt>$ export CVSROOT=':pserver:cvs@oss.sgi.com:/cvs'</tt>
<br><tt><i>(for sh, bash, ksh, or similar shells)</i></tt>
<br><tt>$ setenv CVSROOT :pserver:cvs@oss.sgi.com:/cvs</tt>
<br><tt><i>(for csh or tcsh shells)</i></tt>
<br> </td></tr></table>
</p>
<p>
Login to the CVS server (this only needs to be done ONCE, not every time you access CVS).
<table border=0 cellspacing=2 width="100%"><tr><td BGCOLOR="#DFDFDF">
<br><tt>$ cvs login</tt>
<br><i>(the password is "</i>cvs<i>")</i>
<br> </td></tr></table>
</p>
<p>
Now grab the XFS source tree(s) of interest:
<table border=0 cellspacing=2 width="100%"><tr><td BGCOLOR="#DFDFDF">
<br><tt>$ cvs checkout linux-2.6-xfs</tt>
<br><tt>$ cvs checkout linux-2.4-xfs</tt>
<br><tt>$ cvs checkout xfs-cmds</tt>
<br> </td></tr></table>
</p>
<p>
<p>Subsequently, you can checkout new code using:
<table border=0 cellspacing=2 width="100%"><tr><td BGCOLOR="#DFDFDF">
<br><tt>$ cvs update -d</tt>
<br> </td></tr></table>
</p>
<h2><font face="ARIAL NARROW,HELVETICA">
Using CVSup
</font></h2>
<p>
CVSup is a very fast file distribution system.
For information on CVSup, see the
<a href="http://www.cvsup.org/">
CVSup Home Page</a>.
<p>
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.
<p>
The following shows a sample basic <tt>supfile</tt> configuration
file:
<table border=0 cellspacing=2 width="100%"><tr><td BGCOLOR="#DFDFDF">
<pre><tt>
*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
<br></td></tr></table>
</p>
<p>
Change <tt>prefix</tt> to a dest dir of your liking
then run
<tt>cvsup supfile</tt>.
Hit the start button once the window pops up.
<p>
The CVS tree itself may also be keep current with this method
by dropping the <tt>tag=.</tt> flag from <tt>supfile</tt>,
as in the following example:
<table border=0 cellspacing=2 width="100%"><tr><td BGCOLOR="#DFDFDF">
<pre><tt>
*default host=xfs.org
*default base=.
*default release=cvs
*default delete use-rel-suffix
*default prefix=/tmp/cvsupit
*default compress
linux-2.6-xfs
<br></td></tr></table>
</p>
<p>
The Linux 2.4 tree and XFS commands trees can be accessed via
similar configuration files (replace final line appropriately).
</p>
<br>
<& xfsTemplate,bottom=>1 &>