Estimated build time: 0.5 SBU Estimated required disk space: 13 MB |
(Last checked against version 1.27.)
E2fsprogs provides the filesystem utilities for use with the ext2 filesystem. It also supports the ext3 filesystem with journaling support.
E2fsprogs installs the following:
badblocks, chattr, compile_et, debugfs, dumpe2fs, e2fsck, e2image, e2label, fsck, fsck.ext2, fsck.ext3, lsattr, mk_cmds, mke2fs, mkfs.ext2, mkfs.ext3, mklost+found, resize2fs, tune2fs and uuidgen
libcom_err.[a,so], libe2p.[a,so], libext2fs.[a,so], libss.[a,so], libuuid.[a,so]
(Last checked against version 1.25.)
Bash: sh
Binutils: ar, as, ld, ranlib, strip
Coreutils: basename, cat, chmod, cp, echo, expr, hostname,
install, ln, mkdir, mv, rm, sync, tr, uname
Diffutils: cmp
Gawk: awk
GCC: cc, cc1, collect2, cpp0
Glibc: ldconfig
Grep: egrep, grep
Gzip: gzip
Make: make
Sed: sed
Texinfo: makeinfo
It is recommended to build E2fsprogs outside of the source tree:
mkdir ../e2fsprogs-build cd ../e2fsprogs-build |
Prepare E2fsprogs for compilation:
../e2fsprogs-1.34/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 program 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 |
This package has a testsuite available which can perform a number of checks to ensure it built correctly. Should you choose to run it, the following command will do so:
make check |
Install most of the package:
make install |
And install also the shared libraries:
make install-libs |