⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 e2fsprogs.html

📁 CLFS(Cross-Compiled Linux From Scratch)的文档 Version CLFS-SVN-20060417
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">  <head>    <meta http-equiv="Content-Type" content=    "application/xhtml+xml; charset=iso-8859-1" />    <title>      10.39.&nbsp;E2fsprogs-1.38    </title>    <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" />    <meta name="generator" content="DocBook XSL Stylesheets V1.69.1" />    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=    "text/css" media="print" />  </head>  <body id="lfs" class="CLFS-SVN-20060417-MIPS">    <div class="navheader">      <div class="headertitles">        <h4>          Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS        </h4>        <h3>          Chapter&nbsp;10.&nbsp;Installing Basic System Software        </h3>      </div>      <ul class="headerlinks">        <li class="prev">          <a accesskey="p" href="kbd.html" title="Kbd-1.12">Prev</a>          <p>            Kbd-1.12          </p>        </li>        <li class="next">          <a accesskey="n" href="gzip.html" title="Gzip-1.3.5">Next</a>          <p>            Gzip-1.3.5          </p>        </li>        <li class="up">          <a accesskey="u" href="chapter.html" title=          "Chapter&nbsp;10.&nbsp;Installing Basic System Software">Up</a>.        </li>        <li class="home">          <a accesskey="h" href="../index.html" title=          "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS">          Home</a>        </li>      </ul>    </div>    <div class="wrap" lang="en" xml:lang="en">      <div class="titlepage">        <h1 class="sect1">          10.39. E2fsprogs-1.38        </h1>      </div>      <div class="package" lang="en" xml:lang="en">        <p>          The E2fsprogs package contains the utilities for handling the          <tt class="systemitem">ext2</tt> file system. It also supports the          <tt class="systemitem">ext3</tt> journaling file system.        </p>        <div class="segmentedlist">          <div class="seglistitem">            <div class="seg">              <strong><span class="segtitle">Installation depends              on:</span></strong> <span class="seg">Bash, Binutils,              Coreutils, Diffutils, Gawk, GCC, Gettext, Glibc, Grep, Make,              Sed, and Texinfo</span>            </div>          </div>        </div>      </div>      <div class="installation" lang="en" xml:lang="en">        <div class="titlepage">          <h2 class="sect2">            10.39.1. Installation of E2fsprogs          </h2>        </div>        <p>          The E2fsprogs documentation recommends that the package be built in          a subdirectory of the source tree:        </p>        <pre class="userinput"><kbd class="command">mkdir -v buildcd build</kbd></pre>        <p>          Prepare E2fsprogs for compilation:        </p>        <pre class="userinput"><kbd class="command">../configure --prefix=/usr --with-root-prefix="" \    --enable-elf-shlibs --disable-evms</kbd></pre>        <div class="variablelist">          <p class="title">            <b>The meaning of the configure options:</b>          </p>          <dl>            <dt>              <span class="term"><em class=              "parameter"><tt>--with-root-prefix=""</tt></em></span>            </dt>            <dd>              <p>                Certain programs (such as the <span><strong class=                "command">e2fsck</strong></span> program) are considered                essential programs. When, for example, <tt class=                "filename">/usr</tt> is not mounted, these programs still                need to be available. They belong in directories like                <tt class="filename">/lib</tt> and <tt class=                "filename">/sbin</tt>. If this option is not passed to                E2fsprogs' configure, the programs are installed into the                <tt class="filename">/usr</tt> directory.              </p>            </dd>            <dt>              <span class="term"><em class=              "parameter"><tt>--enable-elf-shlibs</tt></em></span>            </dt>            <dd>              <p>                This creates the shared libraries which some programs in this                package use.              </p>            </dd>            <dt>              <span class="term"><em class=              "parameter"><tt>--disable-evms</tt></em></span>            </dt>            <dd>              <p>                This disables the building of the Enterprise Volume                Management System (EVMS) plugin. This plugin is not                up-to-date with the latest EVMS internal interfaces and EVMS                is not installed as part of a base LFS system, so the plugin                is not required. See the EVMS website at <a href=                "http://evms.sourceforge.net/"><i>http://evms.sourceforge.net/</i></a>                for more information regarding EVMS.              </p>            </dd>          </dl>        </div>        <p>          Compile the package:        </p>        <pre class="userinput"><kbd class="command">make</kbd></pre>        <p>          To test the results, issue: <strong class="userinput"><tt>make          check</tt></strong>.        </p>        <p>          Install the binaries and documentation:        </p>        <pre class="userinput"><kbd class="command">make install</kbd></pre>        <p>          Install the shared libraries:        </p>        <pre class="userinput"><kbd class="command">make install-libs</kbd></pre>      </div>      <div class="content" lang="en" xml:lang="en">        <div class="titlepage">          <a id="contents-e2fsprogs" name="contents-e2fsprogs"></a>          <h2 class="sect2">            10.39.2. Contents of E2fsprogs          </h2>        </div>        <div class="segmentedlist">          <div class="seglistitem">            <div class="seg">              <strong><span class="segtitle">Installed              programs:</span></strong> <span class="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.</span>            </div>            <div class="seg">              <strong><span class="segtitle">Installed              libraries:</span></strong> <span class="seg">libblkid.[a,so],              libcom_err.[a,so], libe2p.[a,so], libext2fs.[a,so],              libss.[a,so], and libuuid.[a,so]</span>            </div>          </div>        </div>        <div class="variablelist">          <h3>            <a id="id3682330" name="id3682330"></a>Short Descriptions          </h3>          <table border="0">            <col align="left" valign="top" />            <tbody>              <tr>                <td>                  <a id="badblocks" name="badblocks"></a><span class=                  "term"><span><strong class=                  "command">badblocks</strong></span></span>                </td>                <td>                  <p>                    Searches a device (usually a disk partition) for bad                    blocks                  </p>                </td>              </tr>              <tr>                <td>                  <a id="blkid" name="blkid"></a><span class=                  "term"><span><strong class=                  "command">blkid</strong></span></span>                </td>                <td>                  <p>                    A command line utility to locate and print block device                    attributes                  </p>                </td>              </tr>              <tr>                <td>                  <a id="chattr" name="chattr"></a><span class=                  "term"><span><strong class=                  "command">chattr</strong></span></span>                </td>                <td>                  <p>                    Changes the attributes of files on an <tt class=                    "systemitem">ext2</tt> file system; it also changes                    <tt class="systemitem">ext3</tt> file systems, the                    journaling version of <tt class="systemitem">ext2</tt>                    file systems                  </p>                </td>              </tr>              <tr>                <td>                  <a id="compile_et" name="compile_et"></a><span class=                  "term"><span><strong class=                  "command">compile_et</strong></span></span>                </td>                <td>                  <p>                    An error table compiler; it converts a table of                    error-code names and messages into a C source file                    suitable for use with the <tt class=                    "filename">com_err</tt> library                  </p>                </td>              </tr>              <tr>                <td>                  <a id="debugfs" name="debugfs"></a><span class=                  "term"><span><strong class=                  "command">debugfs</strong></span></span>                </td>                <td>                  <p>                    A file system debugger; it can be used to examine and                    change the state of an <tt class="systemitem">ext2</tt>                    file system                  </p>                </td>              </tr>              <tr>                <td>                  <a id="dumpe2fs" name="dumpe2fs"></a><span class=                  "term"><span><strong class=                  "command">dumpe2fs</strong></span></span>                </td>                <td>                  <p>                    Prints the super block and blocks group information for                    the file system present on a given device                  </p>                </td>              </tr>              <tr>                <td>                  <a id="e2fsck" name="e2fsck"></a><span class=                  "term"><span><strong class=                  "command">e2fsck</strong></span></span>                </td>                <td>                  <p>                    Is used to check, and optionally repair <tt class=                    "systemitem">ext2</tt> file systems and <tt class=                    "systemitem">ext3</tt> file systems                  </p>                </td>              </tr>              <tr>                <td>                  <a id="e2image" name="e2image"></a><span class=                  "term"><span><strong class=                  "command">e2image</strong></span></span>                </td>                <td>                  <p>                    Is used to save critical <tt class="systemitem">ext2</tt>                    file system data to a file                  </p>                </td>              </tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -