|
@@ -23,11 +23,10 @@
|
|
|
<sect2 role="package">
|
|
|
<title/>
|
|
|
|
|
|
- <para>The E2fsprogs package contains the utilities for handling the
|
|
|
- <systemitem class="filesystem">ext2</systemitem> file system. It also
|
|
|
- supports the <systemitem class="filesystem">ext3</systemitem> and
|
|
|
- <systemitem class="filesystem">ext4</systemitem> journaling
|
|
|
- file systems.</para>
|
|
|
+ <para>E2fsprogs 软件包包含处理
|
|
|
+ <systemitem class="filesystem">ext2</systemitem> 文件系统的工具。
|
|
|
+ 此外它也支持 <systemitem class="filesystem">ext3</systemitem> 和
|
|
|
+ <systemitem class="filesystem">ext4</systemitem> 日志文件系统。</para>
|
|
|
|
|
|
<segmentedlist>
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
@@ -42,14 +41,14 @@
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
- <title>安装E2fsprogs</title>
|
|
|
+ <title>安装 E2fsprogs</title>
|
|
|
<!--
|
|
|
<para>First, fix a script that adjusts testing output:</para>
|
|
|
|
|
|
<screen><userinput remap="pre">sed -i -e 's:\[\.-\]::' tests/filter.sed</userinput></screen>
|
|
|
-->
|
|
|
- <para>The E2fsprogs documentation recommends that the package be built in
|
|
|
- a subdirectory of the source tree: </para>
|
|
|
+ <para>E2fsprogs 文档推荐在源代码目录树中的一个子目录中构建该软件包:
|
|
|
+ </para>
|
|
|
|
|
|
<screen><userinput remap="pre">mkdir -v build
|
|
|
cd build</userinput></screen>
|
|
@@ -69,13 +68,13 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \
|
|
|
--disable-fsck</userinput></screen>
|
|
|
|
|
|
<variablelist>
|
|
|
- <title>The meaning of the environment variable and configure options:</title>
|
|
|
+ <title>环境变量和配置选项的含义:</title>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term><parameter>PKG_CONFIG_PATH, LIBS, CFLAGS</parameter></term>
|
|
|
<listitem>
|
|
|
- <para>These variables enable e2fsprogs to be built using the
|
|
|
- <xref linkend="ch-tools-util-linux"/> package built earlier.</para>
|
|
|
+ <para>这些变量使得 e2fsprog 在构建时使用之前构建的
|
|
|
+ <xref linkend="ch-tools-util-linux"/> 软件包。</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
@@ -83,34 +82,33 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \
|
|
|
<term><parameter>--with-root-prefix=""</parameter> and
|
|
|
<parameter>--bindir=/bin</parameter></term>
|
|
|
<listitem>
|
|
|
- <para>Certain programs (such as the <command>e2fsck</command>
|
|
|
- program) are considered essential programs. When, for example,
|
|
|
- <filename class="directory">/usr</filename> is not mounted, these
|
|
|
- programs still need to be available. They belong in directories
|
|
|
- like <filename class="directory">/lib</filename> and <filename
|
|
|
- class="directory">/sbin</filename>. If this option is not passed
|
|
|
- to E2fsprogs' configure, the programs are installed into the
|
|
|
- <filename class="directory">/usr</filename> directory.</para>
|
|
|
+ <para>某些程序(例如 <command>e2fsck</command>
|
|
|
+ 程序)被认为是关键的。在
|
|
|
+ <filename class="directory">/usr</filename> 尚未挂载等情况下,
|
|
|
+ 这些程序仍然必须可用。它们应该放置在
|
|
|
+ <filename class="directory">/lib</filename> 和 <filename
|
|
|
+ class="directory">/sbin</filename> 等目录中。如果没有向
|
|
|
+ e2fsprogs 配置脚本传递该参数,这些程序会被安装到
|
|
|
+ <filename class="directory">/usr</filename> 目录。</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term><parameter>--enable-elf-shlibs</parameter></term>
|
|
|
<listitem>
|
|
|
- <para>This creates the shared libraries which some programs
|
|
|
- in this package use.</para>
|
|
|
+ <para>该选项表示创建该软件包中一些程序使用的共享库。</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term><parameter>--disable-*</parameter></term>
|
|
|
<listitem>
|
|
|
- <para>This prevents E2fsprogs from building and installing the
|
|
|
- <systemitem class="library">libuuid</systemitem> and
|
|
|
- <systemitem class="library">libblkid</systemitem> libraries, the
|
|
|
- <systemitem class="daemon">uuidd</systemitem> daemon, and the
|
|
|
- <command>fsck</command> wrapper, as Util-Linux installs more
|
|
|
- recent versions.</para>
|
|
|
+ <para>该选项防止 e2fsprogs 构建和安装
|
|
|
+ <systemitem class="library">libuuid</systemitem> 和
|
|
|
+ <systemitem class="library">libblkid</systemitem> 库,
|
|
|
+ <systemitem class="daemon">uuidd</systemitem> 守护程序,以及
|
|
|
+ <command>fsck</command> 包装器, 因为 Util-linux 会安装更新的版本。
|
|
|
+ </para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
@@ -120,43 +118,45 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \
|
|
|
|
|
|
<screen><userinput remap="make">make</userinput></screen>
|
|
|
|
|
|
- <para>To set up and run the test suite we need to first link some
|
|
|
- libraries from /tools/lib to a location where the test programs look.
|
|
|
- To run the tests, issue:</para>
|
|
|
+ <para>为了设定和运行测试套件,我们首先要从 /tools/lib
|
|
|
+ 链接一些库到测试程序的搜索位置。执行下列命令运行测试:</para>
|
|
|
|
|
|
<screen><userinput remap="test">ln -sfv /tools/lib/lib{blk,uu}id.so.1 lib
|
|
|
make LD_LIBRARY_PATH=/tools/lib check</userinput></screen>
|
|
|
|
|
|
- <para>One of the E2fsprogs tests will attempt to allocate 256 MB of memory.
|
|
|
+ <!--para>One of the E2fsprogs tests will attempt to allocate 256 MB of memory.
|
|
|
If you do not have significantly more RAM than this, be sure to enable
|
|
|
sufficient swap space for the test. See <xref
|
|
|
linkend="space-creatingfilesystem"/> and <xref linkend="space-mounting"/>
|
|
|
- for details on creating and enabling swap space.</para>
|
|
|
+ for details on creating and enabling swap space.</para-->
|
|
|
+ <para>某个 e2fsprogs 测试会试图分配 256MB 内存。
|
|
|
+ 如果您的内存刚刚超过或者甚至不足这个大小,
|
|
|
+ 一定要为测试启用足够的交换空间。
|
|
|
+ 阅读 <xref linkend="space-creatingfilesystem"/>
|
|
|
+ 和 <xref linkend="space-mounting"/>
|
|
|
+ 了解创建和启用交换空间的详细过程。</para>
|
|
|
|
|
|
- <para>Install the binaries, documentation, and shared libraries:</para>
|
|
|
+ <para>安装二进制程序、文档和共享库:</para>
|
|
|
|
|
|
<screen><userinput remap="install">make install</userinput></screen>
|
|
|
|
|
|
- <para>Install the static libraries and headers:</para>
|
|
|
+ <para>安装静态库和头文件:</para>
|
|
|
|
|
|
<screen><userinput remap="install">make install-libs</userinput></screen>
|
|
|
|
|
|
- <para>Make the installed static libraries writable so debugging symbols can
|
|
|
- be removed later:</para>
|
|
|
+ <para>将安装好的静态库变为可写的,以便之后移除调试符号:</para>
|
|
|
|
|
|
<screen><userinput remap="install">chmod -v u+w /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a</userinput></screen>
|
|
|
|
|
|
- <para>This package installs a gzipped
|
|
|
- <filename class="extension">.info</filename> file but doesn't update the
|
|
|
- system-wide <filename>dir</filename> file. Unzip this file and then update
|
|
|
- the system <filename>dir</filename> file using the following
|
|
|
- commands.</para>
|
|
|
+ <para>该软件包安装了一个 gzip 压缩的
|
|
|
+ <filename class="extension">.info</filename> 文件,却没有更新系统的
|
|
|
+ <filename>dir</filename> 文件。执行下列命令解压该文件,并更新系统
|
|
|
+ <filename>dir</filename> 文件:</para>
|
|
|
|
|
|
<screen><userinput remap="install">gunzip -v /usr/share/info/libext2fs.info.gz
|
|
|
install-info --dir-file=/usr/share/info/dir /usr/share/info/libext2fs.info</userinput></screen>
|
|
|
|
|
|
- <para>If desired, create and install some additional documentation by
|
|
|
- issuing the following commands:</para>
|
|
|
+ <para>如果需要,执行下列命令创建并安装一些额外的文档:</para>
|
|
|
|
|
|
<screen><userinput remap="install">makeinfo -o doc/com_err.info ../lib/et/com_err.texinfo
|
|
|
install -v -m644 doc/com_err.info /usr/share/info
|
|
@@ -176,10 +176,10 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
e2fsck, e2image, e2label, e2undo, e4defrag, filefrag, fsck.ext2,
|
|
|
fsck.ext3, fsck.ext4, fsck.ext4dev, logsave, lsattr, mk_cmds, mke2fs,
|
|
|
mkfs.ext2, mkfs.ext3, mkfs.ext4, mkfs.ext4dev, mklost+found,
|
|
|
- resize2fs, and tune2fs</seg>
|
|
|
- <seg>libcom_err.so, libe2p.so, libext2fs.so, and libss.so</seg>
|
|
|
+ resize2fs, 以及 tune2fs</seg>
|
|
|
+ <seg>libcom_err.so, libe2p.so, libext2fs.so, 以及 libss.so</seg>
|
|
|
<seg>/usr/include/e2p, /usr/include/et, /usr/include/ext2fs,
|
|
|
- /usr/include/ss, /usr/share/et, and /usr/share/ss</seg>
|
|
|
+ /usr/include/ss, /usr/share/et, 以及 /usr/share/ss</seg>
|
|
|
</seglistitem>
|
|
|
</segmentedlist>
|
|
|
|
|
@@ -191,8 +191,7 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="badblocks">
|
|
|
<term><command>badblocks</command></term>
|
|
|
<listitem>
|
|
|
- <para>Searches a device (usually a disk partition) for bad
|
|
|
- blocks</para>
|
|
|
+ <para>在一个设备(一般是磁盘分区)上搜索坏块</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs badblocks">
|
|
|
<primary sortas="b-badblocks">badblocks</primary>
|
|
|
</indexterm>
|
|
@@ -202,11 +201,11 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="chattr">
|
|
|
<term><command>chattr</command></term>
|
|
|
<listitem>
|
|
|
- <para>Changes the attributes of files on an <systemitem
|
|
|
- class="filesystem">ext2</systemitem> file system; it also
|
|
|
- changes <systemitem class="filesystem">ext3</systemitem>
|
|
|
- file systems, the journaling version of <systemitem
|
|
|
- class="filesystem">ext2</systemitem> file systems</para>
|
|
|
+ <para>在 <systemitem class="filesystem">ext2</systemitem>
|
|
|
+ 文件系统上修改文件属性,也适用于
|
|
|
+ <systemitem class="filesystem">ext3</systemitem> 文件系统,
|
|
|
+ 即<systemitem class="filesystem">ext2</systemitem>
|
|
|
+ 文件系统的日志版本</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs chattr">
|
|
|
<primary sortas="b-chattr">chattr</primary>
|
|
|
</indexterm>
|
|
@@ -216,9 +215,10 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="compile_et">
|
|
|
<term><command>compile_et</command></term>
|
|
|
<listitem>
|
|
|
- <para>An error table compiler; it converts a table of error-code
|
|
|
- names and messages into a C source file suitable for use with the
|
|
|
- <filename class="libraryfile">com_err</filename> library</para>
|
|
|
+ <para>一个错误表编译器;
|
|
|
+ 它将包含错误编号名称和消息的表转化成 C 源代码,以和
|
|
|
+ <filename class="libraryfile">com_err</filename>
|
|
|
+ 库一起使用</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs compile_et">
|
|
|
<primary sortas="b-compile_et">compile_et</primary>
|
|
|
</indexterm>
|
|
@@ -228,9 +228,9 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="debugfs">
|
|
|
<term><command>debugfs</command></term>
|
|
|
<listitem>
|
|
|
- <para>A file system debugger; it can be used to examine and change
|
|
|
- the state of an <systemitem class="filesystem">ext2</systemitem>
|
|
|
- file system</para>
|
|
|
+ <para>一个文件系统调试器;可以检验并修改
|
|
|
+ <systemitem class="filesystem">ext2</systemitem>
|
|
|
+ 文件系统的状态</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs debugfs">
|
|
|
<primary sortas="b-debugfs">debugfs</primary>
|
|
|
</indexterm>
|
|
@@ -240,8 +240,7 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="dumpe2fs">
|
|
|
<term><command>dumpe2fs</command></term>
|
|
|
<listitem>
|
|
|
- <para>Prints the super block and blocks group information for the
|
|
|
- file system present on a given device</para>
|
|
|
+ <para>打印给定设备上文件系统的超级块和块组信息</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs dumpe2fs">
|
|
|
<primary sortas="b-dumpe2fs">dumpe2fs</primary>
|
|
|
</indexterm>
|
|
@@ -251,7 +250,7 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="e2freefrag">
|
|
|
<term><command>e2freefrag</command></term>
|
|
|
<listitem>
|
|
|
- <para>Reports free space fragmentation information</para>
|
|
|
+ <para>报告可用空间碎片信息</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs e2freefrag">
|
|
|
<primary sortas="b-e2freefrag">e2freefrag</primary>
|
|
|
</indexterm>
|
|
@@ -261,9 +260,9 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="e2fsck">
|
|
|
<term><command>e2fsck</command></term>
|
|
|
<listitem>
|
|
|
- <para>Is used to check, and optionally repair <systemitem
|
|
|
- class="filesystem">ext2</systemitem> file systems and <systemitem
|
|
|
- class="filesystem">ext3</systemitem> file systems</para>
|
|
|
+ <para>用于检查或修复 <systemitem
|
|
|
+ class="filesystem">ext2</systemitem> 文件系统和 <systemitem
|
|
|
+ class="filesystem">ext3</systemitem> 文件系统</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs e2fsck">
|
|
|
<primary sortas="b-e2fsck">e2fsck</primary>
|
|
|
</indexterm>
|
|
@@ -273,8 +272,9 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="e2image">
|
|
|
<term><command>e2image</command></term>
|
|
|
<listitem>
|
|
|
- <para>Is used to save critical <systemitem
|
|
|
- class="filesystem">ext2</systemitem> file system data to a file</para>
|
|
|
+ <para>用于将 <systemitem
|
|
|
+ class="filesystem">ext2</systemitem> 文件系统关键数据保存到文件
|
|
|
+ </para>
|
|
|
<indexterm zone="ch-system-e2fsprogs e2image">
|
|
|
<primary sortas="b-e2image">e2image</primary>
|
|
|
</indexterm>
|
|
@@ -284,9 +284,8 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="e2label">
|
|
|
<term><command>e2label</command></term>
|
|
|
<listitem>
|
|
|
- <para>Displays or changes the file system label on the <systemitem
|
|
|
- class="filesystem">ext2</systemitem> file system present on a given
|
|
|
- device</para>
|
|
|
+ <para>显示或修改给定设备上的 <systemitem
|
|
|
+ class="filesystem">ext2</systemitem> 文件系统标签</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs e2label">
|
|
|
<primary sortas="b-e2label">e2label</primary>
|
|
|
</indexterm>
|
|
@@ -296,9 +295,8 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="e2undo">
|
|
|
<term><command>e2undo</command></term>
|
|
|
<listitem>
|
|
|
- <para>Replays the undo log undo_log for an ext2/ext3/ext4 filesystem
|
|
|
- found on a device [This can be used to undo a failed operation by an
|
|
|
- e2fsprogs program.]</para>
|
|
|
+ <para>重放设备上找到的 ext2/ext3/ext4 文件系统撤销日志 undo_log
|
|
|
+ [可以用于撤销 e2fsprogs 程序的失败操作。]</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs e2undo">
|
|
|
<primary sortas="b-e2undo">e2undo</primary>
|
|
|
</indexterm>
|
|
@@ -308,7 +306,7 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="e4defrag">
|
|
|
<term><command>e4defrag</command></term>
|
|
|
<listitem>
|
|
|
- <para>Online defragmenter for ext4 filesystems</para>
|
|
|
+ <para>ext4 文件系统在线碎片整理器</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs e4defrag">
|
|
|
<primary sortas="b-e4defrag">e4defrag</primary>
|
|
|
</indexterm>
|
|
@@ -318,7 +316,7 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="filefrag">
|
|
|
<term><command>filefrag</command></term>
|
|
|
<listitem>
|
|
|
- <para>Reports on how badly fragmented a particular file might be</para>
|
|
|
+ <para>报告特定文件碎片化程度</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs filefrag">
|
|
|
<primary sortas="b-filefrag">filefrag</primary>
|
|
|
</indexterm>
|
|
@@ -328,8 +326,9 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="fsck.ext2">
|
|
|
<term><command>fsck.ext2</command></term>
|
|
|
<listitem>
|
|
|
- <para>By default checks <systemitem class="filesystem">ext2</systemitem>
|
|
|
- file systems and is a hard link to <command>e2fsck</command></para>
|
|
|
+ <para>默认情况下检查
|
|
|
+ <systemitem class="filesystem">ext2</systemitem> 文件系统,
|
|
|
+ 是 <command>e2fsck</command> 的硬链接</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs fsck.ext2">
|
|
|
<primary sortas="b-fsck.ext2">fsck.ext2</primary>
|
|
|
</indexterm>
|
|
@@ -339,8 +338,9 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="fsck.ext3">
|
|
|
<term><command>fsck.ext3</command></term>
|
|
|
<listitem>
|
|
|
- <para>By default checks <systemitem class="filesystem">ext3</systemitem>
|
|
|
- file systems and is a hard link to <command>e2fsck</command></para>
|
|
|
+ <para>默认情况下检查
|
|
|
+ <systemitem class="filesystem">ext3</systemitem> 文件系统,
|
|
|
+ 是 <command>e2fsck</command> 的硬链接</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs fsck.ext3">
|
|
|
<primary sortas="b-fsck.ext3">fsck.ext3</primary>
|
|
|
</indexterm>
|
|
@@ -350,8 +350,9 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="fsck.ext4">
|
|
|
<term><command>fsck.ext4</command></term>
|
|
|
<listitem>
|
|
|
- <para>By default checks <systemitem class="filesystem">ext4</systemitem>
|
|
|
- file systems and is a hard link to <command>e2fsck</command></para>
|
|
|
+ <para>默认情况下检查
|
|
|
+ <systemitem class="filesystem">ext4</systemitem> 文件系统,
|
|
|
+ 是 <command>e2fsck</command> 的硬链接</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs fsck.ext4">
|
|
|
<primary sortas="b-fsck.ext4">fsck.ext4</primary>
|
|
|
</indexterm>
|
|
@@ -361,9 +362,9 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="fsck.ext4dev">
|
|
|
<term><command>fsck.ext4dev</command></term>
|
|
|
<listitem>
|
|
|
- <para>By default checks <systemitem class="filesystem">ext4</systemitem>
|
|
|
- development file systems and is a hard link to
|
|
|
- <command>e2fsck</command></para>
|
|
|
+ <para>默认情况下检查
|
|
|
+ <systemitem class="filesystem">ext4</systemitem>
|
|
|
+ 开发版文件系统,是 <command>e2fsck</command> 的硬链接</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs fsck.ext4dev">
|
|
|
<primary sortas="b-fsck.ext4dev">fsck.ext4dev</primary>
|
|
|
</indexterm>
|
|
@@ -373,7 +374,7 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="logsave">
|
|
|
<term><command>logsave</command></term>
|
|
|
<listitem>
|
|
|
- <para>Saves the output of a command in a log file</para>
|
|
|
+ <para>将命令输出保存到日志文件</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs logsave">
|
|
|
<primary sortas="b-logsave">logsave</primary>
|
|
|
</indexterm>
|
|
@@ -383,8 +384,7 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="lsattr">
|
|
|
<term><command>lsattr</command></term>
|
|
|
<listitem>
|
|
|
- <para>Lists the attributes of files on a second extended file
|
|
|
- system</para>
|
|
|
+ <para>列出 ext2 文件系统上的文件属性</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs lsattr">
|
|
|
<primary sortas="b-lsattr">lsattr</primary>
|
|
|
</indexterm>
|
|
@@ -394,9 +394,9 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="mk_cmds">
|
|
|
<term><command>mk_cmds</command></term>
|
|
|
<listitem>
|
|
|
- <para>Converts a table of command names and help messages into a C
|
|
|
- source file suitable for use with the <filename
|
|
|
- class="libraryfile">libss</filename> subsystem library</para>
|
|
|
+ <para>将包含命令名称和帮助信息的表格转换成 C 源代码文件,以便和
|
|
|
+ <filename class="libraryfile">libss</filename>
|
|
|
+ 子系统库一起使用</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs mk_cmds">
|
|
|
<primary sortas="b-mk_cmds">mk_cmds</primary>
|
|
|
</indexterm>
|
|
@@ -406,9 +406,10 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="mke2fs">
|
|
|
<term><command>mke2fs</command></term>
|
|
|
<listitem>
|
|
|
- <para>Creates an <systemitem class="filesystem">ext2</systemitem>
|
|
|
- or <systemitem class="filesystem">ext3</systemitem> file system on
|
|
|
- the given device</para>
|
|
|
+ <para>在给定设备上创建
|
|
|
+ <systemitem class="filesystem">ext2</systemitem> 或
|
|
|
+ <systemitem class="filesystem">ext3</systemitem> 文件系统
|
|
|
+ </para>
|
|
|
<indexterm zone="ch-system-e2fsprogs mke2fs">
|
|
|
<primary sortas="b-mke2fs">mke2fs</primary>
|
|
|
</indexterm>
|
|
@@ -418,8 +419,9 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="mkfs.ext2">
|
|
|
<term><command>mkfs.ext2</command></term>
|
|
|
<listitem>
|
|
|
- <para>By default creates <systemitem class="filesystem">ext2</systemitem>
|
|
|
- file systems and is a hard link to <command>mke2fs</command></para>
|
|
|
+ <para>默认情况下创建
|
|
|
+ <systemitem class="filesystem">ext2</systemitem> 文件系统,
|
|
|
+ 是 <command>mke2fs</command> 的硬链接</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs mkfs.ext2">
|
|
|
<primary sortas="b-mkfs.ext2">mkfs.ext2</primary>
|
|
|
</indexterm>
|
|
@@ -429,8 +431,9 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="mkfs.ext3">
|
|
|
<term><command>mkfs.ext3</command></term>
|
|
|
<listitem>
|
|
|
- <para>By default creates <systemitem class="filesystem">ext3</systemitem>
|
|
|
- file systems and is a hard link to <command>mke2fs</command></para>
|
|
|
+ <para>默认情况下创建
|
|
|
+ <systemitem class="filesystem">ext3</systemitem> 文件系统,
|
|
|
+ 是 <command>mke2fs</command> 的硬链接</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs mkfs.ext3">
|
|
|
<primary sortas="b-mkfs.ext3">mkfs.ext3</primary>
|
|
|
</indexterm>
|
|
@@ -440,8 +443,9 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="mkfs.ext4">
|
|
|
<term><command>mkfs.ext4</command></term>
|
|
|
<listitem>
|
|
|
- <para>By default creates <systemitem class="filesystem">ext4</systemitem>
|
|
|
- file systems and is a hard link to <command>mke2fs</command></para>
|
|
|
+ <para>默认情况下创建
|
|
|
+ <systemitem class="filesystem">ext4</systemitem> 文件系统,
|
|
|
+ 是 <command>mke2fs</command> 的硬链接</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs mkfs.ext4">
|
|
|
<primary sortas="b-mkfs.ext4">mkfs.ext4</primary>
|
|
|
</indexterm>
|
|
@@ -451,8 +455,9 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="mkfs.ext4dev">
|
|
|
<term><command>mkfs.ext4dev</command></term>
|
|
|
<listitem>
|
|
|
- <para>By default creates <systemitem class="filesystem">ext4</systemitem>
|
|
|
- development file systems and is a hard link to <command>mke2fs</command></para>
|
|
|
+ <para>默认情况下创建
|
|
|
+ <systemitem class="filesystem">ext4</systemitem>
|
|
|
+ 开发版文件系统,是 <command>mke2fs</command> 的硬链接</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs mkfs.ext4dev">
|
|
|
<primary sortas="b-mkfs.ext4dev">mkfs.ext4dev</primary>
|
|
|
</indexterm>
|
|
@@ -462,10 +467,9 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="mklost-found">
|
|
|
<term><command>mklost+found</command></term>
|
|
|
<listitem>
|
|
|
- <para>Used to create a <filename class="directory">lost+found</filename>
|
|
|
- directory on an <systemitem class="filesystem">ext2</systemitem> file
|
|
|
- system; it pre-allocates disk blocks to this directory to lighten the
|
|
|
- task of <command>e2fsck</command></para>
|
|
|
+ <para>用于在 <systemitem class="filesystem">ext2</systemitem>
|
|
|
+ 文件系统上创建 <filename class="directory">lost+found</filename>
|
|
|
+ 目录; 它为该目录预先分配磁盘块,以减轻 e2fsck 的负担</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs mklost-found">
|
|
|
<primary sortas="b-mklost+found">mklost+found</primary>
|
|
|
</indexterm>
|
|
@@ -475,8 +479,8 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="resize2fs">
|
|
|
<term><command>resize2fs</command></term>
|
|
|
<listitem>
|
|
|
- <para>Can be used to enlarge or shrink an <systemitem
|
|
|
- class="filesystem">ext2</systemitem> file system</para>
|
|
|
+ <para>可以用于扩大或压缩 <systemitem
|
|
|
+ class="filesystem">ext2</systemitem> 文件系统</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs resize2fs">
|
|
|
<primary sortas="b-resize2fs">resize2fs</primary>
|
|
|
</indexterm>
|
|
@@ -486,8 +490,8 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="tune2fs">
|
|
|
<term><command>tune2fs</command></term>
|
|
|
<listitem>
|
|
|
- <para>Adjusts tunable file system parameters on an <systemitem
|
|
|
- class="filesystem">ext2</systemitem> file system</para>
|
|
|
+ <para>调整 <systemitem
|
|
|
+ class="filesystem">ext2</systemitem> 文件系统的可调参数</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs tune2fs">
|
|
|
<primary sortas="b-tune2fs">tune2fs</primary>
|
|
|
</indexterm>
|
|
@@ -497,7 +501,7 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="libcom_err">
|
|
|
<term><filename class="libraryfile">libcom_err</filename></term>
|
|
|
<listitem>
|
|
|
- <para>The common error display routine</para>
|
|
|
+ <para>公用错误显示子程序</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs libcom_err">
|
|
|
<primary sortas="c-libcom_err">libcom_err</primary>
|
|
|
</indexterm>
|
|
@@ -507,8 +511,8 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="libe2p">
|
|
|
<term><filename class="libraryfile">libe2p</filename></term>
|
|
|
<listitem>
|
|
|
- <para>Used by <command>dumpe2fs</command>, <command>chattr</command>,
|
|
|
- and <command>lsattr</command></para>
|
|
|
+ <para>被 <command>dumpe2fs</command>、<command>chattr</command>,
|
|
|
+ 和 <command>lsattr</command> 使用</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs libe2p">
|
|
|
<primary sortas="c-libe2p">libe2p</primary>
|
|
|
</indexterm>
|
|
@@ -518,8 +522,9 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="libext2fs">
|
|
|
<term><filename class="libraryfile">libext2fs</filename></term>
|
|
|
<listitem>
|
|
|
- <para>Contains routines to enable user-level programs to manipulate an
|
|
|
- <systemitem class="filesystem">ext2</systemitem> file system</para>
|
|
|
+ <para>包含允许用户级程序操纵
|
|
|
+ <systemitem class="filesystem">ext2</systemitem>
|
|
|
+ 文件系统的子程序</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs libext2fs">
|
|
|
<primary sortas="c-libext2fs">libext2fs</primary>
|
|
|
</indexterm>
|
|
@@ -529,7 +534,7 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin
|
|
|
<varlistentry id="libss">
|
|
|
<term><filename class="libraryfile">libss</filename></term>
|
|
|
<listitem>
|
|
|
- <para>Used by <command>debugfs</command></para>
|
|
|
+ <para>被 <command>debugfs</command> 使用</para>
|
|
|
<indexterm zone="ch-system-e2fsprogs libss">
|
|
|
<primary sortas="c-libss">libss</primary>
|
|
|
</indexterm>
|