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">
8 <sect1 id="ch-tools-e2fsprogs" role="wrap">
9 <?dbhtml filename="e2fsprogs.html"?>
11 <sect1info condition="script">
12 <productname>e2fsprogs</productname>
13 <productnumber>&e2fsprogs-version;</productnumber>
14 <address>&e2fsprogs-url;</address>
17 <title>E2fsprogs-&e2fsprogs-version;</title>
19 <indexterm zone="ch-tools-e2fsprogs">
20 <primary sortas="a-E2fsprogs">E2fsprogs</primary>
23 <sect2 role="package">
26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
27 href="../chapter06/e2fsprogs.xml"
28 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
35 <seg>&e2fsprogs-ch5-sbu;</seg>
36 <seg>&e2fsprogs-ch5-du;</seg>
42 <sect2 role="installation">
43 <title>Installation of E2fsprogs</title>
45 <para>The E2fsprogs documentation recommends that the package be built in
46 a subdirectory of the source tree: </para>
48 <screen><userinput remap="pre">mkdir -v build
49 cd build</userinput></screen>
51 <para>Prepare E2fsprogs for compilation:</para>
53 <screen><userinput remap="configure">../configure --prefix=/tools --disable-libblkid --disable-libuuid</userinput></screen>
56 <title>The meaning of the new configure option:</title>
59 <term><parameter>--disable-libblkid</parameter></term>
61 <para>This prevents E2fsprogs from building its own copy of the
62 libblkid library, which Util-Linux-NG provides.</para>
67 <term><parameter>--disable-libuuid</parameter></term>
69 <para>This prevents E2fsprogs from building its own copy of the
70 libuuid library, which Util-Linux-NG provides.</para>
75 <para>Compile the package:</para>
77 <screen><userinput remap="make">make</userinput></screen>
79 <para>Install the static libraries and headers required by Util-linux:</para>
81 <screen><userinput remap="install">make install-libs</userinput></screen>
83 <para>Make the installed static libraries writable so debugging symbols can
84 be removed later:</para>
86 <screen><userinput remap="install">chmod -v u+w \
87 /tools/lib/{libcom_err,libe2p,libext2fs,libss}.a</userinput></screen>
91 <sect2 role="content">
94 <para>Details on this package are located in
95 <xref linkend="contents-e2fsprogs" role="."/></para>