source: BOOK/final-system/common/e2fsprogs.xml@ dc47e4c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since dc47e4c was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 17.0 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-system-e2fsprogs" role="wrap">
11 <?dbhtml filename="e2fsprogs.html"?>
12
13 <title>E2fsprogs-&e2fsprogs-version;</title>
14
15 <indexterm zone="ch-system-e2fsprogs">
16 <primary sortas="a-E2fsprogs">E2fsprogs</primary>
17 </indexterm>
18
19 <sect2 role="package">
20 <title/>
21
22 <para>The E2fsprogs package contains the utilities for handling the
23 <systemitem class="filesystem">ext2</systemitem> file system. It also
24 supports the <systemitem class="filesystem">ext3</systemitem> journaling
25 file system.</para>
26
27 <segmentedlist>
28 <segtitle>&buildtime;</segtitle>
29 <segtitle>&diskspace;</segtitle>
30
31 <seglistitem>
32 <seg>Not checked yet</seg>
33 <seg>Not checked yet</seg>
34 </seglistitem>
35 </segmentedlist>
36
37 <segmentedlist>
38 <segtitle>&dependencies;</segtitle>
39
40 <seglistitem>
41 <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Gettext,
42 Glibc, Grep, Make, Sed, and Texinfo</seg>
43 </seglistitem>
44 </segmentedlist>
45
46 </sect2>
47
48 <sect2 role="installation">
49 <title>Installation of E2fsprogs</title>
50
51 <para os="a">It is recommended that E2fsprogs be built in a subdirectory of
52 the source tree:</para>
53
54<screen os="b"><userinput>mkdir build
55cd build</userinput></screen>
56
57 <para os="c">Prepare E2fsprogs for compilation:</para>
58
59<screen><userinput>../configure --prefix=/usr --with-root-prefix="" \
60 --enable-elf-shlibs --disable-evms</userinput></screen>
61
62 <variablelist os="d">
63 <title>The meaning of the configure options:</title>
64
65 <varlistentry>
66 <term><parameter>--with-root-prefix=""</parameter></term>
67 <listitem>
68 <para>Certain programs (such as the <command>e2fsck</command>
69 program) are considered essential programs. When, for example,
70 <filename class="directory">/usr</filename> is not mounted,
71 these programs still need to be available. They belong in
72 directories like <filename class="directory">/lib</filename> and
73 <filename class="directory">/sbin</filename>. If this option is
74 not passed to E2fsprogs' configure, the programs are installed into
75 the <filename class="directory">/usr</filename> directory.</para>
76 </listitem>
77 </varlistentry>
78
79 <varlistentry os="l">
80 <term><parameter>--enable-elf-shlibs</parameter></term>
81 <listitem>
82 <para>This creates the shared libraries which some programs
83 in this package use.</para>
84 </listitem>
85 </varlistentry>
86
87 <varlistentry os="m">
88 <term><parameter>--disable-evms</parameter></term>
89 <listitem>
90 <para>This disables the building of the Enterprise Volume
91 Management System (EVMS) plugin. This plugin is not up-to-date with
92 the latest EVMS internal interfaces and EVMS is not installed as part
93 of a base LFS system, so the plugin is not required. See the EVMS
94 website at <ulink url="http://evms.sourceforge.net/"/> for more
95 information regarding EVMS.</para>
96 </listitem>
97 </varlistentry>
98 </variablelist>
99
100 <para os="e">Compile the package:</para>
101
102<screen os="f"><userinput>make</userinput></screen>
103
104 <para os="g">To test the results, issue:
105 <userinput>make check</userinput>.</para>
106
107 <para os="h">Install the binaries and documentation:</para>
108
109<screen os="i"><userinput>make install</userinput></screen>
110
111 <para os="j">Install the shared libraries:</para>
112
113<screen os="k"><userinput>make install-libs</userinput></screen>
114
115 </sect2>
116
117 <sect2 id="contents-e2fsprogs" role="content">
118 <title>Contents of E2fsprogs</title>
119
120 <segmentedlist>
121 <segtitle>Installed programs</segtitle>
122 <segtitle>Installed libraries</segtitle>
123
124 <seglistitem>
125 <seg>badblocks, blkid, chattr, compile_et, debugfs, dumpe2fs,
126 e2fsck, e2image, e2label, findfs, fsck, fsck.ext2, fsck.ext3,
127 logsave, lsattr, mk_cmds, mke2fs, mkfs.ext2, mkfs.ext3,
128 mklost+found, resize2fs, tune2fs, and uuidgen.</seg>
129 <seg>libblkid.[a,so], libcom_err.[a,so], libe2p.[a,so],
130 libext2fs.[a,so], libss.[a,so], and libuuid.[a,so]</seg>
131 </seglistitem>
132 </segmentedlist>
133
134 <variablelist>
135 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
136 <?dbfo list-presentation="list"?>
137 <?dbhtml list-presentation="table"?>
138
139 <varlistentry id="badblocks">
140 <term><command>badblocks</command></term>
141 <listitem>
142 <para>Searches a device (usually a disk partition) for bad
143 blocks</para>
144 <indexterm zone="ch-system-e2fsprogs badblocks">
145 <primary sortas="b-badblocks">badblocks</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="blkid">
151 <term><command>blkid</command></term>
152 <listitem>
153 <para>A command line utility to locate and print block device
154 attributes</para>
155 <indexterm zone="ch-system-e2fsprogs blkid">
156 <primary sortas="b-blkid">blkid</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="chattr">
162 <term><command>chattr</command></term>
163 <listitem>
164 <para>Changes the attributes of files on an <systemitem
165 class="filesystem">ext2</systemitem> file system; it also
166 changes <systemitem class="filesystem">ext3</systemitem>
167 file systems, the journaling version of <systemitem
168 class="filesystem">ext2</systemitem> file systems</para>
169 <indexterm zone="ch-system-e2fsprogs chattr">
170 <primary sortas="b-chattr">chattr</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="compile_et">
176 <term><command>compile_et</command></term>
177 <listitem>
178 <para>An error table compiler; it converts a table of error-code
179 names and messages into a C source file suitable for use with the
180 <filename class="libraryfile">com_err</filename> library</para>
181 <indexterm zone="ch-system-e2fsprogs compile_et">
182 <primary sortas="b-compile_et">compile_et</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="debugfs">
188 <term><command>debugfs</command></term>
189 <listitem>
190 <para>A file system debugger; it can be used to examine and change
191 the state of an <systemitem class="filesystem">ext2</systemitem>
192 file system</para>
193 <indexterm zone="ch-system-e2fsprogs debugfs">
194 <primary sortas="b-debugfs">debugfs</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="dumpe2fs">
200 <term><command>dumpe2fs</command></term>
201 <listitem>
202 <para>Prints the super block and blocks group information for the
203 file system present on a given device</para>
204 <indexterm zone="ch-system-e2fsprogs dumpe2fs">
205 <primary sortas="b-dumpe2fs">dumpe2fs</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="e2fsck">
211 <term><command>e2fsck</command></term>
212 <listitem>
213 <para>Is used to check, and optionally repair <systemitem
214 class="filesystem">ext2</systemitem> file systems and <systemitem
215 class="filesystem">ext3</systemitem> file systems</para>
216 <indexterm zone="ch-system-e2fsprogs e2fsck">
217 <primary sortas="b-e2fsck">e2fsck</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="e2image">
223 <term><command>e2image</command></term>
224 <listitem>
225 <para>Is used to save critical <systemitem
226 class="filesystem">ext2</systemitem> file system data to a file</para>
227 <indexterm zone="ch-system-e2fsprogs e2image">
228 <primary sortas="b-e2image">e2image</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="e2label">
234 <term><command>e2label</command></term>
235 <listitem>
236 <para>Displays or changes the file system label on the <systemitem
237 class="filesystem">ext2</systemitem> file system present on a given
238 device</para>
239 <indexterm zone="ch-system-e2fsprogs e2label">
240 <primary sortas="b-e2label">e2label</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry id="findfs">
246 <term><command>findfs</command></term>
247 <listitem>
248 <para>Finds a file system by label or Universally Unique Identifier
249 (UUID)</para>
250 <indexterm zone="ch-system-e2fsprogs findfs">
251 <primary sortas="b-findfs">findfs</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="fsck">
257 <term><command>fsck</command></term>
258 <listitem>
259 <para>Is used to check, and optionally repair, file systems</para>
260 <indexterm zone="ch-system-e2fsprogs fsck">
261 <primary sortas="b-fsck">fsck</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="fsck.ext2">
267 <term><command>fsck.ext2</command></term>
268 <listitem>
269 <para>By default checks <systemitem class="filesystem">ext2</systemitem>
270 file systems</para>
271 <indexterm zone="ch-system-e2fsprogs fsck.ext2">
272 <primary sortas="b-fsck.ext2">fsck.ext2</primary>
273 </indexterm>
274 </listitem>
275 </varlistentry>
276
277 <varlistentry id="fsck.ext3">
278 <term><command>fsck.ext3</command></term>
279 <listitem>
280 <para>By default checks <systemitem class="filesystem">ext3</systemitem>
281 file systems</para>
282 <indexterm zone="ch-system-e2fsprogs fsck.ext3">
283 <primary sortas="b-fsck.ext3">fsck.ext3</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="logsave">
289 <term><command>logsave</command></term>
290 <listitem>
291 <para>Saves the output of a command in a log file</para>
292 <indexterm zone="ch-system-e2fsprogs logsave">
293 <primary sortas="b-logsave">logsave</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
297
298 <varlistentry id="lsattr">
299 <term><command>lsattr</command></term>
300 <listitem>
301 <para>Lists the attributes of files on a second extended file
302 system</para>
303 <indexterm zone="ch-system-e2fsprogs lsattr">
304 <primary sortas="b-lsattr">lsattr</primary>
305 </indexterm>
306 </listitem>
307 </varlistentry>
308
309 <varlistentry id="mk_cmds">
310 <term><command>mk_cmds</command></term>
311 <listitem>
312 <para>Converts a table of command names and help messages into a C
313 source file suitable for use with the <filename
314 class="libraryfile">libss</filename> subsystem library</para>
315 <indexterm zone="ch-system-e2fsprogs mk_cmds">
316 <primary sortas="b-mk_cmds">mk_cmds</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320
321 <varlistentry id="mke2fs">
322 <term><command>mke2fs</command></term>
323 <listitem>
324 <para>Creates an <systemitem class="filesystem">ext2</systemitem>
325 or <systemitem class="filesystem">ext3</systemitem> file system on
326 the given device</para>
327 <indexterm zone="ch-system-e2fsprogs mke2fs">
328 <primary sortas="b-mke2fs">mke2fs</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332
333 <varlistentry id="mkfs.ext2">
334 <term><command>mkfs.ext2</command></term>
335 <listitem>
336 <para>By default creates <systemitem class="filesystem">ext2</systemitem>
337 file systems</para>
338 <indexterm zone="ch-system-e2fsprogs mkfs.ext2">
339 <primary sortas="b-mkfs.ext2">mkfs.ext2</primary>
340 </indexterm>
341 </listitem>
342 </varlistentry>
343
344 <varlistentry id="mkfs.ext3">
345 <term><command>mkfs.ext3</command></term>
346 <listitem>
347 <para>By default creates <systemitem class="filesystem">ext3</systemitem>
348 file systems</para>
349 <indexterm zone="ch-system-e2fsprogs mkfs.ext3">
350 <primary sortas="b-mkfs.ext3">mkfs.ext3</primary>
351 </indexterm>
352 </listitem>
353 </varlistentry>
354
355 <varlistentry id="mklost-found">
356 <term><command>mklost+found</command></term>
357 <listitem>
358 <para>Used to create a <filename class="directory">lost+found</filename>
359 directory on an <systemitem class="filesystem">ext2</systemitem> file
360 system; it pre-allocates disk blocks to this directory to lighten the
361 task of <command>e2fsck</command></para>
362 <indexterm zone="ch-system-e2fsprogs mklost-found">
363 <primary sortas="b-mklost+found">mklost+found</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
368 <varlistentry id="resize2fs">
369 <term><command>resize2fs</command></term>
370 <listitem>
371 <para>Can be used to enlarge or shrink an <systemitem
372 class="filesystem">ext2</systemitem> file system</para>
373 <indexterm zone="ch-system-e2fsprogs resize2fs">
374 <primary sortas="b-resize2fs">resize2fs</primary>
375 </indexterm>
376 </listitem>
377 </varlistentry>
378
379 <varlistentry id="tune2fs">
380 <term><command>tune2fs</command></term>
381 <listitem>
382 <para>Adjusts tunable file system parameters on an <systemitem
383 class="filesystem">ext2</systemitem> file system</para>
384 <indexterm zone="ch-system-e2fsprogs tune2fs">
385 <primary sortas="b-tune2fs">tune2fs</primary>
386 </indexterm>
387 </listitem>
388 </varlistentry>
389
390 <varlistentry id="uuidgen">
391 <term><command>uuidgen</command></term>
392 <listitem>
393 <para>Creates new UUIDs. Each new UUID can reasonably be considered
394 unique among all UUIDs created, on the local system and on other
395 systems, in the past and in the future</para>
396 <indexterm zone="ch-system-e2fsprogs uuidgen">
397 <primary sortas="b-uuidgen">uuidgen</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 <varlistentry id="libblkid">
403 <term><filename class="libraryfile">libblkid</filename></term>
404 <listitem>
405 <para>Contains routines for device identification and token
406 extraction</para>
407 <indexterm zone="ch-system-e2fsprogs libblkid">
408 <primary sortas="c-libblkid">libblkid</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412
413 <varlistentry id="libcom_err">
414 <term><filename class="libraryfile">libcom_err</filename></term>
415 <listitem>
416 <para>The common error display routine</para>
417 <indexterm zone="ch-system-e2fsprogs libcom_err">
418 <primary sortas="c-libcom_err">libcom_err</primary>
419 </indexterm>
420 </listitem>
421 </varlistentry>
422
423 <varlistentry id="libe2p">
424 <term><filename class="libraryfile">libe2p</filename></term>
425 <listitem>
426 <para>Used by <command>dumpe2fs</command>, <command>chattr</command>,
427 and <command>lsattr</command></para>
428 <indexterm zone="ch-system-e2fsprogs libe2p">
429 <primary sortas="c-libe2p">libe2p</primary>
430 </indexterm>
431 </listitem>
432 </varlistentry>
433
434 <varlistentry id="libext2fs">
435 <term><filename class="libraryfile">libext2fs</filename></term>
436 <listitem>
437 <para>Contains routines to enable user-level programs to manipulate an
438 <systemitem class="filesystem">ext2</systemitem> file system</para>
439 <indexterm zone="ch-system-e2fsprogs libext2fs">
440 <primary sortas="c-libext2fs">libext2fs</primary>
441 </indexterm>
442 </listitem>
443 </varlistentry>
444
445 <varlistentry id="libss">
446 <term><filename class="libraryfile">libss</filename></term>
447 <listitem>
448 <para>Used by <command>debugfs</command></para>
449 <indexterm zone="ch-system-e2fsprogs libss">
450 <primary sortas="c-libss">libss</primary>
451 </indexterm>
452 </listitem>
453 </varlistentry>
454
455 <varlistentry id="libuuid">
456 <term><filename class="libraryfile">libuuid</filename></term>
457 <listitem>
458 <para>Contains routines for generating unique identifiers for objects
459 that may be accessible beyond the local system</para>
460 <indexterm zone="ch-system-e2fsprogs libuuid">
461 <primary sortas="c-libuuid">libuuid</primary>
462 </indexterm>
463 </listitem>
464 </varlistentry>
465
466 </variablelist>
467
468 </sect2>
469
470</sect1>
Note: See TracBrowser for help on using the repository browser.