6.34. Installing E2fsprogs

6.34.1. Installation of E2fsprogs

Install E2fsprogs by running the following commands:

Please note that the empty --with-root-prefix= option below is supposed to be like this. I did not forget to supply a value there.


./configure --prefix=/usr --with-root-prefix= \
   --enable-elf-shlibs &&
make &&
make install &&
make install-libs

6.34.2. Contents

The e2fsprogs package contains the chattr, lsattr, uuidgen, badblocks, debugfs, dumpe2fs, e2fsck, e2label, fsck, fsck.ext2, mke2fs, mkfs.ext2, mklost+found and tune2fs programs.

6.34.3. Description

6.34.3.1. chattr

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

6.34.3.2. lsattr

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

6.34.3.3. 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 among UUIDs created on other systems in the past and in the future.

6.34.3.4. badblocks

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

6.34.3.5. debugfs

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

6.34.3.6. dumpe2fs

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

6.34.3.7. e2fsck and fsck.ext2

e2fsck is used to check a Linux second extended file system. fsck.ext2 does the same as e2fsck.

6.34.3.8. e2label

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

6.34.3.9. fsck

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

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

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

6.34.3.12. tune2fs

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