e2fsprogs

e2fsprogs
Developer(s) Theodore Ts'o
Stable release
1.43 / 17 May 2016 (2016-05-17)
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.

List of utilities

Included with e2fsprogs are:

e2fsck 
an fsck program that checks for and corrects inconsistencies
mke2fs 
used for creating ext2, ext3 and ext4 file systems
resize2fs 
which can expand and shrink ext2, ext3 and ext4 file systems
tune2fs 
used to modify file system parameters
dumpe2fs 
which prints superblock and block group information.
debugfs 
used to manually view or modify internal structures of the file system
filefrag 
report on file fragmentation
logsave 
save the output of a command in a logfile
e2undo 
replay an undo log for an ext2/ext3/ext4 filesystem
e2label 
change the label on an ext2/ext3/ext4 filesystem
findfs 
find a filesystem by label or UUID
badblocks 
search a device for bad blocks
blkid 
locate/print block device attributes
e2freefrag 
report free space fragmentation information
chattr 
change file attributes on a Linux file system
e2image 
save critical ext2/ext3/ext4 filesystem metadata to a file
e4defrag 
online defragmenter for ext4 filesystem
findsuper 
quick hacked up program to find ext2 superblocks
lsattr 
list file attributes on a Linux second extended file system

Many of these utilities are based on the libext2fs library.

Usage

Despite what its name might suggest, e2fsprogs works not only with ext2 and ext3, but also with 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.

fsck time/Inode Count(ext3 vs. ext4)

With ext4 the e2fsck runtime should come down considerably.

As the userspace companion for the ext2, ext3, and ext4 drivers in the Linux kernel, the e2fsprogs are most commonly used with GNU/Linux. However, they have been ported to other systems, such as FreeBSD and Darwin.

See also

External links

This article is issued from Wikipedia - version of the 8/15/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.