source: postlfs/filesystems/btrfs-progs.xml@ 1f1a9e9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1f1a9e9 was 1f1a9e9, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Add btrfs-progs-v4.5.1.
Update to NetworkManager-1.0.12.
Update to dejagnu-1.6.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17267 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY btrfs-progs-download-http "https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v&btrfs-progs-version;.tar.xz">
8 <!ENTITY btrfs-progs-download-ftp " ">
9 <!ENTITY btrfs-progs-md5sum "31be62e9a772f297669b2ee14dc85c27">
10 <!ENTITY btrfs-progs-size "1.1 MB">
11 <!ENTITY btrfs-progs-buildsize "67 MB (add 96 MB for tests)">
12 <!ENTITY btrfs-progs-time "0.4 SBU (add 1.2 SBU for checks)">
13]>
14
15<sect1 id="btrfs-progs" xreflabel="btrfs-progs-&btrfs-progs-version;">
16 <?dbhtml filename="btrfs-progs.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>btrfs-progs-&btrfs-progs-version;</title>
24
25 <indexterm zone="btrfs-progs">
26 <primary sortas="a-btrfs-progs">btrfs-progs</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to btrfs-progs</title>
31
32 <para>The <application>btrfs-progs</application> package contains administration
33 and debugging tools for the B-tree file system (btrfs).</para>
34
35 &lfs79_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&btrfs-progs-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&btrfs-progs-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &btrfs-progs-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &btrfs-progs-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &btrfs-progs-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &btrfs-progs-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 <bridgehead renderas="sect3">Btrfs-progs Dependencies</bridgehead>
60
61 <bridgehead renderas="sect4">Recommended</bridgehead>
62 <para role="recommended">
63 <xref linkend="asciidoc"/> and
64 <xref linkend="xmlto"/> (both required to generate man pages)
65 </para>
66
67 <para condition="html" role="usernotes">User Notes:
68 <ulink url="&blfs-wiki;/xfs"/></para>
69
70 </sect2>
71
72 <sect2 role="kernel" id="btrfs-progs-kernel">
73 <title>Kernel Configuration</title>
74
75 <para>Enable the following option in the kernel configuration
76 and recompile the kernel:</para>
77
78<screen><literal>File systems ---&gt;
79 &lt;*/M&gt; Btrfs filesystem support [CONFIG_BTRFS_FS]</literal></screen>
80
81 <note><para>Other Btrfs options are optional.</para></note>
82
83
84 <indexterm zone="btrfs-progs btrfs-progs-kernel">
85 <primary sortas="d-xfs">BTRFS Programs</primary>
86 </indexterm>
87
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of btrfs-progs</title>
92
93 <para>Install <application>btrfs-progs</application> by running the following
94 commands:</para>
95
96<screen><userinput>sed -i '1,106 s/\.gz//g' Documentation/Makefile.in &amp;&amp;
97
98./configure --prefix=/usr \
99 --bindir=/bin \
100 --libdir=/lib &amp;&amp;
101make</userinput></screen>
102
103 <para>To test the results, as the <systemitem
104 class="username">root</systemitem> user, issue: <command>make -k
105 test</command>.</para>
106
107 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
108
109<screen role="root"><userinput>make install &amp;&amp;
110
111ln -s ../../lib/$(readlink /lib/libbtrfs.so) /usr/lib/libbtrfs.so &amp;&amp;
112rm /lib/libbtrfs.{a,so}</userinput></screen>
113
114 </sect2>
115
116 <sect2 role="commands">
117 <title>Command Explanations</title>
118
119 <para><command>sed ... Documentation/Makefile.in</command>: Disables
120 compressing man pages to be consistent with the rest of BLFS.</para>
121
122 <para><command>ln -s ... /usr/lib/libbtrfs.so</command>: Creates a
123 symbolic link in the directory where it is expected.</para>
124
125 <para><command>rm /lib/libbtrfs.{a,so}</command>: Removes unneeded
126 library entries.</para>
127
128 </sect2>
129
130 <sect2 role="content">
131 <title>Contents</title>
132
133 <segmentedlist>
134 <segtitle>Installed Programs</segtitle>
135 <segtitle>Installed Libraries</segtitle>
136 <segtitle>Installed Directories</segtitle>
137
138 <seglistitem>
139 <seg>
140 btrfs,
141 btrfs-convert,
142 btrfs-debug-tree,
143 btrfs-find-root,
144 btrfs-image,
145 btrfs-map-logical,
146 btrfs-select-super,
147 btrfs-show-super,
148 btrfs-zero-log,
149 btrfsck (link to btrfs),
150 btrfstune,
151 fsck.btrfs, and
152 mkfs.btrfs
153 </seg>
154
155 <seg>libbtrfs.so</seg>
156
157 <seg>/usr/include/btrfs</seg>
158 </seglistitem>
159 </segmentedlist>
160
161 <variablelist>
162 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
163 <?dbfo list-presentation="list"?>
164 <?dbhtml list-presentation="table"?>
165
166 <varlistentry id="btrfs-prog">
167 <term><command>btrfs</command></term>
168 <listitem>
169 <para>
170 is the main interface into btrfs filesystem operations.
171 </para>
172 <indexterm zone="btrfs-progs btrfs-prog">
173 <primary sortas="b-btrfs">btrfs</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="fsck.btrfs">
179 <term><command>fsck.btrfs</command></term>
180 <listitem>
181 <para>
182 does nothing, but is present for consistency with fstab.
183 </para>
184 <indexterm zone="btrfs-progs fsck.btrfs">
185 <primary sortas="b-fsck.btrfs">fsck.btrfs</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="mkfs.btrfs">
191 <term><command>mkfs.btrfs</command></term>
192 <listitem>
193 <para>creates a btrfs file system.</para>
194 <indexterm zone="btrfs-progs mkfs.btrfs">
195 <primary sortas="b-mkfs.btrfs">mkfs.btrfs</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 </variablelist>
201
202 </sect2>
203
204</sect1>
Note: See TracBrowser for help on using the repository browser.