Linux From Scratch: Version 5.0-pre1
Prev | Appendix A. Package descriptions and dependencies | Next

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

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

### Library Files

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

##

## Descriptions

(Last checked against version 1.27.)

### Program file 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 file 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
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

Prev | Home | Next
Diffutils | Up | Ed