<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://xfs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vapier</id>
	<title>xfs.org - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://xfs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vapier"/>
	<link rel="alternate" type="text/html" href="https://xfs.org/index.php/Special:Contributions/Vapier"/>
	<updated>2026-05-01T21:57:20Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://xfs.org/index.php?title=Getting_the_latest_source_code&amp;diff=1930</id>
		<title>Getting the latest source code</title>
		<link rel="alternate" type="text/html" href="https://xfs.org/index.php?title=Getting_the_latest_source_code&amp;diff=1930"/>
		<updated>2008-12-31T09:39:57Z</updated>

		<summary type="html">&lt;p&gt;Vapier: fix whitespace in git example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= &amp;lt;font face=&amp;quot;ARIAL NARROW,HELVETICA&amp;quot;&amp;gt; XFS: Source Code &amp;lt;/font&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
There are several ways to access the current XFS code.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Mainline kernels&#039;&#039;&#039;&amp;lt;br /&amp;gt; XFS has been maintained in the official Linux kernel [http://www.kernel.org/ kernel trees] starting with Linux 2.4 and is frequently updated with the latest stable fixes and features from the SGI XFS development team.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Vendor kernels&#039;&#039;&#039;&amp;lt;br /&amp;gt; All modern Linux distributions include support for XFS. SGI actively works with [http://www.suse.com/  SUSE] to provide a supported version of XFS in that distribution.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;XFS userspace&#039;&#039;&#039;&amp;lt;br /&amp;gt; Sgi also provides [ftp://oss.sgi.com/projects/xfs source code taballs] of the xfs userspace tools. These tarballs form the basis of the xfsprogs packages found in Linux distributions.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;CVS web&#039;&#039;&#039;&amp;lt;br /&amp;gt; Browse the XFS source trees.&lt;br /&gt;
** [http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.6-xfs/ 2.6.x-xfs]&lt;br /&gt;
** [http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-cmds/ xfs-cmds]&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;CVS trees&#039;&#039;&#039;&amp;lt;br /&amp;gt; Direct CVS access to the most recent XFS changes. See below.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;font face=&amp;quot;ARIAL NARROW,HELVETICA&amp;quot;&amp;gt; Using CVS trees &amp;lt;/font&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The cvs trees are automated mirrors of the SGI internal ptools manage source trees.&lt;br /&gt;
&lt;br /&gt;
[http://www.cvshome.org/new_users.html CVS for new users] contains links to general CVS documentation.&lt;br /&gt;
&lt;br /&gt;
Set the CVSROOT environment variable.&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;2&amp;quot;&lt;br /&gt;
| bgcolor=&amp;quot;#DFDFDF&amp;quot; | &amp;lt;br /&amp;gt;&amp;lt;tt&amp;gt;$ export CVSROOT=&#039;:pserver:cvs@oss.sgi.com:/cvs&#039;&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;tt&amp;gt;&#039;&#039;(for sh, bash, ksh, or similar shells)&#039;&#039;&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;tt&amp;gt;$ setenv CVSROOT :pserver:cvs@oss.sgi.com:/cvs&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;tt&amp;gt;&#039;&#039;(for csh or tcsh shells)&#039;&#039;&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Login to the CVS server (this only needs to be done ONCE, not every time you access CVS).&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;2&amp;quot;&lt;br /&gt;
| bgcolor=&amp;quot;#DFDFDF&amp;quot; | &amp;lt;br /&amp;gt;&amp;lt;tt&amp;gt;$ cvs login&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt;&#039;&#039;(the password is &amp;quot;&#039;&#039;cvs&#039;&#039;&amp;quot;)&#039;&#039;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Now grab the XFS source tree(s) of interest:&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;2&amp;quot;&lt;br /&gt;
| bgcolor=&amp;quot;#DFDFDF&amp;quot; | &amp;lt;br /&amp;gt;&amp;lt;tt&amp;gt;$ cvs checkout linux-2.6-xfs&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;tt&amp;gt;$ cvs checkout xfs-cmds&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Subsequently, you can checkout new code using:&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;2&amp;quot;&lt;br /&gt;
| bgcolor=&amp;quot;#DFDFDF&amp;quot; | &amp;lt;br /&amp;gt;&amp;lt;tt&amp;gt;$ cvs update -d&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;font face=&amp;quot;ARIAL NARROW,HELVETICA&amp;quot;&amp;gt; Using GIT trees &amp;lt;/font&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The Git trees are automated mirrored copied of the cvs trees using git-cvsimport.&lt;br /&gt;
Since git-cvsimport utilized the tool cvsps to recreate the atomic commits of ptools&lt;br /&gt;
or &amp;quot;mod&amp;quot; it is easier to see the entire change that was committed using git.&lt;br /&gt;
&lt;br /&gt;
git-cvsimport generated trees.&lt;br /&gt;
* [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=linux-2.6-xfs-from-cvs/.git;a=summary linux-2.6-xfs-from-cvs]&lt;br /&gt;
* [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs-cmds/.git;a=summary xfs-cmds]&lt;br /&gt;
Changes headed for the main linux 2.6 tree, manual merges.&lt;br /&gt;
* [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/xfs-2.6.git;a=summary xfs-2.6]&lt;br /&gt;
&lt;br /&gt;
Cloning the git trees for local use:&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
| bgcolor=&amp;quot;#DFDFDF&amp;quot; | &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;$ git clone git://oss.sgi.com/linux-2.6-xfs-from-cvs&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;$ git clone git://oss.sgi.com/xfs-cmds&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;$ git clone git://oss.sgi.com/xfs/xfs-2.6&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Vapier</name></author>
	</entry>
</feed>