E2fsprogs

Resources

e2fsprogs is [[Article description::a suite of standard userspace programs for ext2, ext3, and ext4 filesystems.]]

Installation

USE flags

USE flags for sys-fs/e2fsprogs Standard EXT2/EXT3/EXT4 filesystem utilities

cron Install e2scrub_all cron script
fuse Build fuse2fs, a FUSE file system client for ext2/ext3/ext4 file systems
lto Build with link time optimization (LTO)
nls Add Native Language Support (using gettextGNU locale utilities)
split-usr Enable behavior to support maintaining /bin, /lib*, /sbin and /usr/sbin separately from /usr/bin and /usr/lib*
static-libs Build static versions of dynamic libraries as well
threads Add threads support for various packages. Usually pthreads

Emerge

The sys-fs/e2fsprogs package and should be available as part of the default system set.

root #emerge --ask sys-fs/e2fsprogs

Configuration

Files

Global configuration files:

  • /etc/e2fsck.conf
  • /etc/mke2fs.conf

Usage

Utility list

Utilities included in the package consist of:

UtilityDescriptionMan page
badblocksA small program for stress testing block devices.Man page
debugfsAn ext2/ext3/ext4 file system debugger.Man page
dumpe2fsA tool to dump ext2/ext3/ext4 filesystem information.Man page
e2fsckA tool for checking ext2/ext3/ext4 filesystems.Man page
e2imageA tool for saving critical ext2/ext3/ext4 filesystem metadata to a file.Man page
e2labelA tool to change the label on an ext2/ext3/ext4 filesystem (symlinks to tune2fs).
e2undoA tool to replay an undo log for an ext2/ext3/ext4 filesystem.Man page
fsck.ext2Checks, specifically, an ext2 filesystem (symlinks to e2fsck).
fsck.ext3Checks, specifically, an ext3 filesystem (symlinks to e2fsck).
fsck.ext4Checks, specifically, an ext4 filesystem (symlinks to e2fsck).
fsck.ext4devChecks, specifically, an ext4dev filesystem (symlinks to e2fsck).
logsaveA tool to save the output of a command in a logfile.Man page
mke2fsThe base program for creating ext2/ext3/ext4 filesystems. Creation commands symlink here.Man page
mkfs.ext2Creates, specifically, an ext2 filesystem (symlinks to mke2fs).
mkfs.ext3Creates, specifically, an ext3 filesystem (symlinks to mke2fs).
mkfs.ext4Creates, specifically, an ext4 filesystem (symlinks to mke2fs).
mkfs.ext4devCreates, specifically, an ext24dev filesystem (symlinks to mke2fs).
resize2fsAn ext2/ext3/ext4 filesystem resizer.Man page
tune2fsAdjust tunable filesystem parameters on ext2/ext3/ext4 filesystems.Man page
UtilityDescriptionMan page
chattrChange file attributes on a Linux filesystem.Man page
lsattrList file attributes on a Linux second extended filesystem.Man page
UtilityDescriptionMan page
e2freefragReport free space fragmentation information.Man page
e4defragAn online defragmenter for ext4 filesystem.Man page
filefragReport on file fragmentation.Man page
mklost+foundCreate a lost+found directory on a mounted Linux second extended filesystem.Man page

See also

  • btrfs-progs - Btrfs filesystem utilities.

External resources

This article is issued from Gentoo. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.