Difference between revisions of "BtrFS Progs"

From LFScript
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[Category:Deleted Scripts]]
 +
'''This software is included in BLFS and therefore no longer maintained here.'''
 +
 
<scriptname>btrfs-progs</scriptname>
 
<scriptname>btrfs-progs</scriptname>
  
 
== Sources ==
 
== Sources ==
* <sourcecode>http://lfscript.org/sources/btrfs-progs_2012_01_27.tar.bz2</sourcecode>
+
* <sourcecode>http://lfscript.org/sources/btrfs-progs_20140613.tar.xz</sourcecode>
 +
 
 +
<md5>b48fe5f7855a05f8d670f543171b9629  btrfs-progs_20140613.tar.xz</md5>
 +
 
 +
You can build a source package from the latest version by running the following commands from within the lfscript directory:
 +
 
 +
<pre>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
  
<md5>1afa2d828ec80cf21aa530ae2a8caf99  btrfs-progs_2012_01_27.tar.bz2</md5>
+
mv -v btrfs-progs_$(date +%Y%m%d).tar.xz ../sources
 +
 
 +
cd ../
 +
rm&nbsp;-rf btrfs-distrib
 +
</pre>
 +
 
 +
Then move the source archive to the sources directory of LFScript and edit the <code>btrfs-progs</code> script to point to the new source archive. Don't forget to also adjust the md5 checksum in the script.
  
 
== Dependencies ==
 
== Dependencies ==
* <dependency>attr</dependency>
+
* <dependency>lzo</dependency>
 +
 
 +
The following packages are required to build the documentation. <code>asciidoc</code> requires <code>python2</code>. And <code>xmlto</code> 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.
 +
* <dependency>asciidoc</dependency>
 +
* <dependency>xmlto</dependency>
 +
 
  
 
If you want to be able to mount <code>btrfs</code> file systems, you will need to add support for it to your kernel:
 
If you want to be able to mount <code>btrfs</code> file systems, you will need to add support for it to your kernel:

Latest revision as of 20:02, 26 February 2017

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