Installing E2fsprogs-1.23

Estimated build time:           2 minutes
Estimated required disk space:  21 MB

Installation of E2fsprogs

Install E2fsprogs by running the following commands:

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

Command explanations

--with-root-prefix=/: The reason for supplying this option is because of the setup of the e2fsprogs Makefile. Some programs are essential for system use when, for example, /usr isn't mounted (like the e2fsck program). These programs and libraries therefore belong in directories like /lib and /sbin. If this option isn't passed to e2fsprogs' configure, it places these programs in /usr which is not what we want.

--enable-elf-shlibs: This creates shared libraries that some programs in this package can make use of.

make install-libs: This installs the shared libraries that are built.

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.

Description

chattr

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

lsattr

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

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.

badblocks

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

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 is used to check a Linux second extended file system. fsck.ext2 does the same as e2fsck.

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.

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.

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.

tune2fs

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

Dependencies

E2fsprogs-1.22 needs the following to be installed:


sh from the bash package

ar from the binutils package
as from the binutils package
ld from the binutils package

cmp from the diffutils package

chmod from the fileutils package
cp from the fileutils package
ln from the fileutils package
mkdir from the fileutils package
mv from the fileutils package
rm from the fileutils package
sync from the fileutils package

cc from the gcc package

egrep from the grep package
grep from the grep package

gzip from the gzip package

make from the make package

awk from the mawk package

sed from the sed package

basename from the sh-utils package
expr from the sh-utils package
uname from the sh-utils package

makeinfo from the texinfo package

cat from the textutils package
tr from the textutils package