btrfs-progs-4.7.1
Kernel
Configuration
Enable the following option in the kernel configuration and
recompile the kernel:
File systems --->
<*/M> Btrfs filesystem support [CONFIG_BTRFS_FS]
Note
Other Btrfs options are optional.
Installation of btrfs-progs
Install btrfs-progs by running the
following commands:
sed -i '1,106 s/\.gz//g' Documentation/Makefile.in &&
./configure --prefix=/usr \
--bindir=/bin \
--libdir=/lib &&
make
This package does not come with an operable test suite.
Now, as the root
user:
make install &&
ln -sfv ../../lib/$(readlink /lib/libbtrfs.so) /usr/lib/libbtrfs.so &&
rm -v /lib/libbtrfs.{a,so}
Command Explanations
sed ...
Documentation/Makefile.in: Disables compressing man
pages to be consistent with the rest of BLFS.
--disable-documentation
: This option is
needed if the recommended dependencies are not installed.
ln -s ...
/usr/lib/libbtrfs.so: Creates a symbolic link in
the directory where it is expected.
rm
/lib/libbtrfs.{a,so}: Removes unneeded library
entries.
Contents
Installed Programs:
btrfs, btrfs-convert, btrfs-debug-tree,
btrfs-find-root, btrfs-image, btrfs-map-logical,
btrfs-select-super, btrfs-show-super, btrfs-zero-log, btrfsck
(link to btrfs), btrfstune, fsck.btrfs, and mkfs.btrfs
Installed Libraries:
libbtrfs.so
Installed Directories:
/usr/include/btrfs
Short Descriptions
btrfs
|
is the main interface into btrfs filesystem operations.
|
btrfs-convert
|
converts from ext2/3/4 filesystem to btrfs.
|
btrfs-debug-tree
|
queries various internal information.
|
btrfs-find-root
|
is a filter to find btrfs root.
|
btrfs-map-logical
|
maps btrfs logical extent to physical extent.
|
btrfs-select-super
|
overwrites primary superblock with a backup copy.
|
btrfs-show-super
|
queries various internal information.
|
btrfs-zero-log
|
recovers a damaged btrfs filesystem.
|
btrfstune
|
tunes various filesystem parameters.
|
fsck.btrfs
|
does nothing, but is present for consistency with fstab.
|
mkfs.btrfs
|
creates a btrfs file system.
|
Last updated on 2016-08-30 06:31:31 +0200