Ignore:
Timestamp:
10/01/2022 10:30:12 PM (19 months ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
multilib
Children:
f3b2f16
Parents:
f29824e (diff), 4349661 (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:

Automatic merge of trunk into multilib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter02/mounting.xml

    rf29824e rc093e6b  
    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>
     18 
     19  <para>Strictly speaking, one cannot "mount a partition". One mounts the <emphasis>file
     20  system</emphasis> embedded in that partition. But since a single partition can't contain
     21  more than one file system, people often speak of the partition and the
     22  associated file system as if they were one and the same.</para>
    1923
    20   <para>Create the mount point and mount the LFS file system by running:</para>
     24  <para>Create the mount point and mount the LFS file system with these commands:</para>
    2125
    2226<screen role="nodump"><userinput>mkdir -pv $LFS
    2327mount -v -t ext4 /dev/<replaceable>&lt;xxx&gt;</replaceable> $LFS</userinput></screen>
    2428
    25   <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the designation of the LFS
     29  <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the LFS
    2630  partition.</para>
    2731
    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>
     32  <para>If you are using multiple partitions for LFS (e.g., one for
     33  <filename class="directory">/</filename> and another for <filename
     34  class="directory">/home</filename>), mount them like this:</para>
    3135
    3236<screen role="nodump"><userinput>mkdir -pv $LFS
     
    4448  without any parameters to see what options are set for the mounted LFS
    4549  partition. If <option>nosuid</option> and/or <option>nodev</option> are set,
    46   the partition will need to be remounted.</para>
     50  the partition must be remounted.</para>
    4751
    48   <warning><para>The above instructions assume that you will not be restarting
     52  <warning><para>The above instructions assume that you will not restart
    4953  your computer throughout the LFS process.  If you shut down your system,
    5054  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:
     55  the build process, or modify the host system's &fstab; file to automatically
     56  remount it when you reboot. For example, you might add this line to your
     57  &fstab; file:
    5358
    5459<screen role="nodump">/dev/<replaceable>&lt;xxx&gt;</replaceable>  /mnt/lfs ext4   defaults      1     1</screen>
     
    6873  <systemitem class="filesystem">swap</systemitem> partition.</para>
    6974
    70   <para>Now that there is an established place to work, it is time to
     75  <para>Now that the new LFS partition is open for business, it's time to
    7176  download the packages.</para>
    7277
Note: See TracChangeset for help on using the changeset viewer.