Getting the latest source code: Difference between revisions
m formatting fixes |
|||
Line 2: | Line 2: | ||
* '''Mainline kernels''' | * '''Mainline kernels''' | ||
:XFS has been maintained in the official Linux kernel [http://www.kernel.org/ kernel trees] starting with [http://lkml.org/lkml/2003/12/8/35 Linux 2.4] and is frequently updated with the latest stable fixes and features from the SGI XFS development team. | |||
* '''Vendor kernels''' | * '''Vendor kernels''' | ||
: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. | |||
* '''XFS userspace''' | * '''XFS userspace''' | ||
: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. | |||
== <font face="ARIAL NARROW,HELVETICA"> Development and bleeding edge Development </font> == | == <font face="ARIAL NARROW,HELVETICA"> Development and bleeding edge Development </font> == | ||
[[XFS git howto]] | * [[XFS git howto]] | ||
Current XFS kernel source | === Current XFS kernel source === | ||
* [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/xfs.git;a=summary xfs] | * [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/xfs.git;a=summary xfs] | ||
<pre>$ git clone git://oss.sgi.com/xfs/xfs</pre> | <pre>$ git clone git://oss.sgi.com/xfs/xfs</pre> | ||
XFS user space tools | |||
=== XFS user space tools === | |||
* [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/cmds/xfsprogs.git;a=summary xfsprogs] | * [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/cmds/xfsprogs.git;a=summary xfsprogs] | ||
<pre>$ git clone git://oss.sgi.com/xfs/cmds/xfsprogs</pre> | <pre>$ git clone git://oss.sgi.com/xfs/cmds/xfsprogs</pre> | ||
XFS dump | |||
=== XFS dump === | |||
* [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/cmds/xfsdump.git;a=summary xfsdump] | * [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/cmds/xfsdump.git;a=summary xfsdump] | ||
<pre>$ git clone git://oss.sgi.com/xfs/cmds/xfsdump</pre> | <pre>$ git clone git://oss.sgi.com/xfs/cmds/xfsdump</pre> | ||
XFS tests | |||
=== XFS tests === | |||
* [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/cmds/xfstests.git;a=summary xfstests] | * [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/cmds/xfstests.git;a=summary xfstests] | ||
<pre>$ git clone git://oss.sgi.com/xfs/cmds/xfstests</pre> | <pre>$ git clone git://oss.sgi.com/xfs/cmds/xfstests</pre> | ||
DMAPI user space tools | |||
=== DMAPI user space tools === | |||
* [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/cmds/dmapi.git;a=summary dmapi] | * [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/cmds/dmapi.git;a=summary dmapi] | ||
<pre>$ git clone git://oss.sgi.com/xfs/cmds/dmapi</pre> | <pre>$ git clone git://oss.sgi.com/xfs/cmds/dmapi</pre> | ||
=== git-cvsimport generated trees === | |||
The Git trees are automated mirrored copies of the cvs trees using git-cvsimport. | The Git trees are automated mirrored copies of the cvs trees using git-cvsimport. | ||
Line 34: | Line 42: | ||
or "mod" it is easier to see the entire change that was committed using git. | or "mod" it is easier to see the entire change that was committed using git. | ||
* [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=linux-2.6-xfs-from-cvs/.git;a=summary linux-2.6-xfs-from-cvs] | * [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=linux-2.6-xfs-from-cvs/.git;a=summary linux-2.6-xfs-from-cvs] | ||
* [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs-cmds/.git;a=summary xfs-cmds] | * [http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs-cmds/.git;a=summary xfs-cmds] | ||
Before building in the xfsdump or dmapi directories (after building xfsprogs), you will need to run: | Before building in the <tt>xfsdump</tt> or <tt>dmapi</tt> directories (after building <tt>xfsprogs</tt>), you will need to run: | ||
# cd xfsprogs | |||
# make install-dev | # make install-dev | ||
to create /usr/include/xfs and install appropriate files there. | to create <tt>/usr/include/xfs</tt> and install appropriate files there. | ||
Before building in the xfstests directory, you will need to run: | Before building in the xfstests directory, you will need to run: | ||
# cd xfsprogs | |||
# make install-qa | # make install-qa | ||
to install a somewhat larger set of files in /usr/include/xfs. | to install a somewhat larger set of files in <tt>/usr/include/xfs</tt>. | ||
== <font face="ARIAL NARROW,HELVETICA">XFS cvs trees </font> == | == <font face="ARIAL NARROW,HELVETICA">XFS cvs trees </font> == | ||
Line 57: | Line 64: | ||
for reference. | for reference. | ||
[[XFS CVS howto]] | * [[XFS CVS howto]] |
Revision as of 17:31, 19 July 2009
XFS Released/Stable source
- Mainline kernels
- XFS has been maintained in the official Linux kernel kernel trees starting with Linux 2.4 and is 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.
- XFS userspace
- Sgi also provides source code taballs of the xfs userspace tools. These tarballs form the basis of the xfsprogs packages found in Linux distributions.
Development and bleeding edge Development
Current XFS kernel source
$ git clone git://oss.sgi.com/xfs/xfs
XFS user space tools
$ git clone git://oss.sgi.com/xfs/cmds/xfsprogs
XFS dump
$ git clone git://oss.sgi.com/xfs/cmds/xfsdump
XFS tests
$ git clone git://oss.sgi.com/xfs/cmds/xfstests
DMAPI user space tools
$ git clone git://oss.sgi.com/xfs/cmds/dmapi
git-cvsimport generated trees
The Git trees are automated mirrored copies of the cvs trees using git-cvsimport. Since git-cvsimport utilized the tool cvsps to recreate the atomic commits of ptools or "mod" it is easier to see the entire change that was committed using git.
Before building in the xfsdump or dmapi directories (after building xfsprogs), you will need to run:
# cd xfsprogs # make install-dev
to create /usr/include/xfs and install appropriate files there.
Before building in the xfstests directory, you will need to run:
# cd xfsprogs # make install-qa
to install a somewhat larger set of files in /usr/include/xfs.
XFS cvs trees
The cvs trees were created using a script that converted sgi's internal ptools repository to a cvs repository, so the cvs trees were considered read only.
At this point all new development is being managed by the git trees thus the cvs trees are not longer active in terms of current development and should only be used for reference.