source: chapter06/e2fsprogs.xml@ 6a0e6f3

Last change on this file since 6a0e6f3 was 6a0e6f3, checked in by Matthew Burgess <matthew@…>, 19 years ago
  • Remove the spurious <info> tags that I thought were necessary but evidently aren't

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/LFS-RNG/BOOK@4387 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 11.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE section [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<section xmlns="http://docbook.org/docbook-ng"
7 xmlns:xlink="http://www.w3.org/1999/xlink"
8 xml:id="ch-system-e2fsprogs" xreflabel="E2fsprogs" role="wrap">
9<title>E2fsprogs-&e2fsprogs-version;</title>
10<?dbhtml filename="e2fsprogs.html"?>
11
12<indexterm zone="ch-system-e2fsprogs"><primary sortas="a-E2fsprogs">E2fsprogs</primary></indexterm>
13
14<section role="package"><title/>
15<para>The E2fsprogs package contains the utilities for handling the ext2
16file system. It also supports the ext3 journaling file system.</para>
17
18<segmentedlist>
19<segtitle>&buildtime;</segtitle>
20<segtitle>&diskspace;</segtitle>
21<seglistitem><seg>0.6 SBU</seg><seg>4.9 MB</seg></seglistitem>
22</segmentedlist>
23
24<segmentedlist>
25<segtitle>E2fsprogs installation depends on</segtitle>
26<seglistitem><seg>Bash, Binutils, Coreutils,
27Diffutils, Gawk, GCC, Gettext, Glibc, Grep, Make, Sed, Texinfo</seg></seglistitem>
28</segmentedlist>
29</section>
30
31<section role="installation">
32<title>Installation of E2fsprogs</title>
33
34<para>It is recommended to build E2fsprogs in a subdirectory of the source tree:
35</para>
36
37<screen><userinput>mkdir build
38cd build</userinput></screen>
39
40<para>Prepare E2fsprogs for compilation:</para>
41
42<screen><userinput>../configure --prefix=/usr --with-root-prefix="" \
43 --enable-elf-shlibs --disable-evms</userinput></screen>
44
45<para>The meaning of the configure options:</para>
46
47<variablelist>
48<varlistentry>
49<term><parameter>--with-root-prefix=""</parameter></term>
50<listitem><para>Certain programs (such as the <command>e2fsck</command>
51program) are considered essential programs.
52When, for example, <filename class="directory">/usr</filename> isn't
53mounted, these essential programs have to be available. They belong in
54directories like <filename class="directory">/lib</filename> and
55<filename class="directory">/sbin</filename>. If this option isn't passed
56to E2fsprogs's configure, the programs are placed in the
57<filename class="directory">/usr</filename> directory, which is not what we
58want.</para></listitem>
59</varlistentry>
60
61<varlistentry>
62<term><parameter>--enable-elf-shlibs</parameter></term>
63<listitem><para>This creates
64the shared libraries which some programs in this package use.</para></listitem>
65</varlistentry>
66
67<varlistentry>
68<term><parameter>--disable-evms</parameter></term>
69<listitem><para>This disables the building of the Enterprise Volume Management
70System (EVMS) plugin. This plugin is not up-to-date with the latest EVMS
71internal interfaces and EVMS is not installed as part of a base LFS system, so
72the plugin is not required. See the
73<uri xlink:href="http://evms.sourceforge.net/">EVMS homepage</uri> for more
74information regarding EVMS itself.</para></listitem>
75</varlistentry>
76</variablelist>
77
78<para>Compile the package:</para>
79
80<screen><userinput>make</userinput></screen>
81
82<para>To test the results, issue:
83<userinput>make check</userinput>.</para>
84
85<para>Install most of the package:</para>
86
87<screen><userinput>make install</userinput></screen>
88
89<para>Also install the shared libraries:</para>
90
91<screen><userinput>make install-libs</userinput></screen>
92
93</section>
94
95
96
97<section xml:id="contents-e2fsprogs" role="content"><title>Contents of E2fsprogs</title>
98
99<segmentedlist>
100<segtitle>Installed programs</segtitle>
101<segtitle>Installed libraries</segtitle>
102<seglistitem><seg>badblocks, blkid, chattr,
103compile_et, debugfs, dumpe2fs, e2fsck, e2image, e2label, findfs, fsck,
104fsck.ext2, fsck.ext3, logsave, lsattr, mk_cmds, mke2fs, mkfs.ext2, mkfs.ext3,
105mklost+found, resize2fs, tune2fs and uuidgen.</seg>
106<seg>libblkid.[a,so], libcom_err.[a,so], libe2p.[a,so], libext2fs.[a,so], libss.[a,so] and
107libuuid.[a,so]</seg></seglistitem>
108</segmentedlist>
109
110<variablelist><title>Short descriptions</title>
111
112<varlistentry xml:id="badblocks">
113<term><command>badblocks</command></term>
114<listitem>
115<indexterm zone="ch-system-e2fsprogs badblocks"><primary sortas="b-badblocks">badblocks</primary></indexterm>
116<para>searches a device (usually a disk partition) for bad blocks.</para>
117</listitem>
118</varlistentry>
119
120<varlistentry xml:id="blkid">
121<term><command>blkid</command></term>
122<listitem>
123<indexterm zone="ch-system-e2fsprogs blkid"><primary sortas="b-blkid">blkid</primary></indexterm>
124<para>is a command line utility to locate and print block device attributes.</para>
125</listitem>
126</varlistentry>
127
128<varlistentry xml:id="chattr">
129<term><command>chattr</command></term>
130<listitem>
131<indexterm zone="ch-system-e2fsprogs chattr"><primary sortas="b-chattr">chattr</primary></indexterm>
132<para>changes the attributes of files on a second extended (ext2) file system, and
133also ext3 file systems, the journaling version of ext2 file systems.</para>
134</listitem>
135</varlistentry>
136
137<varlistentry xml:id="compile_et">
138<term><command>compile_et</command></term>
139<listitem>
140<indexterm zone="ch-system-e2fsprogs compile_et"><primary sortas="b-compile_et">compile_et</primary></indexterm>
141<para>is an error table compiler. It
142converts a table of error-code names and messages into a C source file
143suitable for use with the <filename class="libraryfile">com_err</filename> library.</para>
144</listitem>
145</varlistentry>
146
147<varlistentry xml:id="debugfs">
148<term><command>debugfs</command></term>
149<listitem>
150<indexterm zone="ch-system-e2fsprogs debugfs"><primary sortas="b-debugfs">debugfs</primary></indexterm>
151<para>is a file system debugger. It can be
152used to examine and change the state of an ext2 file system.</para>
153</listitem>
154</varlistentry>
155
156<varlistentry xml:id="dumpe2fs">
157<term><command>dumpe2fs</command></term>
158<listitem>
159<indexterm zone="ch-system-e2fsprogs dumpe2fs"><primary sortas="b-dumpe2fs">dumpe2fs</primary></indexterm>
160<para>prints the super block and blocks group
161information for the file system present on a given device.</para>
162</listitem>
163</varlistentry>
164
165<varlistentry xml:id="e2fsck">
166<term><command>e2fsck</command></term>
167<listitem>
168<indexterm zone="ch-system-e2fsprogs e2fsck"><primary sortas="b-e2fsck">e2fsck</primary></indexterm>
169<para>is used to check, and optionally repair,
170second extended (ext2) file systems, and also ext3 file systems.</para>
171</listitem>
172</varlistentry>
173
174<varlistentry xml:id="e2image">
175<term><command>e2image</command></term>
176<listitem>
177<indexterm zone="ch-system-e2fsprogs e2image"><primary sortas="b-e2image">e2image</primary></indexterm>
178<para>is used to save critical ext2 file system data to a file.</para>
179</listitem>
180</varlistentry>
181
182<varlistentry xml:id="e2label">
183<term><command>e2label</command></term>
184<listitem>
185<indexterm zone="ch-system-e2fsprogs e2label"><primary sortas="b-e2label">e2label</primary></indexterm>
186<para>will display or change the file system
187label on the ext2 file system present on a given device.</para>
188</listitem>
189</varlistentry>
190
191<varlistentry xml:id="findfs">
192<term><command>findfs</command></term>
193<listitem>
194<indexterm zone="ch-system-e2fsprogs findfs"><primary sortas="b-findfs">findfs</primary></indexterm>
195<para>finds a file system by label or UUID (Universally Unique Identifier).</para>
196</listitem>
197</varlistentry>
198
199<varlistentry xml:id="fsck">
200<term><command>fsck</command></term>
201<listitem>
202<indexterm zone="ch-system-e2fsprogs fsck"><primary sortas="b-fsck">fsck</primary></indexterm>
203<para>is used to check, and optionally repair, file systems. By default it checks the
204file systems listed in <filename>/etc/fstab</filename></para>
205</listitem>
206</varlistentry>
207
208<varlistentry xml:id="logsave">
209<term><command>logsave</command></term>
210<listitem>
211<indexterm zone="ch-system-e2fsprogs logsave"><primary sortas="b-logsave">logsave</primary></indexterm>
212<para>saves the output of a command in a log file.</para>
213</listitem>
214</varlistentry>
215
216<varlistentry xml:id="lsattr">
217<term><command>lsattr</command></term>
218<listitem>
219<indexterm zone="ch-system-e2fsprogs lsattr"><primary sortas="b-lsattr">lsattr</primary></indexterm>
220<para>lists the attributes of files on a second extended file system.</para>
221</listitem>
222</varlistentry>
223
224<varlistentry xml:id="mk_cmds">
225<term><command>mk_cmds</command></term>
226<listitem>
227<indexterm zone="ch-system-e2fsprogs mk_cmds"><primary sortas="b-mk_cmds">mk_cmds</primary></indexterm>
228<para>converts a table of command names
229and help messages into a C source file suitable for use with the
230<filename class="libraryfile">libss</filename> subsystem library.</para>
231</listitem>
232</varlistentry>
233
234<varlistentry xml:id="mke2fs">
235<term><command>mke2fs</command></term>
236<listitem>
237<indexterm zone="ch-system-e2fsprogs mke2fs"><primary sortas="b-mke2fs">mke2fs</primary></indexterm>
238<para>is used to create a second extended file system on the given device.</para>
239</listitem>
240</varlistentry>
241
242<varlistentry xml:id="mklost-found">
243<term><command>mklost+found</command></term>
244<listitem>
245<indexterm zone="ch-system-e2fsprogs mklost-found"><primary sortas="b-mklost+found">mklost+found</primary></indexterm>
246<para>is used to create a
247<filename class="directory">lost+found</filename> directory on a second extended file system.
248It pre-allocates disk blocks to this directory to lighten the task of e2fsck.</para>
249</listitem>
250</varlistentry>
251
252<varlistentry xml:id="resize2fs">
253<term><command>resize2fs</command></term>
254<listitem>
255<indexterm zone="ch-system-e2fsprogs resize2fs"><primary sortas="b-resize2fs">resize2fs</primary></indexterm>
256<para>can be used to enlarge or shrink an ext2 file system.</para>
257</listitem>
258</varlistentry>
259
260<varlistentry xml:id="tune2fs">
261<term><command>tune2fs</command></term>
262<listitem>
263<indexterm zone="ch-system-e2fsprogs tune2fs"><primary sortas="b-tune2fs">tune2fs</primary></indexterm>
264<para>is used adjust tunable file system
265parameters on a second extended file system.</para>
266</listitem>
267</varlistentry>
268
269<varlistentry xml:id="uuidgen">
270<term><command>uuidgen</command></term>
271<listitem>
272<indexterm zone="ch-system-e2fsprogs uuidgen"><primary sortas="b-uuidgen">uuidgen</primary></indexterm>
273<para>creates new UUID. Each new UUID can reasonably be considered unique
274among all UUIDs created, on the local system and on other systems, in the
275past and in the future.</para>
276</listitem>
277</varlistentry>
278
279<varlistentry xml:id="libblkid">
280<term><filename class="libraryfile">libblkid</filename></term>
281<listitem>
282<indexterm zone="ch-system-e2fsprogs libblkid"><primary sortas="c-libblkid">libblkid</primary></indexterm>
283<para>contains routines for device identification and token extraction.</para>
284</listitem>
285</varlistentry>
286
287<varlistentry xml:id="libcom_err">
288<term><filename class="libraryfile">libcom_err</filename></term>
289<listitem>
290<indexterm zone="ch-system-e2fsprogs libcom_err"><primary sortas="c-libcom_err">libcom_err</primary></indexterm>
291<para>is the common error display routine.</para>
292</listitem>
293</varlistentry>
294
295<varlistentry xml:id="libe2p">
296<term><filename class="libraryfile">libe2p</filename></term>
297<listitem>
298<indexterm zone="ch-system-e2fsprogs libe2p"><primary sortas="c-libe2p">libe2p</primary></indexterm>
299<para>is used by dumpe2fs, chattr, and lsattr.</para>
300</listitem>
301</varlistentry>
302
303<varlistentry xml:id="libext2fs">
304<term><filename class="libraryfile">libext2fs</filename></term>
305<listitem>
306<indexterm zone="ch-system-e2fsprogs libext2fs"><primary sortas="c-libext2fs">libext2fs</primary></indexterm>
307<para>contains routines to enable user-level
308programs to manipulate an ext2 file system.</para>
309</listitem>
310</varlistentry>
311
312<varlistentry xml:id="libss">
313<term><filename class="libraryfile">libss</filename></term>
314<listitem>
315<indexterm zone="ch-system-e2fsprogs libss"><primary sortas="c-libss">libss</primary></indexterm>
316<para>is used by <command>debugfs</command>.</para>
317</listitem>
318</varlistentry>
319
320<varlistentry xml:id="libuuid">
321<term><filename class="libraryfile">libuuid</filename></term>
322<listitem>
323<indexterm zone="ch-system-e2fsprogs libuuid"><primary sortas="c-libuuid">libuuid</primary></indexterm>
324<para>contains routines for generating unique
325identifiers for objects that may be accessible beyond the local system.</para>
326</listitem>
327</varlistentry>
328</variablelist>
329
330</section>
331
332</section>
Note: See TracBrowser for help on using the repository browser.