[7152faa] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[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 |
|
---|
[8cde104] | 26 | <para>The E2fsprogs package contains the utilities for handling the
|
---|
[54e422c1] | 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>
|
---|
[fb386e0] | 37 | <seg>&e2fsprogs-fin-sbu;</seg>
|
---|
| 38 | <seg>&e2fsprogs-fin-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 |
|
---|
[8cde104] | 47 | <para>The E2fsprogs documentation recommends that the package be built in
|
---|
[79286f58] | 48 | a subdirectory of the source tree: </para>
|
---|
[8250be1] | 49 |
|
---|
[0445a3d] | 50 | <screen><userinput remap="pre">mkdir -v build
|
---|
[1263de24] | 51 | cd build</userinput></screen>
|
---|
[8250be1] | 52 |
|
---|
[8cde104] | 53 | <para>Prepare E2fsprogs for compilation:</para>
|
---|
[73aedd1d] | 54 |
|
---|
[8054162] | 55 | <screen><userinput remap="configure">../configure --prefix=/usr \
|
---|
[9901d50d] | 56 | --sysconfdir=/etc \
|
---|
[2c5ca04] | 57 | --enable-elf-shlibs \
|
---|
| 58 | --disable-libblkid \
|
---|
| 59 | --disable-libuuid \
|
---|
| 60 | --disable-uuidd \
|
---|
[9f5aaf7] | 61 | --disable-fsck</userinput></screen>
|
---|
[73aedd1d] | 62 |
|
---|
[54e422c1] | 63 | <variablelist>
|
---|
[6a156bab] | 64 | <title>The meaning of the configure options:</title>
|
---|
[efcb393] | 65 |
|
---|
[54e422c1] | 66 | <varlistentry>
|
---|
| 67 | <term><parameter>--enable-elf-shlibs</parameter></term>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>This creates the shared libraries which some programs
|
---|
| 70 | in this package use.</para>
|
---|
[68460dd] | 71 | </listitem>
|
---|
| 72 | </varlistentry>
|
---|
| 73 |
|
---|
| 74 | <varlistentry>
|
---|
[1891a2c] | 75 | <term><parameter>--disable-*</parameter></term>
|
---|
[68460dd] | 76 | <listitem>
|
---|
[8cde104] | 77 | <para>These prevent building and installing the
|
---|
[68460dd] | 78 | <systemitem class="library">libuuid</systemitem> and
|
---|
[ec8ebf26] | 79 | <systemitem class="library">libblkid</systemitem> libraries, the
|
---|
| 80 | <systemitem class="daemon">uuidd</systemitem> daemon, and the
|
---|
[8cde104] | 81 | <command>fsck</command> wrapper; util-linux installs more
|
---|
[4f4595c] | 82 | recent versions.</para>
|
---|
[54e422c1] | 83 | </listitem>
|
---|
| 84 | </varlistentry>
|
---|
| 85 |
|
---|
| 86 | </variablelist>
|
---|
| 87 |
|
---|
| 88 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 89 |
|
---|
[0445a3d] | 90 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[6c67242] | 91 |
|
---|
| 92 | <para>To run the tests, issue:</para>
|
---|
[0445a3d] | 93 |
|
---|
[6c67242] | 94 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
[0b52f7ba] | 95 |
|
---|
[55a4043] | 96 | <!-- https://github.com/tytso/e2fsprogs/issues/134 -->
|
---|
| 97 | <para>One test named <filename>m_assume_storage_prezeroed</filename>
|
---|
| 98 | is known to fail.</para>
|
---|
[49170b0a] | 99 |
|
---|
[ad15abd] | 100 | <!-- This is a ridiculous amount now! And is it still true?
|
---|
[c2d2342] | 101 | Does not appear to be true for version 1.46.3. Time with tests
|
---|
| 102 | 26 seconds with tests (With lots of cores and ram and an ssd disk).
|
---|
| 103 |
|
---|
[6a156bab] | 104 | <para>One of the e2fsprogs tests will attempt to allocate 256 MB of memory.
|
---|
[6f16853] | 105 | If you do not have significantly more RAM than this, be sure to enable
|
---|
[0f344dd] | 106 | sufficient swap space for the test. See <xref
|
---|
[afcfd74] | 107 | linkend="ch-partitioning-creatingfilesystem"/> and <xref
|
---|
| 108 | linkend="ch-partitioning-mounting"/>
|
---|
[21184ce] | 109 | for details on creating and enabling swap space.</para>
|
---|
[c2d2342] | 110 |
|
---|
[ad15abd] | 111 | <para>On a spinning disk, the tests take a little more than 4 SBUs. They
|
---|
| 112 | can be much shorter on an SSD (down to about 1.5 SBUs).</para>
|
---|
[c2d2342] | 113 | -->
|
---|
[6b041a0] | 114 | <para>Install the package:</para>
|
---|
[73aedd1d] | 115 |
|
---|
[0445a3d] | 116 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[73aedd1d] | 117 |
|
---|
[cd152f22] | 118 | <para>Remove useless static libraries:</para>
|
---|
[bdd7f27] | 119 |
|
---|
[cd152f22] | 120 | <screen><userinput remap="install">rm -fv /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a</userinput></screen>
|
---|
[bdd7f27] | 121 |
|
---|
[64941f4] | 122 | <para>This package installs a gzipped
|
---|
| 123 | <filename class="extension">.info</filename> file but doesn't update the
|
---|
| 124 | system-wide <filename>dir</filename> file. Unzip this file and then update
|
---|
| 125 | the system <filename>dir</filename> file using the following
|
---|
[540dde1] | 126 | commands:</para>
|
---|
[64941f4] | 127 |
|
---|
| 128 | <screen><userinput remap="install">gunzip -v /usr/share/info/libext2fs.info.gz
|
---|
[9f5aaf7] | 129 | install-info --dir-file=/usr/share/info/dir /usr/share/info/libext2fs.info</userinput></screen>
|
---|
[64941f4] | 130 |
|
---|
| 131 | <para>If desired, create and install some additional documentation by
|
---|
| 132 | issuing the following commands:</para>
|
---|
| 133 |
|
---|
[a68cefc] | 134 | <screen><userinput remap="install">makeinfo -o doc/com_err.info ../lib/et/com_err.texinfo
|
---|
[64941f4] | 135 | install -v -m644 doc/com_err.info /usr/share/info
|
---|
[9f5aaf7] | 136 | install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userinput></screen>
|
---|
[54e422c1] | 137 | </sect2>
|
---|
| 138 |
|
---|
[4049a4b] | 139 | <sect2 id="conf-e2fsprogs" role="configuration">
|
---|
| 140 | <title>Configuring E2fsprogs</title>
|
---|
| 141 |
|
---|
| 142 | <indexterm zone="conf-e2fsprogs">
|
---|
| 143 | <primary sortas="e-/etc/mke2fs.conf">/etc/mke2fs.conf</primary>
|
---|
| 144 | </indexterm>
|
---|
| 145 |
|
---|
| 146 | <para>
|
---|
| 147 | <filename>/etc/mke2fs.conf</filename> contains the default value of
|
---|
| 148 | various command line options of <command>mke2fs</command>. You may
|
---|
| 149 | edit the file to make the default values suitable for your need.
|
---|
| 150 | For example, some utilities (not in LFS or BLFS) cannot recognize a
|
---|
| 151 | <systemitem class='filesystem'>ext4</systemitem> file system with
|
---|
| 152 | <literal>metadata_csum_seed</literal> feature enabled.
|
---|
| 153 | <emphasis role='bold'>If</emphasis> you need such an utility, you may
|
---|
| 154 | remove the feature from the default
|
---|
| 155 | <systemitem class='filesystem'>ext4</systemitem> feature list with the
|
---|
| 156 | command:
|
---|
| 157 | </para>
|
---|
| 158 |
|
---|
| 159 | <screen role='nodump'><userinput>sed 's/metadata_csum_seed,//' -i /etc/mke2fs.conf</userinput></screen>
|
---|
| 160 |
|
---|
| 161 | <para>
|
---|
[ea93c11] | 162 | Read the man page <ulink role='man'
|
---|
| 163 | url='&man;mke2fs.conf.5'>mke2fs.conf(5)</ulink> for details.
|
---|
[4049a4b] | 164 | </para>
|
---|
| 165 | </sect2>
|
---|
| 166 |
|
---|
[54e422c1] | 167 | <sect2 id="contents-e2fsprogs" role="content">
|
---|
| 168 | <title>Contents of E2fsprogs</title>
|
---|
| 169 |
|
---|
| 170 | <segmentedlist>
|
---|
| 171 | <segtitle>Installed programs</segtitle>
|
---|
| 172 | <segtitle>Installed libraries</segtitle>
|
---|
[1d6f204] | 173 | <segtitle>Installed directories</segtitle>
|
---|
[54e422c1] | 174 |
|
---|
| 175 | <seglistitem>
|
---|
[f7ca699b] | 176 | <seg>badblocks, chattr, compile_et, debugfs, dumpe2fs, e2freefrag,
|
---|
[78cc3be] | 177 | e2fsck, e2image, e2label, e2mmpstatus, e2scrub, e2scrub_all, e2undo,
|
---|
| 178 | e4crypt, e4defrag, filefrag, fsck.ext2,
|
---|
| 179 | fsck.ext3, fsck.ext4, logsave, lsattr, mk_cmds, mke2fs,
|
---|
| 180 | mkfs.ext2, mkfs.ext3, mkfs.ext4, 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,
|
---|
[78cc3be] | 184 | /usr/include/ss, /usr/lib/e2fsprogs, /usr/share/et, and
|
---|
| 185 | /usr/share/ss</seg>
|
---|
[54e422c1] | 186 | </seglistitem>
|
---|
| 187 | </segmentedlist>
|
---|
| 188 |
|
---|
| 189 | <variablelist>
|
---|
| 190 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 191 | <?dbfo list-presentation="list"?>
|
---|
| 192 | <?dbhtml list-presentation="table"?>
|
---|
| 193 |
|
---|
| 194 | <varlistentry id="badblocks">
|
---|
| 195 | <term><command>badblocks</command></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>Searches a device (usually a disk partition) for bad
|
---|
| 198 | blocks</para>
|
---|
| 199 | <indexterm zone="ch-system-e2fsprogs badblocks">
|
---|
| 200 | <primary sortas="b-badblocks">badblocks</primary>
|
---|
| 201 | </indexterm>
|
---|
| 202 | </listitem>
|
---|
| 203 | </varlistentry>
|
---|
| 204 |
|
---|
| 205 | <varlistentry id="chattr">
|
---|
| 206 | <term><command>chattr</command></term>
|
---|
| 207 | <listitem>
|
---|
[8cde104] | 208 | <para>Changes the attributes of files on <systemitem
|
---|
| 209 | class="filesystem">ext{234}</systemitem> file systems</para>
|
---|
[54e422c1] | 210 | <indexterm zone="ch-system-e2fsprogs chattr">
|
---|
| 211 | <primary sortas="b-chattr">chattr</primary>
|
---|
| 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
| 215 |
|
---|
| 216 | <varlistentry id="compile_et">
|
---|
| 217 | <term><command>compile_et</command></term>
|
---|
| 218 | <listitem>
|
---|
| 219 | <para>An error table compiler; it converts a table of error-code
|
---|
| 220 | names and messages into a C source file suitable for use with the
|
---|
| 221 | <filename class="libraryfile">com_err</filename> library</para>
|
---|
| 222 | <indexterm zone="ch-system-e2fsprogs compile_et">
|
---|
| 223 | <primary sortas="b-compile_et">compile_et</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
| 228 | <varlistentry id="debugfs">
|
---|
| 229 | <term><command>debugfs</command></term>
|
---|
| 230 | <listitem>
|
---|
| 231 | <para>A file system debugger; it can be used to examine and change
|
---|
[8cde104] | 232 | the state of <systemitem class="filesystem">ext{234}</systemitem>
|
---|
| 233 | file systems</para>
|
---|
[54e422c1] | 234 | <indexterm zone="ch-system-e2fsprogs debugfs">
|
---|
| 235 | <primary sortas="b-debugfs">debugfs</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
| 240 | <varlistentry id="dumpe2fs">
|
---|
| 241 | <term><command>dumpe2fs</command></term>
|
---|
| 242 | <listitem>
|
---|
| 243 | <para>Prints the super block and blocks group information for the
|
---|
| 244 | file system present on a given device</para>
|
---|
| 245 | <indexterm zone="ch-system-e2fsprogs dumpe2fs">
|
---|
| 246 | <primary sortas="b-dumpe2fs">dumpe2fs</primary>
|
---|
| 247 | </indexterm>
|
---|
| 248 | </listitem>
|
---|
| 249 | </varlistentry>
|
---|
| 250 |
|
---|
[f6b1d91] | 251 | <varlistentry id="e2freefrag">
|
---|
| 252 | <term><command>e2freefrag</command></term>
|
---|
| 253 | <listitem>
|
---|
[afba93b] | 254 | <para>Reports free space fragmentation information</para>
|
---|
[f6b1d91] | 255 | <indexterm zone="ch-system-e2fsprogs e2freefrag">
|
---|
| 256 | <primary sortas="b-e2freefrag">e2freefrag</primary>
|
---|
| 257 | </indexterm>
|
---|
| 258 | </listitem>
|
---|
| 259 | </varlistentry>
|
---|
| 260 |
|
---|
[54e422c1] | 261 | <varlistentry id="e2fsck">
|
---|
| 262 | <term><command>e2fsck</command></term>
|
---|
| 263 | <listitem>
|
---|
[8cde104] | 264 | <para>Is used to check and optionally repair <systemitem
|
---|
| 265 | class="filesystem">ext{234}</systemitem> file systems</para>
|
---|
[54e422c1] | 266 | <indexterm zone="ch-system-e2fsprogs e2fsck">
|
---|
| 267 | <primary sortas="b-e2fsck">e2fsck</primary>
|
---|
| 268 | </indexterm>
|
---|
| 269 | </listitem>
|
---|
| 270 | </varlistentry>
|
---|
| 271 |
|
---|
| 272 | <varlistentry id="e2image">
|
---|
| 273 | <term><command>e2image</command></term>
|
---|
| 274 | <listitem>
|
---|
| 275 | <para>Is used to save critical <systemitem
|
---|
[8cde104] | 276 | class="filesystem">ext{234}</systemitem> file system data to a file</para>
|
---|
[54e422c1] | 277 | <indexterm zone="ch-system-e2fsprogs e2image">
|
---|
| 278 | <primary sortas="b-e2image">e2image</primary>
|
---|
| 279 | </indexterm>
|
---|
| 280 | </listitem>
|
---|
| 281 | </varlistentry>
|
---|
[90aae6b] | 282 |
|
---|
[54e422c1] | 283 | <varlistentry id="e2label">
|
---|
| 284 | <term><command>e2label</command></term>
|
---|
| 285 | <listitem>
|
---|
| 286 | <para>Displays or changes the file system label on the <systemitem
|
---|
[8cde104] | 287 | class="filesystem">ext{234}</systemitem> file system on a given
|
---|
[54e422c1] | 288 | device</para>
|
---|
| 289 | <indexterm zone="ch-system-e2fsprogs e2label">
|
---|
| 290 | <primary sortas="b-e2label">e2label</primary>
|
---|
| 291 | </indexterm>
|
---|
| 292 | </listitem>
|
---|
| 293 | </varlistentry>
|
---|
| 294 |
|
---|
[78cc3be] | 295 | <varlistentry id="e2mmpstatus">
|
---|
| 296 | <term><command>e2mmpstatus</command></term>
|
---|
| 297 | <listitem>
|
---|
[8cde104] | 298 | <para>Checks MMP (Multiple Mount Protection) status of an <systemitem
|
---|
| 299 | class="filesystem">ext4</systemitem> file system</para>
|
---|
[78cc3be] | 300 | <indexterm zone="ch-system-e2fsprogs e2mmpstatus">
|
---|
| 301 | <primary sortas="b-e2mmpstatus">e2mmpstatus</primary>
|
---|
| 302 | </indexterm>
|
---|
| 303 | </listitem>
|
---|
| 304 | </varlistentry>
|
---|
| 305 |
|
---|
| 306 | <varlistentry id="e2scrub">
|
---|
| 307 | <term><command>e2scrub</command></term>
|
---|
| 308 | <listitem>
|
---|
[8cde104] | 309 | <para>Checks the contents of a mounted <systemitem
|
---|
| 310 | class="filesystem">ext{234}</systemitem> file system</para>
|
---|
[78cc3be] | 311 | <indexterm zone="ch-system-e2fsprogs e2scrub">
|
---|
| 312 | <primary sortas="b-e2scrub">e2scrub</primary>
|
---|
| 313 | </indexterm>
|
---|
| 314 | </listitem>
|
---|
| 315 | </varlistentry>
|
---|
| 316 |
|
---|
| 317 | <varlistentry id="e2scrub_all">
|
---|
| 318 | <term><command>e2scrub_all</command></term>
|
---|
| 319 | <listitem>
|
---|
[8cde104] | 320 | <para>Checks all mounted <systemitem class="filesystem">ext{234}</systemitem>
|
---|
| 321 | file systems for errors</para>
|
---|
[78cc3be] | 322 | <indexterm zone="ch-system-e2fsprogs e2scrub_all">
|
---|
| 323 | <primary sortas="b-e2scrub_all">e2scrub_all</primary>
|
---|
| 324 | </indexterm>
|
---|
| 325 | </listitem>
|
---|
| 326 | </varlistentry>
|
---|
| 327 |
|
---|
[0b9e193] | 328 | <varlistentry id="e2undo">
|
---|
| 329 | <term><command>e2undo</command></term>
|
---|
| 330 | <listitem>
|
---|
[8cde104] | 331 | <para>Replays the undo log for an <systemitem
|
---|
| 332 | class="filesystem">ext{234}</systemitem> file system
|
---|
| 333 | found on a device. [This can be used to undo a failed operation by an
|
---|
| 334 | E2fsprogs program.]</para>
|
---|
[0b9e193] | 335 | <indexterm zone="ch-system-e2fsprogs e2undo">
|
---|
| 336 | <primary sortas="b-e2undo">e2undo</primary>
|
---|
| 337 | </indexterm>
|
---|
| 338 | </listitem>
|
---|
| 339 | </varlistentry>
|
---|
| 340 |
|
---|
[78cc3be] | 341 | <varlistentry id="e4crypt">
|
---|
| 342 | <term><command>e4crypt</command></term>
|
---|
| 343 | <listitem>
|
---|
[8cde104] | 344 | <para><systemitem class="filesystem">Ext4</systemitem>
|
---|
| 345 | file system encryption utility</para>
|
---|
[78cc3be] | 346 | <indexterm zone="ch-system-e2fsprogs e4crypt">
|
---|
| 347 | <primary sortas="b-e4crypt">e4crypt</primary>
|
---|
| 348 | </indexterm>
|
---|
| 349 | </listitem>
|
---|
| 350 | </varlistentry>
|
---|
| 351 |
|
---|
[f6b1d91] | 352 | <varlistentry id="e4defrag">
|
---|
| 353 | <term><command>e4defrag</command></term>
|
---|
| 354 | <listitem>
|
---|
[8cde104] | 355 | <para>Online defragmenter for <systemitem
|
---|
| 356 | class="filesystem">ext4</systemitem> file systems</para>
|
---|
[f6b1d91] | 357 | <indexterm zone="ch-system-e2fsprogs e4defrag">
|
---|
| 358 | <primary sortas="b-e4defrag">e4defrag</primary>
|
---|
| 359 | </indexterm>
|
---|
| 360 | </listitem>
|
---|
| 361 | </varlistentry>
|
---|
| 362 |
|
---|
| 363 | <varlistentry id="filefrag">
|
---|
| 364 | <term><command>filefrag</command></term>
|
---|
| 365 | <listitem>
|
---|
| 366 | <para>Reports on how badly fragmented a particular file might be</para>
|
---|
| 367 | <indexterm zone="ch-system-e2fsprogs filefrag">
|
---|
| 368 | <primary sortas="b-filefrag">filefrag</primary>
|
---|
| 369 | </indexterm>
|
---|
| 370 | </listitem>
|
---|
| 371 | </varlistentry>
|
---|
| 372 |
|
---|
[54e422c1] | 373 | <varlistentry id="fsck.ext2">
|
---|
| 374 | <term><command>fsck.ext2</command></term>
|
---|
| 375 | <listitem>
|
---|
| 376 | <para>By default checks <systemitem class="filesystem">ext2</systemitem>
|
---|
[7bb9fda] | 377 | file systems and is a hard link to <command>e2fsck</command></para>
|
---|
[54e422c1] | 378 | <indexterm zone="ch-system-e2fsprogs fsck.ext2">
|
---|
| 379 | <primary sortas="b-fsck.ext2">fsck.ext2</primary>
|
---|
| 380 | </indexterm>
|
---|
| 381 | </listitem>
|
---|
| 382 | </varlistentry>
|
---|
| 383 |
|
---|
| 384 | <varlistentry id="fsck.ext3">
|
---|
| 385 | <term><command>fsck.ext3</command></term>
|
---|
| 386 | <listitem>
|
---|
| 387 | <para>By default checks <systemitem class="filesystem">ext3</systemitem>
|
---|
[7bb9fda] | 388 | file systems and is a hard link to <command>e2fsck</command></para>
|
---|
[54e422c1] | 389 | <indexterm zone="ch-system-e2fsprogs fsck.ext3">
|
---|
| 390 | <primary sortas="b-fsck.ext3">fsck.ext3</primary>
|
---|
| 391 | </indexterm>
|
---|
| 392 | </listitem>
|
---|
| 393 | </varlistentry>
|
---|
| 394 |
|
---|
[0b9e193] | 395 | <varlistentry id="fsck.ext4">
|
---|
| 396 | <term><command>fsck.ext4</command></term>
|
---|
| 397 | <listitem>
|
---|
| 398 | <para>By default checks <systemitem class="filesystem">ext4</systemitem>
|
---|
[7bb9fda] | 399 | file systems and is a hard link to <command>e2fsck</command></para>
|
---|
[0b9e193] | 400 | <indexterm zone="ch-system-e2fsprogs fsck.ext4">
|
---|
| 401 | <primary sortas="b-fsck.ext4">fsck.ext4</primary>
|
---|
| 402 | </indexterm>
|
---|
| 403 | </listitem>
|
---|
| 404 | </varlistentry>
|
---|
| 405 |
|
---|
[54e422c1] | 406 | <varlistentry id="logsave">
|
---|
| 407 | <term><command>logsave</command></term>
|
---|
| 408 | <listitem>
|
---|
| 409 | <para>Saves the output of a command in a log file</para>
|
---|
| 410 | <indexterm zone="ch-system-e2fsprogs logsave">
|
---|
| 411 | <primary sortas="b-logsave">logsave</primary>
|
---|
| 412 | </indexterm>
|
---|
| 413 | </listitem>
|
---|
| 414 | </varlistentry>
|
---|
| 415 |
|
---|
| 416 | <varlistentry id="lsattr">
|
---|
| 417 | <term><command>lsattr</command></term>
|
---|
| 418 | <listitem>
|
---|
| 419 | <para>Lists the attributes of files on a second extended file
|
---|
| 420 | system</para>
|
---|
| 421 | <indexterm zone="ch-system-e2fsprogs lsattr">
|
---|
| 422 | <primary sortas="b-lsattr">lsattr</primary>
|
---|
| 423 | </indexterm>
|
---|
| 424 | </listitem>
|
---|
| 425 | </varlistentry>
|
---|
| 426 |
|
---|
| 427 | <varlistentry id="mk_cmds">
|
---|
| 428 | <term><command>mk_cmds</command></term>
|
---|
| 429 | <listitem>
|
---|
| 430 | <para>Converts a table of command names and help messages into a C
|
---|
| 431 | source file suitable for use with the <filename
|
---|
| 432 | class="libraryfile">libss</filename> subsystem library</para>
|
---|
| 433 | <indexterm zone="ch-system-e2fsprogs mk_cmds">
|
---|
| 434 | <primary sortas="b-mk_cmds">mk_cmds</primary>
|
---|
| 435 | </indexterm>
|
---|
| 436 | </listitem>
|
---|
| 437 | </varlistentry>
|
---|
| 438 |
|
---|
| 439 | <varlistentry id="mke2fs">
|
---|
| 440 | <term><command>mke2fs</command></term>
|
---|
| 441 | <listitem>
|
---|
[8cde104] | 442 | <para>Creates an <systemitem class="filesystem">ext{234}</systemitem>
|
---|
| 443 | file system on the given device</para>
|
---|
[54e422c1] | 444 | <indexterm zone="ch-system-e2fsprogs mke2fs">
|
---|
| 445 | <primary sortas="b-mke2fs">mke2fs</primary>
|
---|
| 446 | </indexterm>
|
---|
| 447 | </listitem>
|
---|
| 448 | </varlistentry>
|
---|
| 449 |
|
---|
| 450 | <varlistentry id="mkfs.ext2">
|
---|
| 451 | <term><command>mkfs.ext2</command></term>
|
---|
| 452 | <listitem>
|
---|
| 453 | <para>By default creates <systemitem class="filesystem">ext2</systemitem>
|
---|
[7bb9fda] | 454 | file systems and is a hard link to <command>mke2fs</command></para>
|
---|
[54e422c1] | 455 | <indexterm zone="ch-system-e2fsprogs mkfs.ext2">
|
---|
| 456 | <primary sortas="b-mkfs.ext2">mkfs.ext2</primary>
|
---|
| 457 | </indexterm>
|
---|
| 458 | </listitem>
|
---|
| 459 | </varlistentry>
|
---|
| 460 |
|
---|
| 461 | <varlistentry id="mkfs.ext3">
|
---|
| 462 | <term><command>mkfs.ext3</command></term>
|
---|
| 463 | <listitem>
|
---|
| 464 | <para>By default creates <systemitem class="filesystem">ext3</systemitem>
|
---|
[7bb9fda] | 465 | file systems and is a hard link to <command>mke2fs</command></para>
|
---|
[54e422c1] | 466 | <indexterm zone="ch-system-e2fsprogs mkfs.ext3">
|
---|
| 467 | <primary sortas="b-mkfs.ext3">mkfs.ext3</primary>
|
---|
| 468 | </indexterm>
|
---|
| 469 | </listitem>
|
---|
| 470 | </varlistentry>
|
---|
| 471 |
|
---|
[0b9e193] | 472 | <varlistentry id="mkfs.ext4">
|
---|
| 473 | <term><command>mkfs.ext4</command></term>
|
---|
| 474 | <listitem>
|
---|
| 475 | <para>By default creates <systemitem class="filesystem">ext4</systemitem>
|
---|
[7bb9fda] | 476 | file systems and is a hard link to <command>mke2fs</command></para>
|
---|
[0b9e193] | 477 | <indexterm zone="ch-system-e2fsprogs mkfs.ext4">
|
---|
| 478 | <primary sortas="b-mkfs.ext4">mkfs.ext4</primary>
|
---|
| 479 | </indexterm>
|
---|
| 480 | </listitem>
|
---|
| 481 | </varlistentry>
|
---|
| 482 |
|
---|
[f6b1d91] | 483 | <varlistentry id="mklost-found">
|
---|
| 484 | <term><command>mklost+found</command></term>
|
---|
| 485 | <listitem>
|
---|
[8cde104] | 486 | <para>Creates a <filename class="directory">lost+found</filename>
|
---|
| 487 | directory on an <systemitem class="filesystem">ext{234}</systemitem> file
|
---|
[f6b1d91] | 488 | system; it pre-allocates disk blocks to this directory to lighten the
|
---|
| 489 | task of <command>e2fsck</command></para>
|
---|
| 490 | <indexterm zone="ch-system-e2fsprogs mklost-found">
|
---|
| 491 | <primary sortas="b-mklost+found">mklost+found</primary>
|
---|
| 492 | </indexterm>
|
---|
| 493 | </listitem>
|
---|
| 494 | </varlistentry>
|
---|
| 495 |
|
---|
[54e422c1] | 496 | <varlistentry id="resize2fs">
|
---|
| 497 | <term><command>resize2fs</command></term>
|
---|
| 498 | <listitem>
|
---|
[8cde104] | 499 | <para>Can be used to enlarge or shrink <systemitem
|
---|
| 500 | class="filesystem">ext{234}</systemitem> file systems</para>
|
---|
[54e422c1] | 501 | <indexterm zone="ch-system-e2fsprogs resize2fs">
|
---|
| 502 | <primary sortas="b-resize2fs">resize2fs</primary>
|
---|
| 503 | </indexterm>
|
---|
| 504 | </listitem>
|
---|
| 505 | </varlistentry>
|
---|
| 506 |
|
---|
| 507 | <varlistentry id="tune2fs">
|
---|
| 508 | <term><command>tune2fs</command></term>
|
---|
| 509 | <listitem>
|
---|
[8cde104] | 510 | <para>Adjusts tunable file system parameters on <systemitem
|
---|
| 511 | class="filesystem">ext{234}</systemitem> file systems</para>
|
---|
[54e422c1] | 512 | <indexterm zone="ch-system-e2fsprogs tune2fs">
|
---|
| 513 | <primary sortas="b-tune2fs">tune2fs</primary>
|
---|
| 514 | </indexterm>
|
---|
[daf1314a] | 515 | </listitem>
|
---|
| 516 | </varlistentry>
|
---|
| 517 |
|
---|
[54e422c1] | 518 | <varlistentry id="libcom_err">
|
---|
| 519 | <term><filename class="libraryfile">libcom_err</filename></term>
|
---|
| 520 | <listitem>
|
---|
| 521 | <para>The common error display routine</para>
|
---|
| 522 | <indexterm zone="ch-system-e2fsprogs libcom_err">
|
---|
| 523 | <primary sortas="c-libcom_err">libcom_err</primary>
|
---|
| 524 | </indexterm>
|
---|
| 525 | </listitem>
|
---|
| 526 | </varlistentry>
|
---|
| 527 |
|
---|
| 528 | <varlistentry id="libe2p">
|
---|
| 529 | <term><filename class="libraryfile">libe2p</filename></term>
|
---|
| 530 | <listitem>
|
---|
| 531 | <para>Used by <command>dumpe2fs</command>, <command>chattr</command>,
|
---|
| 532 | and <command>lsattr</command></para>
|
---|
| 533 | <indexterm zone="ch-system-e2fsprogs libe2p">
|
---|
| 534 | <primary sortas="c-libe2p">libe2p</primary>
|
---|
| 535 | </indexterm>
|
---|
| 536 | </listitem>
|
---|
| 537 | </varlistentry>
|
---|
| 538 |
|
---|
| 539 | <varlistentry id="libext2fs">
|
---|
| 540 | <term><filename class="libraryfile">libext2fs</filename></term>
|
---|
| 541 | <listitem>
|
---|
[8cde104] | 542 | <para>Contains routines to enable user-level programs to manipulate
|
---|
| 543 | <systemitem class="filesystem">ext{234}</systemitem> file systems</para>
|
---|
[54e422c1] | 544 | <indexterm zone="ch-system-e2fsprogs libext2fs">
|
---|
| 545 | <primary sortas="c-libext2fs">libext2fs</primary>
|
---|
| 546 | </indexterm>
|
---|
| 547 | </listitem>
|
---|
| 548 | </varlistentry>
|
---|
[1118b17] | 549 |
|
---|
[54e422c1] | 550 | <varlistentry id="libss">
|
---|
| 551 | <term><filename class="libraryfile">libss</filename></term>
|
---|
| 552 | <listitem>
|
---|
| 553 | <para>Used by <command>debugfs</command></para>
|
---|
| 554 | <indexterm zone="ch-system-e2fsprogs libss">
|
---|
| 555 | <primary sortas="c-libss">libss</primary>
|
---|
| 556 | </indexterm>
|
---|
| 557 | </listitem>
|
---|
| 558 | </varlistentry>
|
---|
| 559 |
|
---|
| 560 | </variablelist>
|
---|
| 561 |
|
---|
| 562 | </sect2>
|
---|
[673b0d8] | 563 |
|
---|
| 564 | </sect1>
|
---|