Changeset df462a9 for chapter02


Ignore:
Timestamp:
05/12/2021 05:26:46 AM (3 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
ml-11.0, multilib
Children:
3de7f52
Parents:
0e9fb93 (diff), d7a9421 (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 pre-LFS-11-0 changes

Location:
chapter02
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter02/creatingpartition.xml

    r0e9fb93 rdf462a9  
    142142      space.</para></listitem>
    143143
    144       <listitem><para>/usr &ndash; A separate /usr partition is generally used
    145       if providing a server for a thin client or diskless workstation.  It is
    146       normally not needed for LFS.  A size of ten gigabytes will handle most
    147       installations.</para></listitem>
     144      <listitem><para>/usr &ndash; In LFS,
     145      <filename class="directory">/bin</filename>,
     146      <filename class="directory">/lib</filename>, and
     147      <filename class="directory">/sbin</filename> are symlinks to their
     148      counterpart in <filename class="directory">/usr</filename>.
     149      So <filename class="directory">/usr</filename> contains all binaries
     150      needed for the system to run.  For LFS a separate partition for
     151      <filename class="directory">/usr</filename> is normally not needed.
     152      If you need it anyway, you should make a partition large enough to
     153      fit all programs and libraries in the system.  The root partition can be
     154      very small (maybe just one gigabyte) in this configuration, so it's
     155      suitable for a thin client or diskless workstation (where
     156      <filename class="directory">/usr</filename> is mounted from a remote
     157      server).  However you should take care that an initramfs (not covered by
     158      LFS) will be needed to boot a system with separate
     159      <filename class="directory">/usr</filename> partition.</para></listitem>
    148160
    149161      <listitem><para>/opt &ndash; This directory is most useful for
  • chapter02/mounting.xml

    r0e9fb93 rdf462a9  
    2828  <para>If using multiple partitions for LFS (e.g., one for <filename
    2929  class="directory">/</filename> and another for <filename
    30   class="directory">/usr</filename>), mount them using:</para>
     30  class="directory">/home</filename>), mount them using:</para>
    3131
    3232<screen role="nodump"><userinput>mkdir -pv $LFS
    3333mount -v -t ext4 /dev/<replaceable>&lt;xxx&gt;</replaceable> $LFS
    34 mkdir -v $LFS/usr
    35 mount -v -t ext4 /dev/<replaceable>&lt;yyy&gt;</replaceable> $LFS/usr</userinput></screen>
     34mkdir -v $LFS/home
     35mount -v -t ext4 /dev/<replaceable>&lt;yyy&gt;</replaceable> $LFS/home</userinput></screen>
    3636
    3737  <para>Replace <replaceable>&lt;xxx&gt;</replaceable> and
Note: See TracChangeset for help on using the changeset viewer.