mounting.po 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. msgid ""
  2. msgstr ""
  3. "Project-Id-Version: PACKAGE VERSION\n"
  4. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  5. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  6. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  7. "Language-Team: LANGUAGE <LL@li.org>\n"
  8. "Language: zh_CN\n"
  9. "MIME-Version: 1.0\n"
  10. "Content-Type: text/plain; charset=UTF-8\n"
  11. "Content-Transfer-Encoding: 8bit\n"
  12. "X-Generator: Translate Toolkit 2.2.5\n"
  13. #. type: Content of: <sect1><title>
  14. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:11
  15. msgid "Mounting the New Partition"
  16. msgstr "挂载新的分区"
  17. #. type: Content of: <sect1><para>
  18. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:13
  19. msgid ""
  20. "Now that a file system has been created, the partition needs to be made "
  21. "accessible. In order to do this, the partition needs to be mounted at a "
  22. "chosen mount point. For the purposes of this book, it is assumed that the "
  23. "file system is mounted under the directory specified by the <envar>LFS</"
  24. "envar> environment variable as described in the previous section."
  25. msgstr ""
  26. "我们已经在分区上建立了文件系统,为了访问分区,我们需要把分区挂载到选定的挂载"
  27. "点上。正如前一节所述,本书假设将文件系统挂载到 <envar>LFS</envar> 环境变量指"
  28. "定的目录中。"
  29. #. type: Content of: <sect1><para>
  30. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:20
  31. msgid "Create the mount point and mount the LFS file system by running:"
  32. msgstr "输入以下命令以创建挂载点,并挂载 LFS 文件系统:"
  33. #. type: Content of: <sect1><screen>
  34. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:22
  35. #, no-wrap
  36. msgid ""
  37. "<userinput>mkdir -pv $LFS\n"
  38. "mount -v -t ext4 /dev/<replaceable>&lt;xxx&gt;</replaceable> $LFS</userinput>"
  39. msgstr ""
  40. "<userinput>mkdir -pv $LFS\n"
  41. "mount -v -t ext4 /dev/<replaceable>&lt;xxx&gt;</replaceable> $LFS</userinput>"
  42. #. type: Content of: <sect1><para>
  43. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:25
  44. msgid ""
  45. "Replace <replaceable>&lt;xxx&gt;</replaceable> with the designation of the "
  46. "LFS partition."
  47. msgstr "将 <replaceable>&lt;xxx&gt;</replaceable> 替换成 LFS 分区的代号。"
  48. #. type: Content of: <sect1><para>
  49. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:28
  50. msgid ""
  51. "If using multiple partitions for LFS (e.g., one for <filename class="
  52. "\"directory\">/</filename> and another for <filename class=\"directory\">/"
  53. "usr</filename>), mount them using:"
  54. msgstr ""
  55. "如果为 LFS 创建了多个分区 (例如一个作为 <filename class=\"directory\">/</"
  56. "filename>,另一个作为 <filename class=\"directory\">/usr</filename>),那么它"
  57. "们都需要被挂载:"
  58. #. type: Content of: <sect1><screen>
  59. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:32
  60. #, no-wrap
  61. msgid ""
  62. "<userinput>mkdir -pv $LFS\n"
  63. "mount -v -t ext4 /dev/<replaceable>&lt;xxx&gt;</replaceable> $LFS\n"
  64. "mkdir -v $LFS/usr\n"
  65. "mount -v -t ext4 /dev/<replaceable>&lt;yyy&gt;</replaceable> $LFS/usr</userinput>"
  66. msgstr ""
  67. "<userinput>mkdir -pv $LFS\n"
  68. "mount -v -t ext4 /dev/<replaceable>&lt;xxx&gt;</replaceable> $LFS\n"
  69. "mkdir -v $LFS/usr\n"
  70. "mount -v -t ext4 /dev/<replaceable>&lt;yyy&gt;</replaceable> $LFS/usr</userinput>"
  71. #. type: Content of: <sect1><para>
  72. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:37
  73. msgid ""
  74. "Replace <replaceable>&lt;xxx&gt;</replaceable> and <replaceable>&lt;yyy&gt;</"
  75. "replaceable> with the appropriate partition names."
  76. msgstr ""
  77. "将 <replaceable>&lt;xxx&gt;</replaceable> 和 <replaceable>&lt;yyy&gt;</"
  78. "replaceable> 替换成对应的分区代号。"
  79. #. type: Content of: <sect1><para>
  80. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:41
  81. msgid ""
  82. "Ensure that this new partition is not mounted with permissions that are too "
  83. "restrictive (such as the <option>nosuid</option> or <option>nodev</option> "
  84. "options). Run the <command>mount</command> command without any parameters to "
  85. "see what options are set for the mounted LFS partition. If <option>nosuid</"
  86. "option> and/or <option>nodev</option> are set, the partition will need to be "
  87. "remounted."
  88. msgstr ""
  89. "请确认在挂载新分区时没有使用过于严格的安全限制 (比如 <option>nosuid</option> "
  90. "或者 <option>nodev</option> 等选项) 。直接执行不带任何参数的 "
  91. "<command>mount</command> 命令,检查挂载好的 LFS 分区被指定了哪些选项。如果 "
  92. "<option>nodev</option> 或者 <option>nosuid</option> 被设置了,就必须重新挂载"
  93. "分区。"
  94. #. type: Content of: <sect1><warning><para><screen>
  95. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:54
  96. #, no-wrap
  97. msgid "/dev/<replaceable>&lt;xxx&gt;</replaceable> /mnt/lfs ext4 defaults 1 1"
  98. msgstr "/dev/<replaceable>&lt;xxx&gt;</replaceable> /mnt/lfs ext4 defaults 1 1"
  99. #. type: Content of: <sect1><warning><para>
  100. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:48
  101. msgid ""
  102. "The above instructions assume that you will not be restarting your computer "
  103. "throughout the LFS process. If you shut down your system, you will either "
  104. "need to remount the LFS partition each time you restart the build process or "
  105. "modify your host system's /etc/fstab file to automatically remount it upon "
  106. "boot. For example: <placeholder type=\"screen\" id=\"0\"/> If you use "
  107. "additional optional partitions, be sure to add them also."
  108. msgstr ""
  109. "上面的命令假设您在构建 LFS 的过程中不会重启计算机。如果您关闭了系统,那么您"
  110. "要么在继续构建过程时重新挂载分区,要么修改宿主系统的 /etc/fstab 文件,使得"
  111. "系统在引导时自动挂载它们。例如: <placeholder type=\"screen\" id=\"0\"/> 如果"
  112. "您使用了多个分区,它们都需要添加到 fstab 中。"
  113. #. type: Content of: <sect1><para>
  114. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:61
  115. msgid ""
  116. "If you are using a <systemitem class=\"filesystem\">swap</systemitem> "
  117. "partition, ensure that it is enabled using the <command>swapon</command> "
  118. "command:"
  119. msgstr ""
  120. "如果您使用了 <systemitem class=\"filesystem\">swap</systemitem> 分区,使用 "
  121. "<command>swapon</command> 命令启用它:"
  122. #. type: Content of: <sect1><screen>
  123. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:65
  124. #, no-wrap
  125. msgid "<userinput>/sbin/swapon -v /dev/<replaceable>&lt;zzz&gt;</replaceable></userinput>"
  126. msgstr "<userinput>/sbin/swapon -v /dev/<replaceable>&lt;zzz&gt;</replaceable></userinput>"
  127. #. type: Content of: <sect1><para>
  128. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:67
  129. msgid ""
  130. "Replace <replaceable>&lt;zzz&gt;</replaceable> with the name of the "
  131. "<systemitem class=\"filesystem\">swap</systemitem> partition."
  132. msgstr ""
  133. "将 <replaceable>&lt;zzz&gt;</replaceable> 替换成 <systemitem class="
  134. "\"filesystem\">swap</systemitem> 分区的名称。"
  135. #. type: Content of: <sect1><para>
  136. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:70
  137. msgid ""
  138. "Now that there is an established place to work, it is time to download the "
  139. "packages."
  140. msgstr "现在我们准备好了工作环境,可以下载软件包了。"