Estimated build time: 0.80 SBU Estimated required disk space: 13 MB |
Install E2fsprogs by running the following commands:
mkdir ../e2fsprogs-build && cd ../e2fsprogs-build && ../e2fsprogs-1.27/configure --prefix=/usr --with-root-prefix="" \ --enable-elf-shlibs && make && make install && make install-libs && install-info /usr/share/info/libext2fs.info /usr/share/info/dir |
--with-root-prefix="": The reason for supplying this option is because of the setup of the e2fsprogs Makefile. Some programs are essential for system use when, for example, /usr isn't mounted (like the e2fsck program). These programs and libraries, therefore, belong in directories like /lib and /sbin. If this option isn't passed to E2fsprogs's configure, it places these programs in /usr, which is not what we want.
--enable-elf-shlibs: This creates shared libraries that some programs in this package can make use of.
make install-libs: This installs the shared libraries that are built.
Last checked against version 1.27.
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
badblocks is used to search for bad blocks on a device (usually a disk partition).
chattr changes the file attributes on a Linux second extended file system.
compile_et is used to convert a table, listing error-code names and associated messages, into a C source file that is suitable for use with the com_err library.
The debugfs program is a file system debugger. It can be used to examine and change the state of an ext2 file system.
dumpe2fs prints the super block and blocks group information for the filesystem present on a specified device.
e2fsck and fsck.ext2 are used to check, and optionally repair, Linux second extended filesystems.
e2image is used to save critical ext2 filesystem data to a file.
e2label will display or change the filesystem label on the ext2 filesystem located on the specified device.
fsck is used to check, and optionally repair, a Linux file system.
fsck.ext3 is used to check, and optionally repair, a Linux ext3 filesystems.
lsattr lists the file attributes on a second extended file system.
The mk_cmds utility takes a command table file as input and produces a C source file as output, which is intended to be used with the subsystem library, libss.
mke2fs is used to create a Linux second extended file system on a device (usually a disk partition). mkfs.ext2 does the same as mke2fs.
mkfs.ext3 is used to create an ext3 filesystem.
mklost+found is used to create a lost+found directory in the current working directory on a Linux second extended file system. mklost+found pre-allocates disk blocks to the directory to make it usable by e2fsck.
resize2fs is used to resize ext2 file systems.
tune2fs adjusts tunable filesystem parameters on a Linux second extended filesystem.
The uuidgen program creates a new universally unique identifier (UUID) using the libuuid library. The new UUID can reasonably be considered unique among all UUIDs created, on the local system and on other systems, in the past and in the future.
libcom_err.[a,so], libe2p.[a,so], libext2fs.[a,so], libss.[a,so], libuuid.[a,so]
The common error display routine.
libe2p is used by dumpe2fs, chattr, and lsattr.
The ext2fs library is designed to allow user-level programs to manipulate an ext2 filesystem.
libss is used by debugfs.
The libuuid library is used to generate unique identifiers for objects that may be accessible beyond the local system.
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