e2fsprogs - Wikipedia
From Wikipedia, the free encyclopedia
Developer(s) | Theodore Ts'o |
---|---|
Stable release | 1.47.2[1] |
Repository | |
Written in | C |
Operating system | Linux, Unix-like |
Type | File system utilities |
License | GPL |
Website | e2fsprogs.sourceforge.net |
e2fsprogs (sometimes called the e2fs programs) is a set of utilities for maintaining the ext2, ext3 and ext4 file systems. Since those file systems are often the default for Linux distributions, it is commonly considered to be essential software.
Included with e2fsprogs, ordered by ASCIIbetical order, are:
- search a device for bad blocks
- locate/print block device attributes
- change file attributes on a Linux file system
- used to manually view or modify internal structures of the file system
- prints superblock and block group information.
- report free space fragmentation information
- an fsck program that checks for and corrects inconsistencies
- save critical ext2/ext3/ext4 filesystem metadata to a file
- change the label on an ext2/ext3/ext4 filesystem
- check a filesystem "online" (i.e. without having to unmount it) in the case where the filesystem is on an LVM LV
- replay an undo log for an ext2/ext3/ext4 filesystem
- online defragmenter for ext4 filesystems
- report file fragmentation
- find a filesystem by label or UUID
- quick hacked up program to find ext2 superblocks
- save the output of a command in a logfile
- list file attributes on a Linux second extended file system
- used for creating ext2, ext3 and ext4 file systems
- which can expand and shrink ext2, ext3 and ext4 file systems. On-line support was added in 2006.[2]
- used to modify file system parameters
badblocks
blkid
chattr
debugfs
dumpe2fs
e2freefrag
e2fsck
e2image
e2label
e2scrub
e2undo
e4defrag
filefrag
findfs
findsuper
logsave
lsattr
mke2fs
resize2fs
tune2fs
Many of these utilities are based on the libext2fs
library.
Despite what its name might suggest, e2fsprogs works not only with ext2, but also with ext3 and ext4. Although ext3's journaling capability can reduce the need to use e2fsck
, it is sometimes still necessary to help protect against kernel bugs or bad hardware.

With ext4 the e2fsck runtime should come down considerably, as can be seen from the graph.
As the userspace companion for the ext2, ext3, and ext4 drivers in the Linux kernel, the e2fsprogs are most commonly used with Linux. However, they have been ported to other systems, such as FreeBSD and Darwin.
- mkfs
- dd — convert and copy a file
- fdisk — examine and write partition table
- fsck — file system check
- mkisofs — make an iso file system
- mount — mount a file system
- parted — partition manager