%general-entities; ]> E2fsprogs-&e2fsprogs-version; E2fsprogs <para>The E2fsprogs package contains the utilities for handling the ext2 file system. It also supports the ext3 journaling file system.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>0.6 SBU</seg><seg>48.4 MB</seg></seglistitem> </segmentedlist> <segmentedlist> <segtitle>E2fsprogs installation depends on</segtitle> <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Gettext, Glibc, Grep, Make, Sed, Texinfo</seg></seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of E2fsprogs Prepare E2fsprogs for compilation: ./configure --prefix=/usr --with-root-prefix="" \ --enable-elf-shlibs --disable-evms The meaning of the configure options: --with-root-prefix="" Certain programs (such as the e2fsck program) are considered essential programs. When, for example, /usr isn't mounted, these essential programs have to be available. They belong in directories like /lib and /sbin. If this option isn't passed to E2fsprogs's configure, the programs are placed in the /usr directory, which is not what we want. --enable-elf-shlibs This creates the shared libraries which some programs in this package use. Compile the package: make To test the results, issue: make check. Install most of the package: make install Also install the shared libraries: make install-libs Contents of E2fsprogs Installed programs Installed libraries badblocks, blkid, chattr, compile_et, debugfs, dumpe2fs, e2fsck, e2image, e2label, findfs, fsck, fsck.ext2, fsck.ext3, logsave, lsattr, mk_cmds, mke2fs, mkfs.ext2, mkfs.ext3, mklost+found, resize2fs, tune2fs and uuidgen. libblkid.[a,so], libcom_err.[a,so], libe2p.[a,so], libext2fs.[a,so], libss.[a,so] and libuuid.[a,so] Short descriptions badblocks badblocks searches a device (usually a disk partition) for bad blocks. blkid blkid is a command line utility to locate and print block device attributes. chattr chattr changes the attributes of files on a second extended (ext2) file system, and also ext3 file systems, the journaling version of ext2 file systems. compile_et compile_et is an error table compiler. It converts a table of error-code names and messages into a C source file suitable for use with the com_err library. debugfs debugfs 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 file system present on a given device. e2fsck e2fsck is used to check, and optionally repair, second extended (ext2) file systems, and also ext3 file systems. e2image e2image is used to save critical ext2 file system data to a file. e2label e2label will display or change the file system label on the ext2 file system present on a given device. findfs findfs finds a file system by label or UUID (Universally Unique Identifier). fsck fsck is used to check, and optionally repair, file systems. By default it checks the file systems listed in /etc/fstab logsave logsave saves the output of a command in a log file. lsattr lsattr lists the attributes of files on a second extended file system. mk_cmds mk_cmds converts a table of command names and help messages into a C source file suitable for use with the libss subsystem library. mke2fs mke2fs is used to create a second extended file system on the given device. mklost+found mklost+found is used to create a lost+found directory on a second extended file system. It pre-allocates disk blocks to this directory to lighten the task of e2fsck. resize2fs resize2fs can be used to enlarge or shrink an ext2 file system. tune2fs tune2fs is used adjust tunable file system parameters on a second extended file system. uuidgen uuidgen creates new UUID. Each new UUID can reasonably be considered unique among all UUIDs created, on the local system and on other systems, in the past and in the future. libblkid libblkid contains routines for device identification and token extraction. libcom_err libcom_err is the common error display routine. libe2p libe2p is used by dumpe2fs, chattr, and lsattr. libext2fs libext2fs contains routines to enable user-level programs to manipulate an ext2 file system. libss libss is used by debugfs. libuuid libuuid contains routines for generating unique identifiers for objects that may be accessible beyond the local system.