Browse Source

chapter06: Translate tar instructions

Xi Ruoyao 7 years ago
parent
commit
2837b5e8b7
1 changed files with 12 additions and 11 deletions
  1. 12 11
      chapter06/tar.xml

+ 12 - 11
chapter06/tar.xml

@@ -23,7 +23,7 @@
   <sect2 role="package">
     <title/>
 
-    <para>The Tar package contains an archiving program.</para>
+    <para>Tar 软件包包含一个归档程序。</para>
 
     <segmentedlist>
       <segtitle>&buildtime;</segtitle>
@@ -38,7 +38,7 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>安装Tar</title>
+    <title>安装 Tar</title>
 <!--
     <para>Add a program that generates a man page for tar from the source code:</para>
  
@@ -51,15 +51,16 @@
             --bindir=/bin</userinput></screen>
 
     <variablelist>
-      <title>The meaning of the configure options:</title>
+      <title>配置选项的含义:</title>
 
       <varlistentry>
         <term><envar>FORCE_UNSAFE_CONFIGURE=1</envar></term>
         <listitem>
-          <para>This forces the test for <function>mknod</function> to be run
-          as root.  It is generally considered dangerous to run this test as
-          the root user, but as it is being run on a system that has only been
-          partially built, overriding it is OK.</para>
+          <para>该选项强制以 root 用户身份运行 <function>mknod</function>
+          测试。一般认为以 root 用户身份运行该测试是危险的,
+		  不过由于是在仅仅部分构建好的系统上运行测试,
+		  可以覆盖掉这个安全措施。
+          </para>
         </listitem>
       </varlistentry>
     </variablelist>
@@ -68,11 +69,11 @@
 
 <screen><userinput remap="make">make</userinput></screen>
 
-    <para>To test the results (about 1 SBU), issue:</para>
+    <para>执行下列命令测试编译结果(需要约 1 SBU):</para>
 
 <screen><userinput remap="test">make check</userinput></screen>
 
-    <para>One test, link mismatch, is known to fail.</para>
+    <para>已知一项名为 link mismatch 的测试可能失败。</para>
 
     <para>安装该软件包:</para>
 
@@ -103,8 +104,8 @@ make -C doc install-html docdir=/usr/share/doc/tar-&tar-version;</userinput></sc
       <varlistentry id="tar">
         <term><command>tar</command></term>
         <listitem>
-          <para>Creates, extracts files from, and lists the contents of archives,
-          also known as tarballs</para>
+          <para>创建称为 tarball 的档案文件,从档案文件中提取文件,
+          或列出档案文件内容</para>
           <indexterm zone="ch-system-tar tar">
             <primary sortas="b-tar">tar</primary>
           </indexterm>