BtrFS Progs

From LFScript

This software is included in BLFS and therefore no longer maintained here.

LFScript can find this software under the name btrfs-progs.

Sources


MD5 Checksums:

b48fe5f7855a05f8d670f543171b9629  btrfs-progs_20140613.tar.xz

You can build a source package from the latest version by running the following commands from within the lfscript directory:

mkdir btrfs-distrib
cd btrfs-distrib

git clone git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
tar --xz -cf btrfs-progs_$(date +%Y%m%d).tar.xz btrfs-progs

md5sum btrfs-progs_$(date +%Y%m%d).tar.xz

mv -v btrfs-progs_$(date +%Y%m%d).tar.xz ../sources

cd ../
rm -rf btrfs-distrib

Then move the source archive to the sources directory of LFScript and edit the btrfs-progs script to point to the new source archive. Don't forget to also adjust the md5 checksum in the script.

Dependencies

  • lzo

The following packages are required to build the documentation. asciidoc requires python2. And xmlto requires about 5 more packages to deal with XML. If you want to build a light system, you may want to find a way to not build the docs. However, if you are going to build a desktop system, the XML dependencies will probably also be required for other packages.

  • asciidoc
  • xmlto


If you want to be able to mount btrfs file systems, you will need to add support for it to your kernel:

File systems --->
  Btrfs filesystem (EXPERIMENTAL) Unstable disk format

Installation

make

As the root user:

make prefix=/usr install