source: chapter06/e2fsprogs.xml@ 7862089

Last change on this file since 7862089 was a0e1913, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Removed the package name from the dependencies titles.

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

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