source: chapter06/e2fsprogs.xml@ b8a819f

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since b8a819f was b8a819f, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Changed the id's location in the Short descriptions sections to fix a bug in the PDF generation.

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

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