# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2020-06-17 12:44+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:11 msgid "Mounting the New Partition" msgstr "" #. type: Content of: <sect1><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:13 msgid "" "Now that a file system has been created, the partition needs to be made " "accessible. In order to do this, the partition needs to be mounted at a " "chosen mount point. For the purposes of this book, it is assumed that the " "file system is mounted under the directory specified by the " "<envar>LFS</envar> environment variable as described in the previous " "section." msgstr "" #. type: Content of: <sect1><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:20 msgid "Create the mount point and mount the LFS file system by running:" msgstr "" #. type: Content of: <sect1><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:22 #, no-wrap msgid "" "<userinput>mkdir -pv $LFS\n" "mount -v -t ext4 /dev/<replaceable><xxx></replaceable> " "$LFS</userinput>" msgstr "" #. type: Content of: <sect1><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:25 msgid "" "Replace <replaceable><xxx></replaceable> with the designation of the " "LFS partition." msgstr "" #. type: Content of: <sect1><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:28 msgid "" "If using multiple partitions for LFS (e.g., one for <filename " "class=\"directory\">/</filename> and another for <filename " "class=\"directory\">/usr</filename>), mount them using:" msgstr "" #. type: Content of: <sect1><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:32 #, no-wrap msgid "" "<userinput>mkdir -pv $LFS\n" "mount -v -t ext4 /dev/<replaceable><xxx></replaceable> $LFS\n" "mkdir -v $LFS/usr\n" "mount -v -t ext4 /dev/<replaceable><yyy></replaceable> " "$LFS/usr</userinput>" msgstr "" #. type: Content of: <sect1><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:37 msgid "" "Replace <replaceable><xxx></replaceable> and " "<replaceable><yyy></replaceable> with the appropriate partition names." msgstr "" #. type: Content of: <sect1><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:41 msgid "" "Ensure that this new partition is not mounted with permissions that are too " "restrictive (such as the <option>nosuid</option> or <option>nodev</option> " "options). Run the <command>mount</command> command without any parameters to " "see what options are set for the mounted LFS partition. If " "<option>nosuid</option> and/or <option>nodev</option> are set, the partition " "will need to be remounted." msgstr "" #. type: Content of: <sect1><warning><para><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:54 #, no-wrap msgid "" "/dev/<replaceable><xxx></replaceable> /mnt/lfs ext4 defaults 1 " "1" msgstr "" #. type: Content of: <sect1><warning><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:48 msgid "" "The above instructions assume that you will not be restarting your computer " "throughout the LFS process. If you shut down your system, you will either " "need to remount the LFS partition each time you restart the build process or " "modify your host system's /etc/fstab file to automatically remount it upon " "boot. For example: <placeholder type=\"screen\" id=\"0\"/> If you use " "additional optional partitions, be sure to add them also." msgstr "" #. type: Content of: <sect1><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:61 msgid "" "If you are using a <systemitem class=\"filesystem\">swap</systemitem> " "partition, ensure that it is enabled using the <command>swapon</command> " "command:" msgstr "" #. type: Content of: <sect1><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:65 #, no-wrap msgid "" "<userinput>/sbin/swapon -v " "/dev/<replaceable><zzz></replaceable></userinput>" msgstr "" #. type: Content of: <sect1><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:67 msgid "" "Replace <replaceable><zzz></replaceable> with the name of the " "<systemitem class=\"filesystem\">swap</systemitem> partition." msgstr "" #. type: Content of: <sect1><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter02/mounting.xml:70 msgid "" "Now that there is an established place to work, it is time to download the " "packages." msgstr ""