Estimated build time: 0.80 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
Diffutils: cmp
Fileutils: chmod, cp, install, ln, mkdir, mv, rm, sync
Gcc: cc, cc1, collect2, cpp0
Glibc: ldconfig
Grep: egrep, grep
Gzip: gzip
Make: make
Gawk: awk
Sed: sed
Sh-utils: basename, echo, expr, hostname, uname
Texinfo: makeinfo
Textutils: cat, tr
It is recommended to build E2fsprogs outside of the source tree:
mkdir ../e2fsprogs-build && cd ../e2fsprogs-build |
Prepare E2fsprogs to be compiled:
../e2fsprogs-1.32/configure --prefix=/usr --with-root-prefix="" \ --enable-elf-shlibs |
The meaning of the configure options are:
--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.
Continue with compiling the package:
make |
Begin installing the package:
make install |
Install the shared libraries:
make install-libs |
Update the /usr/share/info/dir file to include E2fsprogs' info pages in the index:
install-info /usr/share/info/libext2fs.info /usr/share/info/dir |