Changeset fa994c9 for chapter06/e2fsprogs.xml
- Timestamp:
- 02/03/2006 09:04:48 PM (19 years ago)
- Children:
- 73c180db
- Parents:
- e6ab4b5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/e2fsprogs.xml
re6ab4b5 rfa994c9 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-system-e2fsprogs" role="wrap"> 7 <title>E2fsprogs-&e2fsprogs-version;</title> 8 <?dbhtml filename="e2fsprogs.html"?> 9 10 <indexterm zone="ch-system-e2fsprogs"><primary sortas="a-E2fsprogs">E2fsprogs</primary></indexterm> 11 12 <sect2 role="package"><title/> 13 <para>The E2fsprogs package contains the utilities for handling the 14 <systemitem class="filesystem">ext2</systemitem> file system. It also supports 15 the <systemitem class="filesystem">ext3</systemitem> journaling file system.</para> 16 17 <segmentedlist> 18 <segtitle>&buildtime;</segtitle> 19 <segtitle>&diskspace;</segtitle> 20 <seglistitem><seg>0.6 SBU</seg><seg>40.0 MB</seg></seglistitem> 21 </segmentedlist> 22 23 <segmentedlist> 24 <segtitle>&dependencies;</segtitle> 25 <seglistitem><seg>Bash, Binutils, Coreutils, 26 Diffutils, Gawk, GCC, Gettext, Glibc, Grep, Make, Sed, and Texinfo</seg></seglistitem> 27 </segmentedlist> 28 </sect2> 29 30 <sect2 role="installation"> 31 <title>Installation of E2fsprogs</title> 32 33 <para>It is recommended that E2fsprogs be built in a subdirectory of the source tree: 34 </para> 9 <?dbhtml filename="e2fsprogs.html"?> 10 11 <title>E2fsprogs-&e2fsprogs-version;</title> 12 13 <indexterm zone="ch-system-e2fsprogs"> 14 <primary sortas="a-E2fsprogs">E2fsprogs</primary> 15 </indexterm> 16 17 <sect2 role="package"> 18 <title/> 19 20 <para>The E2fsprogs package contains the utilities for handling the 21 <systemitem class="filesystem">ext2</systemitem> file system. It also 22 supports the <systemitem class="filesystem">ext3</systemitem> journaling 23 file system.</para> 24 25 <segmentedlist> 26 <segtitle>&buildtime;</segtitle> 27 <segtitle>&diskspace;</segtitle> 28 29 <seglistitem> 30 <seg>0.6 SBU</seg> 31 <seg>40.0 MB</seg> 32 </seglistitem> 33 </segmentedlist> 34 35 <segmentedlist> 36 <segtitle>&dependencies;</segtitle> 37 38 <seglistitem> 39 <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Gettext, Glibc, 40 Grep, Make, Sed, and Texinfo</seg> 41 </seglistitem> 42 </segmentedlist> 43 44 </sect2> 45 46 <sect2 role="installation"> 47 <title>Installation of E2fsprogs</title> 48 49 <para>It is recommended that E2fsprogs be built in a subdirectory of 50 the source tree: </para> 35 51 36 52 <screen><userinput>mkdir -v build 37 53 cd build</userinput></screen> 38 54 39 <para>Prepare E2fsprogs for compilation:</para>55 <para>Prepare E2fsprogs for compilation:</para> 40 56 41 57 <screen><userinput>../configure --prefix=/usr --with-root-prefix="" \ 42 58 --enable-elf-shlibs --disable-evms</userinput></screen> 43 59 44 <para>The meaning of the configure options:</para> 45 46 <variablelist> 47 <varlistentry> 48 <term><parameter>--with-root-prefix=""</parameter></term> 49 <listitem><para>Certain programs (such as the <command>e2fsck</command> program) 50 are considered essential programs. When, for example, <filename 51 class="directory">/usr</filename> is not mounted, these programs still need 52 to be available. They belong in directories like <filename 53 class="directory">/lib</filename> and <filename 54 class="directory">/sbin</filename>. If this option is not passed to E2fsprogs' 55 configure, the programs are installed into the <filename 56 class="directory">/usr</filename> directory.</para></listitem> 57 58 </varlistentry> 59 60 <varlistentry> 61 <term><parameter>--enable-elf-shlibs</parameter></term> 62 <listitem><para>This creates the shared libraries which some programs 63 in this package use.</para></listitem> 64 </varlistentry> 65 66 <varlistentry> 67 <term><parameter>--disable-evms</parameter></term> 68 <listitem><para>This disables the building of the Enterprise Volume 69 Management System (EVMS) plugin. This plugin is not up-to-date with 70 the latest EVMS internal interfaces and EVMS is not installed as part 71 of a base LFS system, so the plugin is not required. See the EVMS 72 website at <ulink url="http://evms.sourceforge.net/"/> for more 73 information regarding EVMS.</para></listitem> 74 </varlistentry> 75 </variablelist> 76 77 <para>Compile the package:</para> 60 <variablelist> 61 <title>The meaning of the configure options:</title> 62 63 <varlistentry> 64 <term><parameter>--with-root-prefix=""</parameter></term> 65 <listitem> 66 <para>Certain programs (such as the <command>e2fsck</command> 67 program) are considered essential programs. When, for example, 68 <filename class="directory">/usr</filename> is not mounted, these 69 programs still need to be available. They belong in directories 70 like <filename class="directory">/lib</filename> and <filename 71 class="directory">/sbin</filename>. If this option is not passed 72 to E2fsprogs' configure, the programs are installed into the 73 <filename class="directory">/usr</filename> directory.</para> 74 </listitem> 75 </varlistentry> 76 77 <varlistentry> 78 <term><parameter>--enable-elf-shlibs</parameter></term> 79 <listitem> 80 <para>This creates the shared libraries which some programs 81 in this package use.</para> 82 </listitem> 83 </varlistentry> 84 85 <varlistentry> 86 <term><parameter>--disable-evms</parameter></term> 87 <listitem> 88 <para>This disables the building of the Enterprise Volume 89 Management System (EVMS) plugin. This plugin is not up-to-date with 90 the latest EVMS internal interfaces and EVMS is not installed as part 91 of a base LFS system, so the plugin is not required. See the EVMS 92 website at <ulink url="http://evms.sourceforge.net/"/> for more 93 information regarding EVMS.</para> 94 </listitem> 95 </varlistentry> 96 97 </variablelist> 98 99 <para>Compile the package:</para> 78 100 79 101 <screen><userinput>make</userinput></screen> 80 102 81 <para>To test the results, issue:82 <userinput>make check</userinput>.</para>83 84 <para>Install the binaries and documentation:</para>103 <para>To test the results, issue: 104 <userinput>make check</userinput>.</para> 105 106 <para>Install the binaries and documentation:</para> 85 107 86 108 <screen><userinput>make install</userinput></screen> 87 109 88 <para>Install the shared libraries:</para>110 <para>Install the shared libraries:</para> 89 111 90 112 <screen><userinput>make install-libs</userinput></screen> 91 113 92 </sect2> 93 94 95 96 <sect2 id="contents-e2fsprogs" role="content"><title>Contents of E2fsprogs</title> 97 98 <segmentedlist> 99 <segtitle>Installed programs</segtitle> 100 <segtitle>Installed libraries</segtitle> 101 <seglistitem><seg>badblocks, blkid, chattr, 102 compile_et, debugfs, dumpe2fs, e2fsck, e2image, e2label, findfs, fsck, 103 fsck.ext2, fsck.ext3, logsave, lsattr, mk_cmds, mke2fs, mkfs.ext2, mkfs.ext3, 104 mklost+found, resize2fs, tune2fs, and uuidgen.</seg> 105 <seg>libblkid.[a,so], libcom_err.[a,so], libe2p.[a,so], 106 libext2fs.[a,so], libss.[a,so], and libuuid.[a,so]</seg></seglistitem> 107 </segmentedlist> 108 109 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 110 <?dbfo list-presentation="list"?> 111 <?dbhtml list-presentation="table"?> 112 113 <varlistentry id="badblocks"> 114 <term><command>badblocks</command></term> 115 <listitem> 116 <para>Searches a device (usually a disk partition) for bad blocks</para> 117 <indexterm zone="ch-system-e2fsprogs badblocks"><primary sortas="b-badblocks">badblocks</primary></indexterm> 118 </listitem> 119 </varlistentry> 120 121 <varlistentry id="blkid"> 122 <term><command>blkid</command></term> 123 <listitem> 124 <para>A command line utility to locate and print block device attributes</para> 125 <indexterm zone="ch-system-e2fsprogs blkid"><primary sortas="b-blkid">blkid</primary></indexterm> 126 </listitem> 127 </varlistentry> 128 129 <varlistentry id="chattr"> 130 <term><command>chattr</command></term> 131 <listitem> 132 <para>Changes the attributes of files on an <systemitem 133 class="filesystem">ext2</systemitem> file system; it also changes <systemitem 134 class="filesystem">ext3</systemitem> file systems, the journaling version of 135 <systemitem class="filesystem">ext2</systemitem> file systems</para> 136 <indexterm zone="ch-system-e2fsprogs chattr"><primary sortas="b-chattr">chattr</primary></indexterm> 137 </listitem> 138 </varlistentry> 139 140 <varlistentry id="compile_et"> 141 <term><command>compile_et</command></term> 142 <listitem> 143 <para>An error table compiler; it converts a table of error-code names and 144 messages into a C source file suitable for use with the <filename 145 class="libraryfile">com_err</filename> library</para> 146 <indexterm zone="ch-system-e2fsprogs compile_et"><primary sortas="b-compile_et">compile_et</primary></indexterm> 147 </listitem> 148 </varlistentry> 149 150 <varlistentry id="debugfs"> 151 <term><command>debugfs</command></term> 152 <listitem> 153 <para>A file system debugger; it can be used to examine and change the 154 state of an <systemitem class="filesystem">ext2</systemitem> file system</para> 155 <indexterm zone="ch-system-e2fsprogs debugfs"><primary sortas="b-debugfs">debugfs</primary></indexterm> 156 </listitem> 157 </varlistentry> 158 159 <varlistentry id="dumpe2fs"> 160 <term><command>dumpe2fs</command></term> 161 <listitem> 162 <para>Prints the super block and blocks group information for the file 163 system present on a given device</para> 164 <indexterm zone="ch-system-e2fsprogs dumpe2fs"><primary sortas="b-dumpe2fs">dumpe2fs</primary></indexterm> 165 </listitem> 166 </varlistentry> 167 168 <varlistentry id="e2fsck"> 169 <term><command>e2fsck</command></term> 170 <listitem> 171 <para>Is used to check, and optionally repair <systemitem 172 class="filesystem">ext2</systemitem> file systems and <systemitem 173 class="filesystem">ext3</systemitem> file systems</para> 174 <indexterm zone="ch-system-e2fsprogs e2fsck"><primary sortas="b-e2fsck">e2fsck</primary></indexterm> 175 </listitem> 176 </varlistentry> 177 178 <varlistentry id="e2image"> 179 <term><command>e2image</command></term> 180 <listitem> 181 <para>Is used to save critical <systemitem class="filesystem">ext2</systemitem> 182 file system data to a file</para> 183 <indexterm zone="ch-system-e2fsprogs e2image"><primary sortas="b-e2image">e2image</primary></indexterm> 184 </listitem> 185 </varlistentry> 186 187 <varlistentry id="e2label"> 188 <term><command>e2label</command></term> 189 <listitem> 190 <para>Displays or changes the file system label on the <systemitem 191 class="filesystem">ext2</systemitem> file system present on a given device</para> 192 <indexterm zone="ch-system-e2fsprogs e2label"><primary sortas="b-e2label">e2label</primary></indexterm> 193 </listitem> 194 </varlistentry> 195 196 <varlistentry id="findfs"> 197 <term><command>findfs</command></term> 198 <listitem> 199 <para>Finds a file system by label or Universally Unique Identifier (UUID)</para> 200 <indexterm zone="ch-system-e2fsprogs findfs"><primary sortas="b-findfs">findfs</primary></indexterm> 201 </listitem> 202 </varlistentry> 203 204 <varlistentry id="fsck"> 205 <term><command>fsck</command></term> 206 <listitem> 207 <para>Is used to check, and optionally repair, file systems</para> 208 <indexterm zone="ch-system-e2fsprogs fsck"><primary sortas="b-fsck">fsck</primary></indexterm> 209 </listitem> 210 </varlistentry> 211 212 <varlistentry id="fsck.ext2"> 213 <term><command>fsck.ext2</command></term> 214 <listitem> 215 <para>By default checks <systemitem class="filesystem">ext2</systemitem> 216 file systems</para> 217 <indexterm zone="ch-system-e2fsprogs fsck.ext2"><primary 218 sortas="b-fsck.ext2">fsck.ext2</primary></indexterm> 219 </listitem> 220 </varlistentry> 221 222 <varlistentry id="fsck.ext3"> 223 <term><command>fsck.ext3</command></term> 224 <listitem> 225 <para>By default checks <systemitem class="filesystem">ext3</systemitem> 226 file systems</para> 227 <indexterm zone="ch-system-e2fsprogs fsck.ext3"><primary 228 sortas="b-fsck.ext3">fsck.ext3</primary></indexterm> 229 </listitem> 230 </varlistentry> 231 232 <varlistentry id="logsave"> 233 <term><command>logsave</command></term> 234 <listitem> 235 <para>Saves the output of a command in a log file</para> 236 <indexterm zone="ch-system-e2fsprogs logsave"><primary sortas="b-logsave">logsave</primary></indexterm> 237 </listitem> 238 </varlistentry> 239 240 <varlistentry id="lsattr"> 241 <term><command>lsattr</command></term> 242 <listitem> 243 <para>Lists the attributes of files on a second extended file system</para> 244 <indexterm zone="ch-system-e2fsprogs lsattr"><primary sortas="b-lsattr">lsattr</primary></indexterm> 245 </listitem> 246 </varlistentry> 247 248 <varlistentry id="mk_cmds"> 249 <term><command>mk_cmds</command></term> 250 <listitem> 251 <para>Converts a table of command names and help messages into a C 252 source file suitable for use with the <filename 253 class="libraryfile">libss</filename> subsystem library</para> 254 <indexterm zone="ch-system-e2fsprogs mk_cmds"><primary sortas="b-mk_cmds">mk_cmds</primary></indexterm> 255 </listitem> 256 </varlistentry> 257 258 <varlistentry id="mke2fs"> 259 <term><command>mke2fs</command></term> 260 <listitem> 261 <para>Creates an ext2 or ext3 file system on the given device</para> 262 <indexterm zone="ch-system-e2fsprogs mke2fs"><primary sortas="b-mke2fs">mke2fs</primary></indexterm> 263 </listitem> 264 </varlistentry> 265 266 <varlistentry id="mkfs.ext2"> 267 <term><command>mkfs.ext2</command></term> 268 <listitem> 269 <para>By default creates <systemitem class="filesystem">ext2</systemitem> 270 file systems</para> 271 <indexterm zone="ch-system-e2fsprogs mkfs.ext2"><primary 272 sortas="b-mkfs.ext2">mkfs.ext2</primary></indexterm> 273 </listitem> 274 </varlistentry> 275 276 <varlistentry id="mkfs.ext3"> 277 <term><command>mkfs.ext3</command></term> 278 <listitem> 279 <para>By default creates <systemitem class="filesystem">ext3</systemitem> 280 file systems</para> 281 <indexterm zone="ch-system-e2fsprogs mkfs.ext3"><primary 282 sortas="b-mkfs.ext3">mkfs.ext3</primary></indexterm> 283 </listitem> 284 </varlistentry> 285 286 <varlistentry id="mklost-found"> 287 <term><command>mklost+found</command></term> 288 <listitem> 289 <para>Used to create a <filename class="directory">lost+found</filename> 290 directory on an <systemitem class="filesystem">ext2</systemitem> file system; 291 it pre-allocates disk blocks to this directory to lighten the task of 292 <command>e2fsck</command></para> 293 <indexterm zone="ch-system-e2fsprogs mklost-found"><primary sortas="b-mklost+found">mklost+found</primary></indexterm> 294 </listitem> 295 </varlistentry> 296 297 <varlistentry id="resize2fs"> 298 <term><command>resize2fs</command></term> 299 <listitem> 300 <para>Can be used to enlarge or shrink an <systemitem 301 class="filesystem">ext2</systemitem> file system</para> 302 <indexterm zone="ch-system-e2fsprogs resize2fs"><primary sortas="b-resize2fs">resize2fs</primary></indexterm> 303 </listitem> 304 </varlistentry> 305 306 <varlistentry id="tune2fs"> 307 <term><command>tune2fs</command></term> 308 <listitem> 309 <para>Adjusts tunable file system parameters on an <systemitem 310 class="filesystem">ext2</systemitem> file system</para> 311 <indexterm zone="ch-system-e2fsprogs tune2fs"><primary sortas="b-tune2fs">tune2fs</primary></indexterm> 312 </listitem> 313 </varlistentry> 314 315 <varlistentry id="uuidgen"> 316 <term><command>uuidgen</command></term> 317 <listitem> 318 <para>Creates new UUIDs. Each new UUID can reasonably be considered unique 319 among all UUIDs created, on the local system and on other systems, in the 320 past and in the future</para> 321 <indexterm zone="ch-system-e2fsprogs uuidgen"><primary sortas="b-uuidgen">uuidgen</primary></indexterm> 322 </listitem> 323 </varlistentry> 324 325 <varlistentry id="libblkid"> 326 <term><filename class="libraryfile">libblkid</filename></term> 327 <listitem> 328 <para>Contains routines for device identification and token extraction</para> 329 <indexterm zone="ch-system-e2fsprogs libblkid"><primary sortas="c-libblkid">libblkid</primary></indexterm> 330 </listitem> 331 </varlistentry> 332 333 <varlistentry id="libcom_err"> 334 <term><filename class="libraryfile">libcom_err</filename></term> 335 <listitem> 336 <para>The common error display routine</para> 337 <indexterm zone="ch-system-e2fsprogs libcom_err"><primary sortas="c-libcom_err">libcom_err</primary></indexterm> 338 </listitem> 339 </varlistentry> 340 341 <varlistentry id="libe2p"> 342 <term><filename class="libraryfile">libe2p</filename></term> 343 <listitem> 344 <para>Used by <command>dumpe2fs</command>, <command>chattr</command>, 345 and <command>lsattr</command></para> 346 <indexterm zone="ch-system-e2fsprogs libe2p"><primary sortas="c-libe2p">libe2p</primary></indexterm> 347 </listitem> 348 </varlistentry> 349 350 <varlistentry id="libext2fs"> 351 <term><filename class="libraryfile">libext2fs</filename></term> 352 <listitem> 353 <para>Contains routines to enable user-level programs to manipulate an 354 <systemitem class="filesystem">ext2</systemitem> file system</para> 355 <indexterm zone="ch-system-e2fsprogs libext2fs"><primary sortas="c-libext2fs">libext2fs</primary></indexterm> 356 </listitem> 357 </varlistentry> 358 359 <varlistentry id="libss"> 360 <term><filename class="libraryfile">libss</filename></term> 361 <listitem> 362 <para>Used by <command>debugfs</command></para> 363 <indexterm zone="ch-system-e2fsprogs libss"><primary sortas="c-libss">libss</primary></indexterm> 364 </listitem> 365 </varlistentry> 366 367 <varlistentry id="libuuid"> 368 <term><filename class="libraryfile">libuuid</filename></term> 369 <listitem> 370 <para>Contains routines for generating unique identifiers for objects 371 that may be accessible beyond the local system</para> 372 <indexterm zone="ch-system-e2fsprogs libuuid"><primary sortas="c-libuuid">libuuid</primary></indexterm> 373 </listitem> 374 </varlistentry> 375 </variablelist> 376 377 </sect2> 114 </sect2> 115 116 <sect2 id="contents-e2fsprogs" role="content"> 117 <title>Contents of E2fsprogs</title> 118 119 <segmentedlist> 120 <segtitle>Installed programs</segtitle> 121 <segtitle>Installed libraries</segtitle> 122 123 <seglistitem> 124 <seg>badblocks, blkid, chattr, compile_et, debugfs, dumpe2fs, e2fsck, 125 e2image, e2label, findfs, fsck, fsck.ext2, fsck.ext3, logsave, lsattr, 126 mk_cmds, mke2fs, mkfs.ext2, mkfs.ext3, mklost+found, resize2fs, 127 tune2fs, and uuidgen.</seg> 128 <seg>libblkid.[a,so], libcom_err.[a,so], libe2p.[a,so], 129 libext2fs.[a,so], libss.[a,so], and libuuid.[a,so]</seg> 130 </seglistitem> 131 </segmentedlist> 132 133 <variablelist> 134 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 135 <?dbfo list-presentation="list"?> 136 <?dbhtml list-presentation="table"?> 137 138 <varlistentry id="badblocks"> 139 <term><command>badblocks</command></term> 140 <listitem> 141 <para>Searches a device (usually a disk partition) for bad 142 blocks</para> 143 <indexterm zone="ch-system-e2fsprogs badblocks"> 144 <primary sortas="b-badblocks">badblocks</primary> 145 </indexterm> 146 </listitem> 147 </varlistentry> 148 149 <varlistentry id="blkid"> 150 <term><command>blkid</command></term> 151 <listitem> 152 <para>A command line utility to locate and print block device 153 attributes</para> 154 <indexterm zone="ch-system-e2fsprogs blkid"> 155 <primary sortas="b-blkid">blkid</primary> 156 </indexterm> 157 </listitem> 158 </varlistentry> 159 160 <varlistentry id="chattr"> 161 <term><command>chattr</command></term> 162 <listitem> 163 <para>Changes the attributes of files on an <systemitem 164 class="filesystem">ext2</systemitem> file system; it also 165 changes <systemitem class="filesystem">ext3</systemitem> 166 file systems, the journaling version of <systemitem 167 class="filesystem">ext2</systemitem> file systems</para> 168 <indexterm zone="ch-system-e2fsprogs chattr"> 169 <primary sortas="b-chattr">chattr</primary> 170 </indexterm> 171 </listitem> 172 </varlistentry> 173 174 <varlistentry id="compile_et"> 175 <term><command>compile_et</command></term> 176 <listitem> 177 <para>An error table compiler; it converts a table of error-code 178 names and messages into a C source file suitable for use with the 179 <filename class="libraryfile">com_err</filename> library</para> 180 <indexterm zone="ch-system-e2fsprogs compile_et"> 181 <primary sortas="b-compile_et">compile_et</primary> 182 </indexterm> 183 </listitem> 184 </varlistentry> 185 186 <varlistentry id="debugfs"> 187 <term><command>debugfs</command></term> 188 <listitem> 189 <para>A file system debugger; it can be used to examine and change 190 the state of an <systemitem class="filesystem">ext2</systemitem> 191 file system</para> 192 <indexterm zone="ch-system-e2fsprogs debugfs"> 193 <primary sortas="b-debugfs">debugfs</primary> 194 </indexterm> 195 </listitem> 196 </varlistentry> 197 198 <varlistentry id="dumpe2fs"> 199 <term><command>dumpe2fs</command></term> 200 <listitem> 201 <para>Prints the super block and blocks group information for the 202 file system present on a given device</para> 203 <indexterm zone="ch-system-e2fsprogs dumpe2fs"> 204 <primary sortas="b-dumpe2fs">dumpe2fs</primary> 205 </indexterm> 206 </listitem> 207 </varlistentry> 208 209 <varlistentry id="e2fsck"> 210 <term><command>e2fsck</command></term> 211 <listitem> 212 <para>Is used to check, and optionally repair <systemitem 213 class="filesystem">ext2</systemitem> file systems and <systemitem 214 class="filesystem">ext3</systemitem> file systems</para> 215 <indexterm zone="ch-system-e2fsprogs e2fsck"> 216 <primary sortas="b-e2fsck">e2fsck</primary> 217 </indexterm> 218 </listitem> 219 </varlistentry> 220 221 <varlistentry id="e2image"> 222 <term><command>e2image</command></term> 223 <listitem> 224 <para>Is used to save critical <systemitem 225 class="filesystem">ext2</systemitem> file system data to a file</para> 226 <indexterm zone="ch-system-e2fsprogs e2image"> 227 <primary sortas="b-e2image">e2image</primary> 228 </indexterm> 229 </listitem> 230 </varlistentry> 231 232 <varlistentry id="e2label"> 233 <term><command>e2label</command></term> 234 <listitem> 235 <para>Displays or changes the file system label on the <systemitem 236 class="filesystem">ext2</systemitem> file system present on a given 237 device</para> 238 <indexterm zone="ch-system-e2fsprogs e2label"> 239 <primary sortas="b-e2label">e2label</primary> 240 </indexterm> 241 </listitem> 242 </varlistentry> 243 244 <varlistentry id="findfs"> 245 <term><command>findfs</command></term> 246 <listitem> 247 <para>Finds a file system by label or Universally Unique Identifier 248 (UUID)</para> 249 <indexterm zone="ch-system-e2fsprogs findfs"> 250 <primary sortas="b-findfs">findfs</primary> 251 </indexterm> 252 </listitem> 253 </varlistentry> 254 255 <varlistentry id="fsck"> 256 <term><command>fsck</command></term> 257 <listitem> 258 <para>Is used to check, and optionally repair, file systems</para> 259 <indexterm zone="ch-system-e2fsprogs fsck"> 260 <primary sortas="b-fsck">fsck</primary> 261 </indexterm> 262 </listitem> 263 </varlistentry> 264 265 <varlistentry id="fsck.ext2"> 266 <term><command>fsck.ext2</command></term> 267 <listitem> 268 <para>By default checks <systemitem class="filesystem">ext2</systemitem> 269 file systems</para> 270 <indexterm zone="ch-system-e2fsprogs fsck.ext2"> 271 <primary sortas="b-fsck.ext2">fsck.ext2</primary> 272 </indexterm> 273 </listitem> 274 </varlistentry> 275 276 <varlistentry id="fsck.ext3"> 277 <term><command>fsck.ext3</command></term> 278 <listitem> 279 <para>By default checks <systemitem class="filesystem">ext3</systemitem> 280 file systems</para> 281 <indexterm zone="ch-system-e2fsprogs fsck.ext3"> 282 <primary sortas="b-fsck.ext3">fsck.ext3</primary> 283 </indexterm> 284 </listitem> 285 </varlistentry> 286 287 <varlistentry id="logsave"> 288 <term><command>logsave</command></term> 289 <listitem> 290 <para>Saves the output of a command in a log file</para> 291 <indexterm zone="ch-system-e2fsprogs logsave"> 292 <primary sortas="b-logsave">logsave</primary> 293 </indexterm> 294 </listitem> 295 </varlistentry> 296 297 <varlistentry id="lsattr"> 298 <term><command>lsattr</command></term> 299 <listitem> 300 <para>Lists the attributes of files on a second extended file 301 system</para> 302 <indexterm zone="ch-system-e2fsprogs lsattr"> 303 <primary sortas="b-lsattr">lsattr</primary> 304 </indexterm> 305 </listitem> 306 </varlistentry> 307 308 <varlistentry id="mk_cmds"> 309 <term><command>mk_cmds</command></term> 310 <listitem> 311 <para>Converts a table of command names and help messages into a C 312 source file suitable for use with the <filename 313 class="libraryfile">libss</filename> subsystem library</para> 314 <indexterm zone="ch-system-e2fsprogs mk_cmds"> 315 <primary sortas="b-mk_cmds">mk_cmds</primary> 316 </indexterm> 317 </listitem> 318 </varlistentry> 319 320 <varlistentry id="mke2fs"> 321 <term><command>mke2fs</command></term> 322 <listitem> 323 <para>Creates an <systemitem class="filesystem">ext2</systemitem> 324 or <systemitem class="filesystem">ext3</systemitem> file system on 325 the given device</para> 326 <indexterm zone="ch-system-e2fsprogs mke2fs"> 327 <primary sortas="b-mke2fs">mke2fs</primary> 328 </indexterm> 329 </listitem> 330 </varlistentry> 331 332 <varlistentry id="mkfs.ext2"> 333 <term><command>mkfs.ext2</command></term> 334 <listitem> 335 <para>By default creates <systemitem class="filesystem">ext2</systemitem> 336 file systems</para> 337 <indexterm zone="ch-system-e2fsprogs mkfs.ext2"> 338 <primary sortas="b-mkfs.ext2">mkfs.ext2</primary> 339 </indexterm> 340 </listitem> 341 </varlistentry> 342 343 <varlistentry id="mkfs.ext3"> 344 <term><command>mkfs.ext3</command></term> 345 <listitem> 346 <para>By default creates <systemitem class="filesystem">ext3</systemitem> 347 file systems</para> 348 <indexterm zone="ch-system-e2fsprogs mkfs.ext3"> 349 <primary sortas="b-mkfs.ext3">mkfs.ext3</primary> 350 </indexterm> 351 </listitem> 352 </varlistentry> 353 354 <varlistentry id="mklost-found"> 355 <term><command>mklost+found</command></term> 356 <listitem> 357 <para>Used to create a <filename class="directory">lost+found</filename> 358 directory on an <systemitem class="filesystem">ext2</systemitem> file 359 system; it pre-allocates disk blocks to this directory to lighten the 360 task of <command>e2fsck</command></para> 361 <indexterm zone="ch-system-e2fsprogs mklost-found"> 362 <primary sortas="b-mklost+found">mklost+found</primary> 363 </indexterm> 364 </listitem> 365 </varlistentry> 366 367 <varlistentry id="resize2fs"> 368 <term><command>resize2fs</command></term> 369 <listitem> 370 <para>Can be used to enlarge or shrink an <systemitem 371 class="filesystem">ext2</systemitem> file system</para> 372 <indexterm zone="ch-system-e2fsprogs resize2fs"> 373 <primary sortas="b-resize2fs">resize2fs</primary> 374 </indexterm> 375 </listitem> 376 </varlistentry> 377 378 <varlistentry id="tune2fs"> 379 <term><command>tune2fs</command></term> 380 <listitem> 381 <para>Adjusts tunable file system parameters on an <systemitem 382 class="filesystem">ext2</systemitem> file system</para> 383 <indexterm zone="ch-system-e2fsprogs tune2fs"> 384 <primary sortas="b-tune2fs">tune2fs</primary> 385 </indexterm> 386 </listitem> 387 </varlistentry> 388 389 <varlistentry id="uuidgen"> 390 <term><command>uuidgen</command></term> 391 <listitem> 392 <para>Creates new UUIDs. Each new UUID can reasonably be considered 393 unique among all UUIDs created, on the local system and on other 394 systems, in the past and in the future</para> 395 <indexterm zone="ch-system-e2fsprogs uuidgen"> 396 <primary sortas="b-uuidgen">uuidgen</primary> 397 </indexterm> 398 </listitem> 399 </varlistentry> 400 401 <varlistentry id="libblkid"> 402 <term><filename class="libraryfile">libblkid</filename></term> 403 <listitem> 404 <para>Contains routines for device identification and token 405 extraction</para> 406 <indexterm zone="ch-system-e2fsprogs libblkid"> 407 <primary sortas="c-libblkid">libblkid</primary> 408 </indexterm> 409 </listitem> 410 </varlistentry> 411 412 <varlistentry id="libcom_err"> 413 <term><filename class="libraryfile">libcom_err</filename></term> 414 <listitem> 415 <para>The common error display routine</para> 416 <indexterm zone="ch-system-e2fsprogs libcom_err"> 417 <primary sortas="c-libcom_err">libcom_err</primary> 418 </indexterm> 419 </listitem> 420 </varlistentry> 421 422 <varlistentry id="libe2p"> 423 <term><filename class="libraryfile">libe2p</filename></term> 424 <listitem> 425 <para>Used by <command>dumpe2fs</command>, <command>chattr</command>, 426 and <command>lsattr</command></para> 427 <indexterm zone="ch-system-e2fsprogs libe2p"> 428 <primary sortas="c-libe2p">libe2p</primary> 429 </indexterm> 430 </listitem> 431 </varlistentry> 432 433 <varlistentry id="libext2fs"> 434 <term><filename class="libraryfile">libext2fs</filename></term> 435 <listitem> 436 <para>Contains routines to enable user-level programs to manipulate an 437 <systemitem class="filesystem">ext2</systemitem> file system</para> 438 <indexterm zone="ch-system-e2fsprogs libext2fs"> 439 <primary sortas="c-libext2fs">libext2fs</primary> 440 </indexterm> 441 </listitem> 442 </varlistentry> 443 444 <varlistentry id="libss"> 445 <term><filename class="libraryfile">libss</filename></term> 446 <listitem> 447 <para>Used by <command>debugfs</command></para> 448 <indexterm zone="ch-system-e2fsprogs libss"> 449 <primary sortas="c-libss">libss</primary> 450 </indexterm> 451 </listitem> 452 </varlistentry> 453 454 <varlistentry id="libuuid"> 455 <term><filename class="libraryfile">libuuid</filename></term> 456 <listitem> 457 <para>Contains routines for generating unique identifiers for objects 458 that may be accessible beyond the local system</para> 459 <indexterm zone="ch-system-e2fsprogs libuuid"> 460 <primary sortas="c-libuuid">libuuid</primary> 461 </indexterm> 462 </listitem> 463 </varlistentry> 464 465 </variablelist> 466 467 </sect2> 378 468 379 469 </sect1> 380
Note:
See TracChangeset
for help on using the changeset viewer.