[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[54e422c1] | 7 |
|
---|
[81fd230] | 8 | <sect1 id="ch-system-e2fsprogs" role="wrap">
|
---|
[54e422c1] | 9 | <?dbhtml filename="e2fsprogs.html"?>
|
---|
| 10 |
|
---|
[e747759] | 11 | <sect1info condition="script">
|
---|
| 12 | <productname>e2fsprogs</productname>
|
---|
| 13 | <productnumber>&e2fsprogs-version;</productnumber>
|
---|
| 14 | <address>&e2fsprogs-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[54e422c1] | 17 | <title>E2fsprogs-&e2fsprogs-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-e2fsprogs">
|
---|
| 20 | <primary sortas="a-E2fsprogs">E2fsprogs</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
[673b0d8] | 25 |
|
---|
[54e422c1] | 26 | <para>The E2fsprogs package contains the utilities for handling the
|
---|
| 27 | <systemitem class="filesystem">ext2</systemitem> file system. It also
|
---|
[2ca8941] | 28 | supports the <systemitem class="filesystem">ext3</systemitem> and
|
---|
[55fa5a3] | 29 | <systemitem class="filesystem">ext4</systemitem> journaling
|
---|
| 30 | file systems.</para>
|
---|
[6370fa6] | 31 |
|
---|
[54e422c1] | 32 | <segmentedlist>
|
---|
| 33 | <segtitle>&buildtime;</segtitle>
|
---|
| 34 | <segtitle>&diskspace;</segtitle>
|
---|
[5888299] | 35 |
|
---|
[54e422c1] | 36 | <seglistitem>
|
---|
[e4a5635] | 37 | <seg>&e2fsprogs-ch6-sbu;</seg>
|
---|
| 38 | <seg>&e2fsprogs-ch6-du;</seg>
|
---|
[54e422c1] | 39 | </seglistitem>
|
---|
| 40 | </segmentedlist>
|
---|
[673b0d8] | 41 |
|
---|
[54e422c1] | 42 | </sect2>
|
---|
| 43 |
|
---|
| 44 | <sect2 role="installation">
|
---|
| 45 | <title>Installation of E2fsprogs</title>
|
---|
[1aff37f] | 46 |
|
---|
[79286f58] | 47 | <para>The E2fsprogs documentation recommends that the package be built in
|
---|
| 48 | a subdirectory of the source tree: </para>
|
---|
[8250be1] | 49 |
|
---|
[0445a3d] | 50 | <screen><userinput remap="pre">mkdir -v build
|
---|
[8250be1] | 51 | cd build</userinput></screen>
|
---|
| 52 |
|
---|
[54e422c1] | 53 | <para>Prepare E2fsprogs for compilation:</para>
|
---|
[73aedd1d] | 54 |
|
---|
[8054162] | 55 | <!--<screen><userinput remap="configure">LIBS=-L/tools/lib \
|
---|
| 56 | CFLAGS=-I/tools/include \
|
---|
[fd824cf] | 57 | CFLAGS=-I/tools/include \
|
---|
| 58 | PKG_CONFIG_PATH=/tools/lib/pkgconfig \
|
---|
[8054162] | 59 | ../configure - -prefix=/usr \-->
|
---|
| 60 | <screen><userinput remap="configure">../configure --prefix=/usr \
|
---|
[eec8fcb] | 61 | --bindir=/bin \
|
---|
[6f16853] | 62 | --with-root-prefix="" \
|
---|
[2c5ca04] | 63 | --enable-elf-shlibs \
|
---|
| 64 | --disable-libblkid \
|
---|
| 65 | --disable-libuuid \
|
---|
| 66 | --disable-uuidd \
|
---|
[9f5aaf7] | 67 | --disable-fsck</userinput></screen>
|
---|
[73aedd1d] | 68 |
|
---|
[54e422c1] | 69 | <variablelist>
|
---|
[053b206] | 70 | <title>The meaning of the environment variable and configure options:</title>
|
---|
[8054162] | 71 | <!--
|
---|
[54e422c1] | 72 | <varlistentry>
|
---|
[053b206] | 73 | <term><parameter>PKG_CONFIG_PATH, LIBS, CFLAGS</parameter></term>
|
---|
[374259a0] | 74 | <listitem>
|
---|
[053b206] | 75 | <para>These variables enable e2fsprogs to be built using the
|
---|
| 76 | <xref linkend="ch-tools-util-linux"/> package built earlier.</para>
|
---|
[374259a0] | 77 | </listitem>
|
---|
| 78 | </varlistentry>
|
---|
[8054162] | 79 | -->
|
---|
[374259a0] | 80 | <varlistentry>
|
---|
[6f16853] | 81 | <term><parameter>--with-root-prefix=""</parameter> and
|
---|
[eec8fcb] | 82 | <parameter>--bindir=/bin</parameter></term>
|
---|
[54e422c1] | 83 | <listitem>
|
---|
| 84 | <para>Certain programs (such as the <command>e2fsck</command>
|
---|
| 85 | program) are considered essential programs. When, for example,
|
---|
[6f16853] | 86 | <filename class="directory">/usr</filename> is not mounted, these
|
---|
[54e422c1] | 87 | programs still need to be available. They belong in directories
|
---|
| 88 | like <filename class="directory">/lib</filename> and <filename
|
---|
[6f16853] | 89 | class="directory">/sbin</filename>. If this option is not passed
|
---|
[54e422c1] | 90 | to E2fsprogs' configure, the programs are installed into the
|
---|
| 91 | <filename class="directory">/usr</filename> directory.</para>
|
---|
| 92 | </listitem>
|
---|
| 93 | </varlistentry>
|
---|
| 94 |
|
---|
| 95 | <varlistentry>
|
---|
| 96 | <term><parameter>--enable-elf-shlibs</parameter></term>
|
---|
| 97 | <listitem>
|
---|
| 98 | <para>This creates the shared libraries which some programs
|
---|
| 99 | in this package use.</para>
|
---|
[68460dd] | 100 | </listitem>
|
---|
| 101 | </varlistentry>
|
---|
| 102 |
|
---|
| 103 | <varlistentry>
|
---|
[1891a2c] | 104 | <term><parameter>--disable-*</parameter></term>
|
---|
[68460dd] | 105 | <listitem>
|
---|
| 106 | <para>This prevents E2fsprogs from building and installing the
|
---|
| 107 | <systemitem class="library">libuuid</systemitem> and
|
---|
[ec8ebf26] | 108 | <systemitem class="library">libblkid</systemitem> libraries, the
|
---|
| 109 | <systemitem class="daemon">uuidd</systemitem> daemon, and the
|
---|
[4f4595c] | 110 | <command>fsck</command> wrapper, as Util-Linux installs more
|
---|
| 111 | recent versions.</para>
|
---|
[54e422c1] | 112 | </listitem>
|
---|
| 113 | </varlistentry>
|
---|
| 114 |
|
---|
| 115 | </variablelist>
|
---|
| 116 |
|
---|
| 117 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 118 |
|
---|
[0445a3d] | 119 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[6c67242] | 120 | <!--
|
---|
[de341d14] | 121 | <para>To set up and run the test suite we need to first link some
|
---|
| 122 | libraries from /tools/lib to a location where the test programs look.
|
---|
[4ae2e7a] | 123 | To run the tests, issue:</para>
|
---|
[6c67242] | 124 | -->
|
---|
| 125 |
|
---|
| 126 | <para>To run the tests, issue:</para>
|
---|
[0445a3d] | 127 |
|
---|
[6c67242] | 128 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
| 129 | <!--ln -sfv /tools/lib/lib{blk,uu}id.so.1 lib -->
|
---|
| 130 | <!--make LD_LIBRARY_PATH=/tools/lib check</userinput></screen>-->
|
---|
[73aedd1d] | 131 |
|
---|
[0f344dd] | 132 | <para>One of the E2fsprogs tests will attempt to allocate 256 MB of memory.
|
---|
[6f16853] | 133 | If you do not have significantly more RAM than this, be sure to enable
|
---|
[0f344dd] | 134 | sufficient swap space for the test. See <xref
|
---|
| 135 | linkend="space-creatingfilesystem"/> and <xref linkend="space-mounting"/>
|
---|
[21184ce] | 136 | for details on creating and enabling swap space.</para>
|
---|
[c226182] | 137 |
|
---|
[79286f58] | 138 | <para>Install the binaries, documentation, and shared libraries:</para>
|
---|
[73aedd1d] | 139 |
|
---|
[0445a3d] | 140 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[73aedd1d] | 141 |
|
---|
[813c938] | 142 | <para>Install the static libraries and headers:</para>
|
---|
[73aedd1d] | 143 |
|
---|
[2c5ca04] | 144 | <screen><userinput remap="install">make install-libs</userinput></screen>
|
---|
[73aedd1d] | 145 |
|
---|
[2ca8941] | 146 | <para>Make the installed static libraries writable so debugging symbols can
|
---|
[f1994dc] | 147 | be removed later:</para>
|
---|
[bdd7f27] | 148 |
|
---|
[d35b7f3] | 149 | <screen><userinput remap="install">chmod -v u+w /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a</userinput></screen>
|
---|
[bdd7f27] | 150 |
|
---|
[64941f4] | 151 | <para>This package installs a gzipped
|
---|
| 152 | <filename class="extension">.info</filename> file but doesn't update the
|
---|
| 153 | system-wide <filename>dir</filename> file. Unzip this file and then update
|
---|
| 154 | the system <filename>dir</filename> file using the following
|
---|
[540dde1] | 155 | commands:</para>
|
---|
[64941f4] | 156 |
|
---|
| 157 | <screen><userinput remap="install">gunzip -v /usr/share/info/libext2fs.info.gz
|
---|
[9f5aaf7] | 158 | install-info --dir-file=/usr/share/info/dir /usr/share/info/libext2fs.info</userinput></screen>
|
---|
[64941f4] | 159 |
|
---|
| 160 | <para>If desired, create and install some additional documentation by
|
---|
| 161 | issuing the following commands:</para>
|
---|
| 162 |
|
---|
[a68cefc] | 163 | <screen><userinput remap="install">makeinfo -o doc/com_err.info ../lib/et/com_err.texinfo
|
---|
[64941f4] | 164 | install -v -m644 doc/com_err.info /usr/share/info
|
---|
[9f5aaf7] | 165 | install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userinput></screen>
|
---|
[54e422c1] | 166 | </sect2>
|
---|
| 167 |
|
---|
| 168 | <sect2 id="contents-e2fsprogs" role="content">
|
---|
| 169 | <title>Contents of E2fsprogs</title>
|
---|
| 170 |
|
---|
| 171 | <segmentedlist>
|
---|
| 172 | <segtitle>Installed programs</segtitle>
|
---|
| 173 | <segtitle>Installed libraries</segtitle>
|
---|
[1d6f204] | 174 | <segtitle>Installed directories</segtitle>
|
---|
[54e422c1] | 175 |
|
---|
| 176 | <seglistitem>
|
---|
[f6b1d91] | 177 | <seg>badblocks, chattr, compile_et, debugfs, dumpe2fs,e2freefrag,
|
---|
| 178 | e2fsck, e2image, e2label, e2undo, e4defrag, filefrag, fsck.ext2,
|
---|
[cd82ee5] | 179 | fsck.ext3, fsck.ext4, fsck.ext4dev, logsave, lsattr, mk_cmds, mke2fs,
|
---|
[040ecb6] | 180 | mkfs.ext2, mkfs.ext3, mkfs.ext4, mkfs.ext4dev, mklost+found,
|
---|
[cd82ee5] | 181 | resize2fs, and tune2fs</seg>
|
---|
[040ecb6] | 182 | <seg>libcom_err.so, libe2p.so, libext2fs.so, and libss.so</seg>
|
---|
[fe05b08] | 183 | <seg>/usr/include/e2p, /usr/include/et, /usr/include/ext2fs,
|
---|
[040ecb6] | 184 | /usr/include/ss, /usr/share/et, and /usr/share/ss</seg>
|
---|
[54e422c1] | 185 | </seglistitem>
|
---|
| 186 | </segmentedlist>
|
---|
| 187 |
|
---|
| 188 | <variablelist>
|
---|
| 189 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 190 | <?dbfo list-presentation="list"?>
|
---|
| 191 | <?dbhtml list-presentation="table"?>
|
---|
| 192 |
|
---|
| 193 | <varlistentry id="badblocks">
|
---|
| 194 | <term><command>badblocks</command></term>
|
---|
| 195 | <listitem>
|
---|
| 196 | <para>Searches a device (usually a disk partition) for bad
|
---|
| 197 | blocks</para>
|
---|
| 198 | <indexterm zone="ch-system-e2fsprogs badblocks">
|
---|
| 199 | <primary sortas="b-badblocks">badblocks</primary>
|
---|
| 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
| 203 |
|
---|
| 204 | <varlistentry id="chattr">
|
---|
| 205 | <term><command>chattr</command></term>
|
---|
| 206 | <listitem>
|
---|
| 207 | <para>Changes the attributes of files on an <systemitem
|
---|
| 208 | class="filesystem">ext2</systemitem> file system; it also
|
---|
| 209 | changes <systemitem class="filesystem">ext3</systemitem>
|
---|
| 210 | file systems, the journaling version of <systemitem
|
---|
| 211 | class="filesystem">ext2</systemitem> file systems</para>
|
---|
| 212 | <indexterm zone="ch-system-e2fsprogs chattr">
|
---|
| 213 | <primary sortas="b-chattr">chattr</primary>
|
---|
| 214 | </indexterm>
|
---|
| 215 | </listitem>
|
---|
| 216 | </varlistentry>
|
---|
| 217 |
|
---|
| 218 | <varlistentry id="compile_et">
|
---|
| 219 | <term><command>compile_et</command></term>
|
---|
| 220 | <listitem>
|
---|
| 221 | <para>An error table compiler; it converts a table of error-code
|
---|
| 222 | names and messages into a C source file suitable for use with the
|
---|
| 223 | <filename class="libraryfile">com_err</filename> library</para>
|
---|
| 224 | <indexterm zone="ch-system-e2fsprogs compile_et">
|
---|
| 225 | <primary sortas="b-compile_et">compile_et</primary>
|
---|
| 226 | </indexterm>
|
---|
| 227 | </listitem>
|
---|
| 228 | </varlistentry>
|
---|
| 229 |
|
---|
| 230 | <varlistentry id="debugfs">
|
---|
| 231 | <term><command>debugfs</command></term>
|
---|
| 232 | <listitem>
|
---|
| 233 | <para>A file system debugger; it can be used to examine and change
|
---|
| 234 | the state of an <systemitem class="filesystem">ext2</systemitem>
|
---|
| 235 | file system</para>
|
---|
| 236 | <indexterm zone="ch-system-e2fsprogs debugfs">
|
---|
| 237 | <primary sortas="b-debugfs">debugfs</primary>
|
---|
| 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
| 242 | <varlistentry id="dumpe2fs">
|
---|
| 243 | <term><command>dumpe2fs</command></term>
|
---|
| 244 | <listitem>
|
---|
| 245 | <para>Prints the super block and blocks group information for the
|
---|
| 246 | file system present on a given device</para>
|
---|
| 247 | <indexterm zone="ch-system-e2fsprogs dumpe2fs">
|
---|
| 248 | <primary sortas="b-dumpe2fs">dumpe2fs</primary>
|
---|
| 249 | </indexterm>
|
---|
| 250 | </listitem>
|
---|
| 251 | </varlistentry>
|
---|
| 252 |
|
---|
[f6b1d91] | 253 | <varlistentry id="e2freefrag">
|
---|
| 254 | <term><command>e2freefrag</command></term>
|
---|
| 255 | <listitem>
|
---|
[afba93b] | 256 | <para>Reports free space fragmentation information</para>
|
---|
[f6b1d91] | 257 | <indexterm zone="ch-system-e2fsprogs e2freefrag">
|
---|
| 258 | <primary sortas="b-e2freefrag">e2freefrag</primary>
|
---|
| 259 | </indexterm>
|
---|
| 260 | </listitem>
|
---|
| 261 | </varlistentry>
|
---|
| 262 |
|
---|
[54e422c1] | 263 | <varlistentry id="e2fsck">
|
---|
| 264 | <term><command>e2fsck</command></term>
|
---|
| 265 | <listitem>
|
---|
| 266 | <para>Is used to check, and optionally repair <systemitem
|
---|
| 267 | class="filesystem">ext2</systemitem> file systems and <systemitem
|
---|
| 268 | class="filesystem">ext3</systemitem> file systems</para>
|
---|
| 269 | <indexterm zone="ch-system-e2fsprogs e2fsck">
|
---|
| 270 | <primary sortas="b-e2fsck">e2fsck</primary>
|
---|
| 271 | </indexterm>
|
---|
| 272 | </listitem>
|
---|
| 273 | </varlistentry>
|
---|
| 274 |
|
---|
| 275 | <varlistentry id="e2image">
|
---|
| 276 | <term><command>e2image</command></term>
|
---|
| 277 | <listitem>
|
---|
| 278 | <para>Is used to save critical <systemitem
|
---|
| 279 | class="filesystem">ext2</systemitem> file system data to a file</para>
|
---|
| 280 | <indexterm zone="ch-system-e2fsprogs e2image">
|
---|
| 281 | <primary sortas="b-e2image">e2image</primary>
|
---|
| 282 | </indexterm>
|
---|
| 283 | </listitem>
|
---|
| 284 | </varlistentry>
|
---|
[90aae6b] | 285 |
|
---|
[54e422c1] | 286 | <varlistentry id="e2label">
|
---|
| 287 | <term><command>e2label</command></term>
|
---|
| 288 | <listitem>
|
---|
| 289 | <para>Displays or changes the file system label on the <systemitem
|
---|
| 290 | class="filesystem">ext2</systemitem> file system present on a given
|
---|
| 291 | device</para>
|
---|
| 292 | <indexterm zone="ch-system-e2fsprogs e2label">
|
---|
| 293 | <primary sortas="b-e2label">e2label</primary>
|
---|
| 294 | </indexterm>
|
---|
| 295 | </listitem>
|
---|
| 296 | </varlistentry>
|
---|
| 297 |
|
---|
[0b9e193] | 298 | <varlistentry id="e2undo">
|
---|
| 299 | <term><command>e2undo</command></term>
|
---|
| 300 | <listitem>
|
---|
[2ca8941] | 301 | <para>Replays the undo log undo_log for an ext2/ext3/ext4 filesystem
|
---|
[7bb9fda] | 302 | found on a device [This can be used to undo a failed operation by an
|
---|
| 303 | e2fsprogs program.]</para>
|
---|
[0b9e193] | 304 | <indexterm zone="ch-system-e2fsprogs e2undo">
|
---|
| 305 | <primary sortas="b-e2undo">e2undo</primary>
|
---|
| 306 | </indexterm>
|
---|
| 307 | </listitem>
|
---|
| 308 | </varlistentry>
|
---|
| 309 |
|
---|
[f6b1d91] | 310 | <varlistentry id="e4defrag">
|
---|
| 311 | <term><command>e4defrag</command></term>
|
---|
| 312 | <listitem>
|
---|
| 313 | <para>Online defragmenter for ext4 filesystems</para>
|
---|
| 314 | <indexterm zone="ch-system-e2fsprogs e4defrag">
|
---|
| 315 | <primary sortas="b-e4defrag">e4defrag</primary>
|
---|
| 316 | </indexterm>
|
---|
| 317 | </listitem>
|
---|
| 318 | </varlistentry>
|
---|
| 319 |
|
---|
| 320 | <varlistentry id="filefrag">
|
---|
| 321 | <term><command>filefrag</command></term>
|
---|
| 322 | <listitem>
|
---|
| 323 | <para>Reports on how badly fragmented a particular file might be</para>
|
---|
| 324 | <indexterm zone="ch-system-e2fsprogs filefrag">
|
---|
| 325 | <primary sortas="b-filefrag">filefrag</primary>
|
---|
| 326 | </indexterm>
|
---|
| 327 | </listitem>
|
---|
| 328 | </varlistentry>
|
---|
| 329 |
|
---|
[54e422c1] | 330 | <varlistentry id="fsck.ext2">
|
---|
| 331 | <term><command>fsck.ext2</command></term>
|
---|
| 332 | <listitem>
|
---|
| 333 | <para>By default checks <systemitem class="filesystem">ext2</systemitem>
|
---|
[7bb9fda] | 334 | file systems and is a hard link to <command>e2fsck</command></para>
|
---|
[54e422c1] | 335 | <indexterm zone="ch-system-e2fsprogs fsck.ext2">
|
---|
| 336 | <primary sortas="b-fsck.ext2">fsck.ext2</primary>
|
---|
| 337 | </indexterm>
|
---|
| 338 | </listitem>
|
---|
| 339 | </varlistentry>
|
---|
| 340 |
|
---|
| 341 | <varlistentry id="fsck.ext3">
|
---|
| 342 | <term><command>fsck.ext3</command></term>
|
---|
| 343 | <listitem>
|
---|
| 344 | <para>By default checks <systemitem class="filesystem">ext3</systemitem>
|
---|
[7bb9fda] | 345 | file systems and is a hard link to <command>e2fsck</command></para>
|
---|
[54e422c1] | 346 | <indexterm zone="ch-system-e2fsprogs fsck.ext3">
|
---|
| 347 | <primary sortas="b-fsck.ext3">fsck.ext3</primary>
|
---|
| 348 | </indexterm>
|
---|
| 349 | </listitem>
|
---|
| 350 | </varlistentry>
|
---|
| 351 |
|
---|
[0b9e193] | 352 | <varlistentry id="fsck.ext4">
|
---|
| 353 | <term><command>fsck.ext4</command></term>
|
---|
| 354 | <listitem>
|
---|
| 355 | <para>By default checks <systemitem class="filesystem">ext4</systemitem>
|
---|
[7bb9fda] | 356 | file systems and is a hard link to <command>e2fsck</command></para>
|
---|
[0b9e193] | 357 | <indexterm zone="ch-system-e2fsprogs fsck.ext4">
|
---|
| 358 | <primary sortas="b-fsck.ext4">fsck.ext4</primary>
|
---|
| 359 | </indexterm>
|
---|
| 360 | </listitem>
|
---|
| 361 | </varlistentry>
|
---|
| 362 |
|
---|
| 363 | <varlistentry id="fsck.ext4dev">
|
---|
| 364 | <term><command>fsck.ext4dev</command></term>
|
---|
| 365 | <listitem>
|
---|
| 366 | <para>By default checks <systemitem class="filesystem">ext4</systemitem>
|
---|
[7bb9fda] | 367 | development file systems and is a hard link to
|
---|
[afba93b] | 368 | <command>e2fsck</command></para>
|
---|
[0b9e193] | 369 | <indexterm zone="ch-system-e2fsprogs fsck.ext4dev">
|
---|
| 370 | <primary sortas="b-fsck.ext4dev">fsck.ext4dev</primary>
|
---|
| 371 | </indexterm>
|
---|
| 372 | </listitem>
|
---|
| 373 | </varlistentry>
|
---|
| 374 |
|
---|
[54e422c1] | 375 | <varlistentry id="logsave">
|
---|
| 376 | <term><command>logsave</command></term>
|
---|
| 377 | <listitem>
|
---|
| 378 | <para>Saves the output of a command in a log file</para>
|
---|
| 379 | <indexterm zone="ch-system-e2fsprogs logsave">
|
---|
| 380 | <primary sortas="b-logsave">logsave</primary>
|
---|
| 381 | </indexterm>
|
---|
| 382 | </listitem>
|
---|
| 383 | </varlistentry>
|
---|
| 384 |
|
---|
| 385 | <varlistentry id="lsattr">
|
---|
| 386 | <term><command>lsattr</command></term>
|
---|
| 387 | <listitem>
|
---|
| 388 | <para>Lists the attributes of files on a second extended file
|
---|
| 389 | system</para>
|
---|
| 390 | <indexterm zone="ch-system-e2fsprogs lsattr">
|
---|
| 391 | <primary sortas="b-lsattr">lsattr</primary>
|
---|
| 392 | </indexterm>
|
---|
| 393 | </listitem>
|
---|
| 394 | </varlistentry>
|
---|
| 395 |
|
---|
| 396 | <varlistentry id="mk_cmds">
|
---|
| 397 | <term><command>mk_cmds</command></term>
|
---|
| 398 | <listitem>
|
---|
| 399 | <para>Converts a table of command names and help messages into a C
|
---|
| 400 | source file suitable for use with the <filename
|
---|
| 401 | class="libraryfile">libss</filename> subsystem library</para>
|
---|
| 402 | <indexterm zone="ch-system-e2fsprogs mk_cmds">
|
---|
| 403 | <primary sortas="b-mk_cmds">mk_cmds</primary>
|
---|
| 404 | </indexterm>
|
---|
| 405 | </listitem>
|
---|
| 406 | </varlistentry>
|
---|
| 407 |
|
---|
| 408 | <varlistentry id="mke2fs">
|
---|
| 409 | <term><command>mke2fs</command></term>
|
---|
| 410 | <listitem>
|
---|
| 411 | <para>Creates an <systemitem class="filesystem">ext2</systemitem>
|
---|
| 412 | or <systemitem class="filesystem">ext3</systemitem> file system on
|
---|
| 413 | the given device</para>
|
---|
| 414 | <indexterm zone="ch-system-e2fsprogs mke2fs">
|
---|
| 415 | <primary sortas="b-mke2fs">mke2fs</primary>
|
---|
| 416 | </indexterm>
|
---|
| 417 | </listitem>
|
---|
| 418 | </varlistentry>
|
---|
| 419 |
|
---|
| 420 | <varlistentry id="mkfs.ext2">
|
---|
| 421 | <term><command>mkfs.ext2</command></term>
|
---|
| 422 | <listitem>
|
---|
| 423 | <para>By default creates <systemitem class="filesystem">ext2</systemitem>
|
---|
[7bb9fda] | 424 | file systems and is a hard link to <command>mke2fs</command></para>
|
---|
[54e422c1] | 425 | <indexterm zone="ch-system-e2fsprogs mkfs.ext2">
|
---|
| 426 | <primary sortas="b-mkfs.ext2">mkfs.ext2</primary>
|
---|
| 427 | </indexterm>
|
---|
| 428 | </listitem>
|
---|
| 429 | </varlistentry>
|
---|
| 430 |
|
---|
| 431 | <varlistentry id="mkfs.ext3">
|
---|
| 432 | <term><command>mkfs.ext3</command></term>
|
---|
| 433 | <listitem>
|
---|
| 434 | <para>By default creates <systemitem class="filesystem">ext3</systemitem>
|
---|
[7bb9fda] | 435 | file systems and is a hard link to <command>mke2fs</command></para>
|
---|
[54e422c1] | 436 | <indexterm zone="ch-system-e2fsprogs mkfs.ext3">
|
---|
| 437 | <primary sortas="b-mkfs.ext3">mkfs.ext3</primary>
|
---|
| 438 | </indexterm>
|
---|
| 439 | </listitem>
|
---|
| 440 | </varlistentry>
|
---|
| 441 |
|
---|
[0b9e193] | 442 | <varlistentry id="mkfs.ext4">
|
---|
| 443 | <term><command>mkfs.ext4</command></term>
|
---|
| 444 | <listitem>
|
---|
| 445 | <para>By default creates <systemitem class="filesystem">ext4</systemitem>
|
---|
[7bb9fda] | 446 | file systems and is a hard link to <command>mke2fs</command></para>
|
---|
[0b9e193] | 447 | <indexterm zone="ch-system-e2fsprogs mkfs.ext4">
|
---|
| 448 | <primary sortas="b-mkfs.ext4">mkfs.ext4</primary>
|
---|
| 449 | </indexterm>
|
---|
| 450 | </listitem>
|
---|
| 451 | </varlistentry>
|
---|
| 452 |
|
---|
| 453 | <varlistentry id="mkfs.ext4dev">
|
---|
| 454 | <term><command>mkfs.ext4dev</command></term>
|
---|
| 455 | <listitem>
|
---|
| 456 | <para>By default creates <systemitem class="filesystem">ext4</systemitem>
|
---|
[7bb9fda] | 457 | development file systems and is a hard link to <command>mke2fs</command></para>
|
---|
[0b9e193] | 458 | <indexterm zone="ch-system-e2fsprogs mkfs.ext4dev">
|
---|
| 459 | <primary sortas="b-mkfs.ext4dev">mkfs.ext4dev</primary>
|
---|
| 460 | </indexterm>
|
---|
| 461 | </listitem>
|
---|
| 462 | </varlistentry>
|
---|
| 463 |
|
---|
[f6b1d91] | 464 | <varlistentry id="mklost-found">
|
---|
| 465 | <term><command>mklost+found</command></term>
|
---|
| 466 | <listitem>
|
---|
| 467 | <para>Used to create a <filename class="directory">lost+found</filename>
|
---|
| 468 | directory on an <systemitem class="filesystem">ext2</systemitem> file
|
---|
| 469 | system; it pre-allocates disk blocks to this directory to lighten the
|
---|
| 470 | task of <command>e2fsck</command></para>
|
---|
| 471 | <indexterm zone="ch-system-e2fsprogs mklost-found">
|
---|
| 472 | <primary sortas="b-mklost+found">mklost+found</primary>
|
---|
| 473 | </indexterm>
|
---|
| 474 | </listitem>
|
---|
| 475 | </varlistentry>
|
---|
| 476 |
|
---|
[54e422c1] | 477 | <varlistentry id="resize2fs">
|
---|
| 478 | <term><command>resize2fs</command></term>
|
---|
| 479 | <listitem>
|
---|
| 480 | <para>Can be used to enlarge or shrink an <systemitem
|
---|
| 481 | class="filesystem">ext2</systemitem> file system</para>
|
---|
| 482 | <indexterm zone="ch-system-e2fsprogs resize2fs">
|
---|
| 483 | <primary sortas="b-resize2fs">resize2fs</primary>
|
---|
| 484 | </indexterm>
|
---|
| 485 | </listitem>
|
---|
| 486 | </varlistentry>
|
---|
| 487 |
|
---|
| 488 | <varlistentry id="tune2fs">
|
---|
| 489 | <term><command>tune2fs</command></term>
|
---|
| 490 | <listitem>
|
---|
| 491 | <para>Adjusts tunable file system parameters on an <systemitem
|
---|
| 492 | class="filesystem">ext2</systemitem> file system</para>
|
---|
| 493 | <indexterm zone="ch-system-e2fsprogs tune2fs">
|
---|
| 494 | <primary sortas="b-tune2fs">tune2fs</primary>
|
---|
| 495 | </indexterm>
|
---|
[daf1314a] | 496 | </listitem>
|
---|
| 497 | </varlistentry>
|
---|
| 498 |
|
---|
[54e422c1] | 499 | <varlistentry id="libcom_err">
|
---|
| 500 | <term><filename class="libraryfile">libcom_err</filename></term>
|
---|
| 501 | <listitem>
|
---|
| 502 | <para>The common error display routine</para>
|
---|
| 503 | <indexterm zone="ch-system-e2fsprogs libcom_err">
|
---|
| 504 | <primary sortas="c-libcom_err">libcom_err</primary>
|
---|
| 505 | </indexterm>
|
---|
| 506 | </listitem>
|
---|
| 507 | </varlistentry>
|
---|
| 508 |
|
---|
| 509 | <varlistentry id="libe2p">
|
---|
| 510 | <term><filename class="libraryfile">libe2p</filename></term>
|
---|
| 511 | <listitem>
|
---|
| 512 | <para>Used by <command>dumpe2fs</command>, <command>chattr</command>,
|
---|
| 513 | and <command>lsattr</command></para>
|
---|
| 514 | <indexterm zone="ch-system-e2fsprogs libe2p">
|
---|
| 515 | <primary sortas="c-libe2p">libe2p</primary>
|
---|
| 516 | </indexterm>
|
---|
| 517 | </listitem>
|
---|
| 518 | </varlistentry>
|
---|
| 519 |
|
---|
| 520 | <varlistentry id="libext2fs">
|
---|
| 521 | <term><filename class="libraryfile">libext2fs</filename></term>
|
---|
| 522 | <listitem>
|
---|
| 523 | <para>Contains routines to enable user-level programs to manipulate an
|
---|
| 524 | <systemitem class="filesystem">ext2</systemitem> file system</para>
|
---|
| 525 | <indexterm zone="ch-system-e2fsprogs libext2fs">
|
---|
| 526 | <primary sortas="c-libext2fs">libext2fs</primary>
|
---|
| 527 | </indexterm>
|
---|
| 528 | </listitem>
|
---|
| 529 | </varlistentry>
|
---|
[1118b17] | 530 |
|
---|
[54e422c1] | 531 | <varlistentry id="libss">
|
---|
| 532 | <term><filename class="libraryfile">libss</filename></term>
|
---|
| 533 | <listitem>
|
---|
| 534 | <para>Used by <command>debugfs</command></para>
|
---|
| 535 | <indexterm zone="ch-system-e2fsprogs libss">
|
---|
| 536 | <primary sortas="c-libss">libss</primary>
|
---|
| 537 | </indexterm>
|
---|
| 538 | </listitem>
|
---|
| 539 | </varlistentry>
|
---|
| 540 |
|
---|
| 541 | </variablelist>
|
---|
| 542 |
|
---|
| 543 | </sect2>
|
---|
[673b0d8] | 544 |
|
---|
| 545 | </sect1>
|
---|