[BACK]Return to source.html CVS log [TXT][DIR] Up to [Development] / xfs-website

File: [Development] / xfs-website / source.html (download) (as text)

Revision 1.4, Mon Jun 2 04:20:17 2008 UTC (9 years, 4 months ago) by donaldd
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +12 -1 lines

Fix up some of the text describing XFS in the kernel that was removed.
Restore trailing br to fix formatting. 
Add description of userspace tarballs.

<& 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 has been maintained in the official Linux kernel
<a href="http://www.kernel.org/">kernel trees</a> starting with Linux 2.4
and is 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>XFS userspace</b>
<br>
Sgi also provides <a href="ftp://oss.sgi.com/projects/xfs">source code taballs</a> of the xfs userspace tools. These tarballs
form the basis of the xfsprogs packages found in Linux distributions. 
</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/xfs-cmds/">xfs-cmds</a> </li>
</ul>
</li>
</p>
<p>
<li><b>CVS trees</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&nbsp; :pserver:cvs@oss.sgi.com:/cvs</tt>
<br><tt><i>(for csh or tcsh shells)</i></tt>
<br>&nbsp;</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>&nbsp;</td></tr></table>
</p>

<p>
Now grab the XFS source tree(s) of interest:&nbsp;
<table border=0 cellspacing=2 width="100%"><tr><td BGCOLOR="#DFDFDF">
<br><tt>$ cvs checkout linux-2.6-xfs</tt>
<br><tt>$ cvs checkout xfs-cmds</tt>
<br>&nbsp;</td></tr></table>
</p>

<p>
<p>Subsequently, you can checkout new code using:&nbsp;
<table border=0 cellspacing=2 width="100%"><tr><td BGCOLOR="#DFDFDF">
<br><tt>$ cvs update -d</tt>
<br>&nbsp;</td></tr></table>
</p>


<br>
<& xfsTemplate,bottom=>1 &>