[3be4d97] | 1 | <sect1 id="ch-system-e2fsprogs" xreflabel="E2fsprogs">
|
---|
[793c2f7] | 2 | <title>Installing E2fsprogs-&e2fsprogs-version;</title>
|
---|
[576e206] | 3 | <?dbhtml filename="e2fsprogs.html" dir="chapter06"?>
|
---|
[6370fa6] | 4 |
|
---|
[5888299] | 5 | <para>The E2fsprogs package contains the utilities for handling the ext2
|
---|
[ab3b93b] | 6 | file system. It also supports the ext3 journaling file system.</para>
|
---|
[5888299] | 7 |
|
---|
[69276a94] | 8 | <screen>&buildtime; &e2fsprogs-time;
|
---|
| 9 | &diskspace; &e2fsprogs-compsize;</screen>
|
---|
[3554fa3a] | 10 |
|
---|
[5888299] | 11 | &aa-e2fsprogs-down;
|
---|
[d0dfce4] | 12 | &aa-e2fsprogs-dep;
|
---|
[73aedd1d] | 13 |
|
---|
| 14 | <sect2><title> </title><para> </para></sect2>
|
---|
| 15 |
|
---|
| 16 | <sect2>
|
---|
| 17 | <title>Installation of E2fsprogs</title>
|
---|
| 18 |
|
---|
| 19 | <para>It is recommended to build E2fsprogs outside of the
|
---|
| 20 | source tree:</para>
|
---|
| 21 |
|
---|
| 22 | <screen><userinput>mkdir ../e2fsprogs-build
|
---|
| 23 | cd ../e2fsprogs-build</userinput></screen>
|
---|
| 24 |
|
---|
| 25 | <para>Prepare E2fsprogs for compilation:</para>
|
---|
| 26 |
|
---|
[d962702] | 27 | <screen><userinput>../&e2fsprogs-dir;/configure --prefix=/usr --with-root-prefix="" \
|
---|
[73aedd1d] | 28 | --enable-elf-shlibs</userinput></screen>
|
---|
| 29 |
|
---|
| 30 | <para>The meaning of the configure options:</para>
|
---|
| 31 |
|
---|
| 32 | <itemizedlist>
|
---|
| 33 | <listitem><para><userinput>--with-root-prefix=""</userinput>: Certain
|
---|
| 34 | programs (such as the e2fsck program) are considered essential programs.
|
---|
| 35 | When, for example, <filename class="directory">/usr</filename> isn't
|
---|
[a195a6c] | 36 | mounted, these essential programs have to be available. They belong in
|
---|
[73aedd1d] | 37 | directories like <filename class="directory">/lib</filename> and
|
---|
| 38 | <filename class="directory">/sbin</filename>. If this option isn't passed
|
---|
| 39 | to E2fsprogs's configure, the programs are placed in the
|
---|
| 40 | <filename class="directory">/usr</filename> directory, which is not what we
|
---|
| 41 | want.</para></listitem>
|
---|
| 42 |
|
---|
| 43 | <listitem><para><userinput>--enable-elf-shlibs</userinput>: This creates
|
---|
| 44 | the shared libraries which some programs in this package make use
|
---|
| 45 | of.</para></listitem>
|
---|
| 46 | </itemizedlist>
|
---|
| 47 |
|
---|
| 48 | <para>Compile the package:</para>
|
---|
| 49 |
|
---|
| 50 | <screen><userinput>make</userinput></screen>
|
---|
| 51 |
|
---|
[8a5f906] | 52 | <para>To have the results tested, issue:
|
---|
| 53 | <userinput>make check</userinput>.</para>
|
---|
[73aedd1d] | 54 |
|
---|
| 55 | <para>Install most of the package:</para>
|
---|
| 56 |
|
---|
| 57 | <screen><userinput>make install</userinput></screen>
|
---|
| 58 |
|
---|
| 59 | <para>And install also the shared libraries:</para>
|
---|
| 60 |
|
---|
| 61 | <screen><userinput>make install-libs</userinput></screen>
|
---|
| 62 |
|
---|
| 63 | </sect2>
|
---|
| 64 |
|
---|
[6370fa6] | 65 |
|
---|
[5888299] | 66 | &aa-e2fsprogs-shortdesc;
|
---|
| 67 | &aa-e2fsprogs-desc;
|
---|
| 68 |
|
---|
[6370fa6] | 69 | </sect1>
|
---|
[73aedd1d] | 70 |
|
---|