Преглед изворни кода

Minor language fix

and a typo in chapter03
Xi Ruoyao пре 7 година
родитељ
комит
c60d302d17

+ 1 - 1
chapter03/patches.xml

@@ -16,7 +16,7 @@
   make the packages easier to work with. The following patches will be
   needed to build an LFS system:</para-->
   <para>除了软件包外,我们还需要一些补丁。
-	  有些补丁解决了本应由维护者修复的问题,有些则对软件包进行微小的修改,
+	  有些补丁解决了本应由维护者修复的问题,有些则对软件包进行微小的修改,
 	  使得它们更容易使用。构建 LFS 系统需要下列补丁:</para>
 
   <variablelist role="materials">

+ 5 - 5
chapter04/abouttestsuites.xml

@@ -64,11 +64,11 @@
   correctly. This issue is discussed in greater detail at
   <ulink url="&lfs-root;lfs/faq.html#no-ptys"/>.</para-->
   <para>在运行 Binutils 和 GCC 的测试套件时,最普遍发生的问题是虚拟终端
-  	  (PTY) 被耗尽,这会导致大量测试出现失败结果。
-	  这种现象有多种可能原因,但最常见的原因是宿主系统没有正确设置
-	  <systemitem class="filesystem">devpts</systemitem> 文件系统。
-	  关于这个问题的更多细节在
-	  <ulink url="&lfs-root;lfs/faq.html#no-ptys"/> 中进行了讨论。</para>
+  (PTY) 被耗尽,这会导致大量测试出现失败结果。
+  这种现象有多种可能原因,但最常见的原因是宿主系统没有正确设置
+  <systemitem class="filesystem">devpts</systemitem> 文件系统。
+  关于这个问题的更多细节在
+  <ulink url="&lfs-root;lfs/faq.html#no-ptys"/> 中进行了讨论。</para>
 
   <!--para>Sometimes package test suites will fail, but for reasons which the
   developers are aware of and have deemed non-critical. Consult the logs located

+ 5 - 5
chapter04/addinguser.xml

@@ -19,13 +19,13 @@
   <systemitem class="groupname">lfs</systemitem>) and use this user during
   the installation process. As <systemitem class="username">root</systemitem>,
   issue the following commands to add the new user:</para-->
-  <para>作为 <systemitem class="username">root</systemitem> 用户登录时,
-	  一个简单的错误就可能损坏或摧毁整个系统。
+  <para>作为 <systemitem class="username">root</systemitem> 用户登录时,
+	  一个微小的错误就可能损坏甚至摧毁整个系统。
 	  因此,我们建议以非特权用户身份编译
 	  <xref linkend="chapter-temporary-tools"/> 中的软件包。
-	  您可以用自己的系统用户,但为了更容易地建立一个干净的工作环境,
-	  您最好创建一个叫做 <systemitem class="username">lfs</systemitem>
-	  的新用户,以及它从属于的一个新组 (这个组也叫做
+	  您可以使用自己的系统用户,但为了更容易地建立一个干净的工作环境,
+	  最好创建一个名为 <systemitem class="username">lfs</systemitem>
+	  的新用户,以及它从属于的一个新组 (组名也是
 	  <systemitem class="groupname">lfs</systemitem>) ,
 	  以便我们在编译过程中使用。为了创建新用户,以
 	  <systemitem class="username">root</systemitem> 身份执行下列命令:

+ 1 - 1
chapter04/creatingtoolsdir.xml

@@ -32,7 +32,7 @@
   <!--para>Create the required directory by running the following as
   <systemitem class="username">root</systemitem>:</para-->
   <para>以 <systemitem class="username">root</systemitem> 身份执行下列命令,
-	  创建这个目录:</para>
+	  创建这个目录:</para>
 
 <screen><userinput>mkdir -v $LFS/tools</userinput></screen>
 

+ 2 - 2
chapter04/settingenviron.xml

@@ -17,7 +17,7 @@
   <para>为了配置一个好的工作环境,我们为 <command>bash</command>
 	  创建两个新的启动脚本。以
 	  <systemitem class="username">lfs</systemitem> 的身份,执行下列命令,
-	  创建一个新的 <filename>.bash_profile</filename>:</para>
+	  创建一个新的 <filename>.bash_profile</filename>:</para>
 
 <screen><userinput>cat &gt; ~/.bash_profile &lt;&lt; "EOF"
 <literal>exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash</literal>
@@ -35,7 +35,7 @@ EOF</userinput></screen>
   leak into the build environment. The technique used here achieves the goal of
   ensuring a clean environment.</para-->
 
-  <para>在以 <systemitem class="username">lfs</systemitem> 身份登录时,
+  <para>在以 <systemitem class="username">lfs</systemitem> 用户登录时,
   初始的 shell 一般是一个 <emphasis>登录</emphasis> shell。它读取宿主系统的
   <filename>/etc/profile</filename> 文件 (可能包含一些设置和环境变量),
   然后读取 <filename>.bash_profile</filename> 。