Ignore:
Timestamp:
09/26/2022 02:03:23 PM (19 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
259794e
Parents:
1f6dfd4 (diff), f427ba23 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter02/mounting.xml

    r1f6dfd4 r0ea3431  
    1111  <title>Mounting the New Partition</title>
    1212
    13   <para>Now that a file system has been created, the partition needs to
    14   be made accessible. In order to do this, the partition needs to be
    15   mounted at a chosen mount point. For the purposes of this book, it is
    16   assumed that the file system is mounted under the directory specified by the
    17   <envar>LFS</envar> environment variable as described in the previous section.
     13  <para>Now that a file system has been created, the partition must
     14  be mounted so the host system can access it. This book assumes that
     15  the file system is mounted at the directory specified by the
     16  <envar>LFS</envar> environment variable described in the previous section.
    1817  </para>
    1918
    20   <para>Create the mount point and mount the LFS file system by running:</para>
     19  <para>Create the mount point and mount the LFS file system with these commands:</para>
    2120
    2221<screen role="nodump"><userinput>mkdir -pv $LFS
    2322mount -v -t ext4 /dev/<replaceable>&lt;xxx&gt;</replaceable> $LFS</userinput></screen>
    2423
    25   <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the designation of the LFS
     24  <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the LFS
    2625  partition.</para>
    2726
    28   <para>If using multiple partitions for LFS (e.g., one for <filename
    29   class="directory">/</filename> and another for <filename
    30   class="directory">/home</filename>), mount them using:</para>
     27  <para>If you are using multiple partitions for LFS (e.g., one for
     28  <filename class="directory">/</filename> and another for <filename
     29  class="directory">/home</filename>), mount them like this:</para>
    3130
    3231<screen role="nodump"><userinput>mkdir -pv $LFS
     
    4443  without any parameters to see what options are set for the mounted LFS
    4544  partition. If <option>nosuid</option> and/or <option>nodev</option> are set,
    46   the partition will need to be remounted.</para>
     45  the partition must be remounted.</para>
    4746
    48   <warning><para>The above instructions assume that you will not be restarting
     47  <warning><para>The above instructions assume that you will not restart
    4948  your computer throughout the LFS process.  If you shut down your system,
    5049  you will either need to remount the LFS partition each time you restart
    51   the build process or modify your host system's /etc/fstab file to automatically
    52   remount it upon boot.  For example:
     50  the build process, or modify the host system's &fstab; file to automatically
     51  remount it when you reboot. For example, you might add this line to your
     52  &fstab; file:
    5353
    5454<screen role="nodump">/dev/<replaceable>&lt;xxx&gt;</replaceable>  /mnt/lfs ext4   defaults      1     1</screen>
     
    6868  <systemitem class="filesystem">swap</systemitem> partition.</para>
    6969
    70   <para>Now that there is an established place to work, it is time to
     70  <para>Now that the new LFS partition is open for business, it's time to
    7171  download the packages.</para>
    7272
Note: See TracChangeset for help on using the changeset viewer.