Installing E2fsprogs-&e2fsprogs-version;
The E2fsprogs package contains the utilities for handling the ext2
file system. It also supports the ext3 journaling file system.
&buildtime; &e2fsprogs-time;
&diskspace; &e2fsprogs-compsize;
&aa-e2fsprogs-down;
&aa-e2fsprogs-dep;
Installation of E2fsprogs
It is recommended to build E2fsprogs outside of the
source tree:
mkdir ../e2fsprogs-build
cd ../e2fsprogs-build
Prepare E2fsprogs for compilation:
../&e2fsprogs-dir;/configure --prefix=/usr --with-root-prefix="" \
--enable-elf-shlibs
The meaning of the configure options:
--with-root-prefix="": Certain
programs (such as the e2fsck program) are considered essential programs.
When, for example, /usr isn't
mounted, these essential programs have to be available. They belong in
directories like /lib and
/sbin. If this option isn't passed
to E2fsprogs's configure, the programs are placed in the
/usr directory, which is not what we
want.
--enable-elf-shlibs: This creates
the shared libraries which some programs in this package make use
of.
Compile the package:
make
If you wish to have the results tested, first make sure an mtab file
exists with touch /etc/mtab to prevent some sixty tests
from failing, and (if it doesn't already exist) fake the presence of an old
pager with ln -s /tools/bin/cat /bin/more to prevent one
test from failing, then issue: make check.
Install most of the package:
make install
And install also the shared libraries:
make install-libs
&aa-e2fsprogs-shortdesc;
&aa-e2fsprogs-desc;