E2fsprogs

For installation instructions see the Section called Installing E2fsprogs-1.34 in Chapter 6.

Official Download Location

E2fsprogs (1.34):
ftp://download.sourceforge.net/pub/sourceforge/e2fsprogs/
http://download.sourceforge.net/e2fsprogs/

Contents of E2fsprogs

(Last checked against version 1.34.)

E2fsprogs provides the filesystem utilities for use with the ext2 filesystem. It also supports the ext3 filesystem with journaling support.

Installed programs: badblocks, blkid, chattr, compile_et, debugfs, dumpe2fs, e2fsck, e2image, e2label, findfs, fsck, fsck.ext2, fsck.ext3, logsave, lsattr, mk_cmds, mke2fs, mkfs.ext2, mkfs.ext3, mklost+found, resize2fs, tune2fs and uuidgen.

Installed libraries: libblkid.[a,so], libcom_err.[a,so], libe2p.[a,so], libext2fs.[a,so], libss.[a,so] and libuuid.[a,so]

Short descriptions

badblocks searches a device (usually a disk partition) for bad blocks.

blkid is a command line utility to locate and print block device attributes.

chattr changes the attributes of files on a second extended (ext2) filesystem.

compile_et is an error table compiler. It converts a table of error-code names and messages into a C source file suitable for use with the com_err library.

debugfs is a filesystem debugger. It can be used to examine and change the state of an ext2 filesystem.

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

e2fsck is used to check, and optionally repair, second extended (ext2) filesystems, and also ext3 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 present on a given device.

findfs finds a file system by label or UUID.

fsck is used to check, and optionally repair, filesystems. By default it checks the filesystems listed in /etc/fstab

logsave saves the output of a command in a logfile.

lsattr lists the attributes of files on a second extended filesystem.

mk_cmds converts a table of command names and help messages into a C source file suitable for use with the libss subsystem library.

mke2fs is used to create a second extended filesystem on the given device.

mklost+found is used to create a lost+found directory on a second extended filesystem. It pre-allocates disk blocks to this directory to lighten the task of e2fsck.

resize2fs can be used to enlarge or shrink an ext2 filesystem.

tune2fs is used adjust tunable filesystem parameters on a second extended filesystem.

uuidgen creates new universally unique identifiers (UUID). Each 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.

libblkid contains routines for device identification and token extraction.

libcom_err is the common error display routine.

libe2p is used by dumpe2fs, chattr, and lsattr.

libext2fs contains routines to enable user-level programs to manipulate an ext2 filesystem.

libss is used by debugfs.

libuuid contains routines for generating 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
Coreutils: basename, cat, chmod, cp, echo, expr, hostname,
             install, ln, mkdir, mv, rm, sync, tr, uname
Diffutils: cmp
Gawk: awk
GCC: cc, cc1, collect2, cpp
Glibc: ldconfig
Grep: egrep, grep
Gzip: gzip
Make: make
Sed: sed
Texinfo: makeinfo