Details on this package are located in Section 10.44.2, “Contents of E2fsprogs.”
The E2fsprogs package contains the utilities for handling the
ext2
file system. It also supports
the ext3
and ext4
journaling file systems.
The E2fsprogs documentation recommends that the package be built in a subdirectory of the source tree:
mkdir -v build cd build
Prepare E2fsprogs for compilation:
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ CC="gcc ${BUILD32}" \ ../configure \ --prefix=/usr \ --bindir=/bin \ --with-root-prefix="" \ --enable-elf-shlibs \ --disable-libblkid \ --disable-libuuid \ --disable-fsck \ --disable-uuidd
The meaning of the configure options:
--with-root-prefix=""
Certain programs (such as the e2fsck program) are
considered essential programs. When, for example,
/usr
is not mounted, these
programs still need to be available. They belong in
directories like /lib
and
/sbin
. If this option is not
passed to E2fsprogs' configure, the programs are installed
into the /usr
directory.
--enable-elf-shlibs
This creates the shared libraries which some programs in this package use.
--disable-*
This prevents E2fsprogs from building and installing the
libuuid
and libblkid
libraries, the uuidd
daemon, and the fsck wrapper, as Util-Linux
installed all of them earlier.
Compile the libraries:
make libs
Install the static libraries and headers:
make install-libs
Details on this package are located in Section 10.44.2, “Contents of E2fsprogs.”