e2fsprogs.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <sect1 id="ch-system-e2fsprogs" xreflabel="E2fsprogs">
  2. <title>Installing E2fsprogs-&e2fsprogs-version;</title>
  3. <?dbhtml filename="e2fsprogs.html" dir="chapter06"?>
  4. <para>The E2fsprogs package contains the utilities for handling the ext2
  5. filesystem. It also supports the ext3 journaling filesystem.</para>
  6. <screen>&buildtime; &e2fsprogs-time;
  7. &diskspace; &e2fsprogs-compsize;</screen>
  8. &aa-e2fsprogs-down;
  9. &aa-e2fsprogs-dep;
  10. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  11. <sect2>
  12. <title>Installation of E2fsprogs</title>
  13. <para>It is recommended to build E2fsprogs outside of the
  14. source tree:</para>
  15. <screen><userinput>mkdir ../e2fsprogs-build
  16. cd ../e2fsprogs-build</userinput></screen>
  17. <para>Prepare E2fsprogs for compilation:</para>
  18. <screen><userinput>../&e2fsprogs-dir;/configure --prefix=/usr --with-root-prefix="" \
  19. &nbsp;&nbsp;&nbsp;&nbsp;--enable-elf-shlibs</userinput></screen>
  20. <para>The meaning of the configure options:</para>
  21. <itemizedlist>
  22. <listitem><para><userinput>--with-root-prefix=""</userinput>: Certain
  23. programs (such as the e2fsck program) are considered essential programs.
  24. When, for example, <filename class="directory">/usr</filename> isn't
  25. mounted, these essential programs have to be available. They belong in
  26. directories like <filename class="directory">/lib</filename> and
  27. <filename class="directory">/sbin</filename>. If this option isn't passed
  28. to E2fsprogs's configure, the programs are placed in the
  29. <filename class="directory">/usr</filename> directory, which is not what we
  30. want.</para></listitem>
  31. <listitem><para><userinput>--enable-elf-shlibs</userinput>: This creates
  32. the shared libraries which some programs in this package make use
  33. of.</para></listitem>
  34. </itemizedlist>
  35. <para>Compile the package:</para>
  36. <screen><userinput>make</userinput></screen>
  37. <para>This package has a test suite available which can perform a number of
  38. checks to ensure it built correctly. Should you choose to run it, the
  39. following command will do so:</para>
  40. <screen><userinput>make check</userinput></screen>
  41. <para>Install most of the package:</para>
  42. <screen><userinput>make install</userinput></screen>
  43. <para>And install also the shared libraries:</para>
  44. <screen><userinput>make install-libs</userinput></screen>
  45. </sect2>
  46. &aa-e2fsprogs-shortdesc;
  47. &aa-e2fsprogs-desc;
  48. </sect1>