Details on this package are located in Section 10.34.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:
CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
../configure --prefix=/usr --with-root-prefix="" \
--enable-elf-shlibs --disable-libblkid \
--disable-libuuid --disable-fsck \
--disable-uuiddThe 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-shlibsThis creates the shared libraries which some programs in this package use.
Compile the libraries:
make libs
Install the static libraries and headers:
make install-libs
Details on this package are located in Section 10.34.2, “Contents of E2fsprogs.”