Btrfs source repositories

From btrfs Wiki
(Difference between revisions)
Jump to: navigation, search
(btrfs-unstable-standalone.git added)
Line 1: Line 1:
 
= Btrfs Sources =
 
= Btrfs Sources =
  
Btrfs has switched to [http://git.or.cz git] for version control.  So far only the unstable btrfs
+
Btrfs has switched to [http://git.or.cz git] for version control.
repository has been converted from Mercurial, but the stable repository will be converted soon as well.
+
The unstable repository includes the full kernel sources, and usually requires the latest mainline kernels.
+
  
== Stable Repositories (still in Mercurial) ==
+
As of 2.6.29-rc1, the Btrfs kernel module has been merged with the mainline kernel.  There is a standalone repository that is generated from the mainline kernel and contains only the Btrfs sources.
  
These hold code that is generally expected to work, and they are updated for major releases or critical bug fixes. Disk format changes will be announced at release time.
+
Btrfs v0.17 is based on this standalone repo, and compiles against 2.6.28 or newer kernels.
 
+
To download the stable kernel module and utilities:
+
 
+
hg clone http://www.kernel.org/hg/btrfs/kernel
+
 
+
hg clone http://www.kernel.org/hg/btrfs/progs
+
  
 
== Unstable Repositories ==
 
== Unstable Repositories ==
  
These hold code that is under heavy development, and they can be expected to be very buggy.  '''The disk format may change in the unstable repositories without warning''', and they should only be used if you are an active Btrfs developer.
+
These hold code that is under heavy development, and they are likely to be less tested than the code in the mainline kernelWe're in the process of adding a backport repository that will change less often and be more stable overall.
  
 
To download the unstable kernel module and utilities:
 
To download the unstable kernel module and utilities:

Revision as of 19:01, 12 January 2009

Btrfs Sources

Btrfs has switched to git for version control.

As of 2.6.29-rc1, the Btrfs kernel module has been merged with the mainline kernel. There is a standalone repository that is generated from the mainline kernel and contains only the Btrfs sources.

Btrfs v0.17 is based on this standalone repo, and compiles against 2.6.28 or newer kernels.

Unstable Repositories

These hold code that is under heavy development, and they are likely to be less tested than the code in the mainline kernel. We're in the process of adding a backport repository that will change less often and be more stable overall.

To download the unstable kernel module and utilities:

  • Kernel module

complete kernel tree:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable.git

btrfs kernel module source:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable-standalone.git
  • Utilities
git clone git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unstable.git

Gentoo Linux ebuilds

Gentoo Linux includes packages for both the stable and unstable versions:

Personal tools