source: postlfs/filesystems/btrfs-progs.xml@ 61439d5

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 61439d5 was 61439d5, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Fix typos in postgresql.
Update btrfs-progs dependencies.
Update to simpleburn-1.7.3.1.

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

  • Property mode set to 100644
File size: 6.5 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 "3feb593cb52df7570769559366d5e320">
10 <!ENTITY btrfs-progs-size "1.2 MB">
11 <!ENTITY btrfs-progs-buildsize "46 MB (add 1.4 GB for tests)">
12 <!ENTITY btrfs-progs-time "0.4 SBU (add 2.1 SBU for tests)">
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 &gcc6_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&btrfs-progs-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&btrfs-progs-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &btrfs-progs-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &btrfs-progs-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &btrfs-progs-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &btrfs-progs-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Btrfs-progs Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required">
64 <xref linkend="lzo"/>
65 </para>
66
67 <bridgehead renderas="sect4">Recommended</bridgehead>
68 <para role="recommended">
69 <xref linkend="asciidoc"/> and
70 <xref linkend="xmlto"/> (both required to generate man pages)
71 </para>
72
73 <para condition="html" role="usernotes">User Notes:
74 <ulink url="&blfs-wiki;/xfs"/></para>
75
76 </sect2>
77
78 <sect2 role="kernel" id="btrfs-progs-kernel">
79 <title>Kernel Configuration</title>
80
81 <para>Enable the following option in the kernel configuration
82 and recompile the kernel:</para>
83
84<screen><literal>File systems ---&gt;
85 &lt;*/M&gt; Btrfs filesystem support [CONFIG_BTRFS_FS]</literal></screen>
86
87 <note><para>Other Btrfs options are optional.</para></note>
88
89 <indexterm zone="btrfs-progs btrfs-progs-kernel">
90 <primary sortas="d-xfs">BTRFS Programs</primary>
91 </indexterm>
92
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of btrfs-progs</title>
97
98 <para>Install <application>btrfs-progs</application> by running the following
99 commands:</para>
100
101<screen><userinput>sed -i '1,106 s/\.gz//g' Documentation/Makefile.in &amp;&amp;
102
103./configure --prefix=/usr \
104 --bindir=/bin \
105 --libdir=/lib &amp;&amp;
106make</userinput></screen>
107
108 <para>To test the results, as the <systemitem
109 class="username">root</systemitem> user, issue: <command>make -k
110 test</command>. One test, long-device-name-for-ssd, is known to fail.</para>
111
112 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
113
114<screen role="root"><userinput>make install &amp;&amp;
115
116ln -sf ../../lib/$(readlink /lib/libbtrfs.so) /usr/lib/libbtrfs.so &amp;&amp;
117rm /lib/libbtrfs.{a,so}</userinput></screen>
118
119 </sect2>
120
121 <sect2 role="commands">
122 <title>Command Explanations</title>
123
124 <para><command>sed ... Documentation/Makefile.in</command>: Disables
125 compressing man pages to be consistent with the rest of BLFS.</para>
126
127 <para><option>--disable-documentation</option>: This option
128 is needed if the recommended dependencies are not installed.</para>
129
130 <para><command>ln -s ... /usr/lib/libbtrfs.so</command>: Creates a
131 symbolic link in the directory where it is expected.</para>
132
133 <para><command>rm /lib/libbtrfs.{a,so}</command>: Removes unneeded
134 library entries.</para>
135
136 </sect2>
137
138 <sect2 role="content">
139 <title>Contents</title>
140
141 <segmentedlist>
142 <segtitle>Installed Programs</segtitle>
143 <segtitle>Installed Libraries</segtitle>
144 <segtitle>Installed Directories</segtitle>
145
146 <seglistitem>
147 <seg>
148 btrfs,
149 btrfs-convert,
150 btrfs-debug-tree,
151 btrfs-find-root,
152 btrfs-image,
153 btrfs-map-logical,
154 btrfs-select-super,
155 btrfs-show-super,
156 btrfs-zero-log,
157 btrfsck (link to btrfs),
158 btrfstune,
159 fsck.btrfs, and
160 mkfs.btrfs
161 </seg>
162
163 <seg>libbtrfs.so</seg>
164
165 <seg>/usr/include/btrfs</seg>
166 </seglistitem>
167 </segmentedlist>
168
169 <variablelist>
170 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
171 <?dbfo list-presentation="list"?>
172 <?dbhtml list-presentation="table"?>
173
174 <varlistentry id="btrfs-prog">
175 <term><command>btrfs</command></term>
176 <listitem>
177 <para>
178 is the main interface into btrfs filesystem operations.
179 </para>
180 <indexterm zone="btrfs-progs btrfs-prog">
181 <primary sortas="b-btrfs">btrfs</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="fsck.btrfs">
187 <term><command>fsck.btrfs</command></term>
188 <listitem>
189 <para>
190 does nothing, but is present for consistency with fstab.
191 </para>
192 <indexterm zone="btrfs-progs fsck.btrfs">
193 <primary sortas="b-fsck.btrfs">fsck.btrfs</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="mkfs.btrfs">
199 <term><command>mkfs.btrfs</command></term>
200 <listitem>
201 <para>creates a btrfs file system.</para>
202 <indexterm zone="btrfs-progs mkfs.btrfs">
203 <primary sortas="b-mkfs.btrfs">mkfs.btrfs</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 </variablelist>
209
210 </sect2>
211
212</sect1>
Note: See TracBrowser for help on using the repository browser.