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

📄 e2fsprogs.html

📁 CLFS(Cross-Compiled Linux From Scratch)的文档 Version CLFS-SVN-20060417
💻 HTML
字号:
<!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>      7.6.&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;7.&nbsp;If You Are Going to Boot        </h3>      </div>      <ul class="headerlinks">        <li class="prev">          <a accesskey="p" href="zlib.html" title="Zlib-1.2.3">Prev</a>          <p>            Zlib-1.2.3          </p>        </li>        <li class="next">          <a accesskey="n" href="sysvinit.html" title=          "Sysvinit-2.86">Next</a>          <p>            Sysvinit-2.86          </p>        </li>        <li class="up">          <a accesskey="u" href="chapter.html" title=          "Chapter&nbsp;7.&nbsp;If You Are Going to Boot">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">          7.6. 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">            7.6.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=/tools \    --enable-elf-shlibs --disable-evms \    --host=${LFS_TARGET}</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>--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>          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>        <p>          Create needed symlinks for a bootable system:        </p>        <pre class="userinput"><kbd class="command">ln -s /tools/sbin/{fsck.ext2,fsck.ext3,e2fsck} ${LFS}/sbin</kbd></pre>      </div>      <div class="content" lang="en" xml:lang="en">        <p>          Details on this package are located in <a href=          "../final-system/e2fsprogs.html#contents-e2fsprogs" title=          "10.39.2.&nbsp;Contents of E2fsprogs">Section&nbsp;10.39.2,          &ldquo;Contents of E2fsprogs.&rdquo;</a>        </p>      </div>    </div>    <div class="navfooter">      <ul>        <li class="prev">          <a accesskey="p" href="zlib.html" title="Zlib-1.2.3">Prev</a>          <p>            Zlib-1.2.3          </p>        </li>        <li class="next">          <a accesskey="n" href="sysvinit.html" title=          "Sysvinit-2.86">Next</a>          <p>            Sysvinit-2.86          </p>        </li>        <li class="up">          <a accesskey="u" href="chapter.html" title=          "Chapter&nbsp;7.&nbsp;If You Are Going to Boot">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>  </body></html>

⌨️ 快捷键说明

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