Installing E2fsprogs-1.27

Estimated build time:           0.80 SBU
Estimated required disk space:  13 MB

Installation of E2fsprogs

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

Command explanations

--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.

Contents of E2fsprogs

Last checked against version 1.27.

Program Files

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

Descriptions

badblocks

badblocks is used to search for bad blocks on a device (usually a disk partition).

chattr

chattr changes the file attributes on a Linux second extended file system.

compile_et

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.

debugfs

The debugfs program is a file system debugger. It can be used to examine and change the state of an ext2 file system.

dumpe2fs

dumpe2fs prints the super block and blocks group information for the filesystem present on a specified device.

e2fsck and fsck.ext2

e2fsck and fsck.ext2 are used to check, and optionally repair, Linux second extended filesystems.

e2image

e2image is used to save critical ext2 filesystem data to a file.

e2label

e2label will display or change the filesystem label on the ext2 filesystem located on the specified device.

fsck

fsck is used to check, and optionally repair, a Linux file system.

fsck.ext3

fsck.ext3 is used to check, and optionally repair, a Linux ext3 filesystems.

lsattr

lsattr lists the file attributes on a second extended file system.

mk_cmds

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 and mkfs.ext2

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

mkfs.ext3 is used to create an ext3 filesystem.

mklost+found

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

resize2fs is used to resize ext2 file systems.

tune2fs

tune2fs adjusts tunable filesystem parameters on a Linux second extended filesystem.

uuidgen

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.

Library Files

libcom_err.[a,so], libe2p.[a,so], libext2fs.[a,so], libss.[a,so], libuuid.[a,so]

Descriptions

libcom_err

The common error display routine.

libe2p

libe2p is used by dumpe2fs, chattr, and lsattr.

libext2fs

The ext2fs library is designed to allow user-level programs to manipulate an ext2 filesystem.

libss

libss is used by debugfs.

libuuid

The libuuid library is used to generate unique identifiers for objects that may be accessible beyond the local system.

E2fsprogs Installation Dependencies

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