diff options
Diffstat (limited to 'chapter06/e2fsprogs.xml')
-rw-r--r-- | chapter06/e2fsprogs.xml | 216 |
1 files changed, 165 insertions, 51 deletions
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index f9195efcf..ba4201881 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -70,125 +70,239 @@ the shared libraries which some programs in this package use.</para></listitem> -<sect2 id="contents-e2fsprogs"><title>Contents of E2fsprogs</title> +<sect2 id="contents-e2fsprogs" role="content"><title>Contents of E2fsprogs</title> -<para><emphasis>Installed programs</emphasis>: badblocks, blkid, chattr, +<segmentedlist> +<segtitle>Installed programs</segtitle> +<segtitle>Installed libraries</segtitle> +<seglistitem><seg>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.</para> - -<para><emphasis>Installed libraries</emphasis>: libblkid.[a,so], -libcom_err.[a,so], libe2p.[a,so], libext2fs.[a,so], libss.[a,so] and -libuuid.[a,so]</para> - -</sect2> - +mklost+found, resize2fs, tune2fs and uuidgen.</seg> +<seg>libblkid.[a,so], libcom_err.[a,so], libe2p.[a,so], libext2fs.[a,so], libss.[a,so] and +libuuid.[a,so]</seg></seglistitem> +</segmentedlist> -<sect2><title>Short descriptions</title> +<variablelist><title>Short descriptions</title> +<varlistentry> +<term id="badblocks"><command>badblocks</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs badblocks"><primary sortas="b-badblocks">badblocks</primary></indexterm> -<para id="badblocks"><command>badblocks</command> searches a device (usually a disk -partition) for bad blocks.</para> +<para>searches a device (usually a disk partition) for bad blocks.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="blkid"><command>blkid</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs blkid"><primary sortas="b-blkid">blkid</primary></indexterm> -<para id="blkid"><command>blkid</command> is a command line utility to locate and -print block device attributes.</para> +<para>is a command line utility to locate and print block device attributes.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="chattr"><command>chattr</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs chattr"><primary sortas="b-chattr">chattr</primary></indexterm> -<para id="chattr"><command>chattr</command> changes the attributes of files on a -second extended (ext2) file system, and also ext3 file systems, the journaling version of ext2 file systems.</para> - +<para>changes the attributes of files on a second extended (ext2) file system, and +also ext3 file systems, the journaling version of ext2 file systems.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="compile_et"><command>compile_et</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs compile_et"><primary sortas="b-compile_et">compile_et</primary></indexterm> -<para id="compile_et"><command>compile_et</command> is an error table compiler. It +<para>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.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="debugfs"><command>debugfs</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs debugfs"><primary sortas="b-debugfs">debugfs</primary></indexterm> -<para id="debugfs"><command>debugfs</command> is a file system debugger. It can be +<para>is a file system debugger. It can be used to examine and change the state of an ext2 file system.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="dumpe2fs"><command>dumpe2fs</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs dumpe2fs"><primary sortas="b-dumpe2fs">dumpe2fs</primary></indexterm> -<para id="dumpe2fs"><command>dumpe2fs</command> prints the super block and blocks group +<para>prints the super block and blocks group information for the file system present on a given device.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="e2fsck"><command>e2fsck</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs e2fsck"><primary sortas="b-e2fsck">e2fsck</primary></indexterm> -<para id="e2fsck"><command>e2fsck</command> is used to check, and optionally repair, +<para>is used to check, and optionally repair, second extended (ext2) file systems, and also ext3 file systems.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="e2image"><command>e2image</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs e2image"><primary sortas="b-e2image">e2image</primary></indexterm> -<para id="e2image"><command>e2image</command> is used to save critical ext2 file system -data to a file.</para> +<para>is used to save critical ext2 file system data to a file.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="e2label"><command>e2label</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs e2label"><primary sortas="b-e2label">e2label</primary></indexterm> -<para id="e2label"><command>e2label</command> will display or change the file system +<para>will display or change the file system label on the ext2 file system present on a given device.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="findfs"><command>findfs</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs findfs"><primary sortas="b-findfs">findfs</primary></indexterm> -<para id="findfs"><command>findfs</command> finds a file system by label or UUID (Universally Unique Identifier).</para> +<para>finds a file system by label or UUID (Universally Unique Identifier).</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="fsck"><command>fsck</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs fsck"><primary sortas="b-fsck">fsck</primary></indexterm> -<para id="fsck"><command>fsck</command> is used to check, and optionally repair, -file systems. By default it checks the file systems listed in -<filename>/etc/fstab</filename></para> - +<para>is used to check, and optionally repair, file systems. By default it checks the +file systems listed in <filename>/etc/fstab</filename></para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="logsave"><command>logsave</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs logsave"><primary sortas="b-logsave">logsave</primary></indexterm> -<para id="logsave"><command>logsave</command> saves the output of a command in a log file.</para> +<para>saves the output of a command in a log file.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="lsattr"><command>lsattr</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs lsattr"><primary sortas="b-lsattr">lsattr</primary></indexterm> -<para id="lsattr"><command>lsattr</command> lists the attributes of files on a second -extended file system.</para> +<para>lists the attributes of files on a second extended file system.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="mk_cmds"><command>mk_cmds</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs mk_cmds"><primary sortas="b-mk_cmds">mk_cmds</primary></indexterm> -<para id="mk_cmds"><command>mk_cmds</command> converts a table of command names +<para>converts a table of command names and help messages into a C source file suitable for use with the <filename>libss</filename> subsystem library.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="mke2fs"><command>mke2fs</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs mke2fs"><primary sortas="b-mke2fs">mke2fs</primary></indexterm> -<para id="mke2fs"><command>mke2fs</command> is used to create a second extended -file system on the given device.</para> +<para>is used to create a second extended file system on the given device.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="mklost-found"><command>mklost+found</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs mklost-found"><primary sortas="b-mklost+found">mklost+found</primary></indexterm> -<para id="mklost-found"><command>mklost+found</command> is used to create a +<para>is used to create a <filename>lost+found</filename> directory on a second extended file system. It pre-allocates disk blocks to this directory to lighten the task of e2fsck.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="resize2fs"><command>resize2fs</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs resize2fs"><primary sortas="b-resize2fs">resize2fs</primary></indexterm> -<para id="resize2fs"><command>resize2fs</command> can be used to enlarge or shrink an -ext2 file system.</para> +<para>can be used to enlarge or shrink an ext2 file system.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="tune2fs"><command>tune2fs</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs tune2fs"><primary sortas="b-tune2fs">tune2fs</primary></indexterm> -<para id="tune2fs"><command>tune2fs</command> is used adjust tunable file system +<para>is used adjust tunable file system parameters on a second extended file system.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="uuidgen"><command>uuidgen</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs uuidgen"><primary sortas="b-uuidgen">uuidgen</primary></indexterm> -<para id="uuidgen"><command>uuidgen</command> creates new -UUID. Each new UUID can reasonably be considered unique +<para>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.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="libblkid"><command>libblkid</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs libblkid"><primary sortas="c-libblkid">libblkid</primary></indexterm> -<para id="libblkid"><command>libblkid</command> contains routines for device -identification and token extraction.</para> +<para>contains routines for device identification and token extraction.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="libcom_err"><command>libcom_err</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs libcom_err"><primary sortas="c-libcom_err">libcom_err</primary></indexterm> -<para id="libcom_err"><command>libcom_err</command> is the common error display routine.</para> +<para>is the common error display routine.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="libe2p"><command>libe2p</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs libe2p"><primary sortas="c-libe2p">libe2p</primary></indexterm> -<para id="libe2p"><command>libe2p</command> is used by dumpe2fs, chattr, and lsattr.</para> +<para>is used by dumpe2fs, chattr, and lsattr.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="libext2fs"><command>libext2fs</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs libext2fs"><primary sortas="c-libext2fs">libext2fs</primary></indexterm> -<para id="libext2fs"><command>libext2fs</command> contains routines to enable user-level +<para>contains routines to enable user-level programs to manipulate an ext2 file system.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="libss"><command>libss</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs libss"><primary sortas="c-libss">libss</primary></indexterm> -<para id="libss"><command>libss</command> is used by debugfs.</para> +<para>is used by debugfs.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="libuuid"><command>libuuid</command></term> +<listitem> <indexterm zone="ch-system-e2fsprogs libuuid"><primary sortas="c-libuuid">libuuid</primary></indexterm> -<para id="libuuid"><command>libuuid</command> contains routines for generating unique +<para>contains routines for generating unique identifiers for objects that may be accessible beyond the local system.</para> +</listitem> +</varlistentry> +</variablelist> </sect2> - - </sect1> |