Ignore:
Timestamp:
04/23/2021 12:10:17 PM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/usr-move
Children:
32cea200
Parents:
9f1ab84
Message:

usr-move: write desc for merged /usr in ch02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter02/creatingpartition.xml

    r9f1ab84 rc2c41b1  
    142142      space.</para></listitem>
    143143
    144       <listitem><para>/usr &ndash; A separate /usr partition is generally used
     144      <listitem revision="sysv"><para>/usr &ndash; A separate /usr partition is generally used
    145145      if providing a server for a thin client or diskless workstation.  It is
    146146      normally not needed for LFS.  A size of ten gigabytes will handle most
    147147      installations.</para></listitem>
     148
     149      <listitem revision="systemd"><para>/usr &ndash; In LFS with systemd as the
     150      init process, <filename class="directory">/bin</filename>,
     151      <filename class="directory">/lib</filename>,
     152      <filename class="directory">/lib64</filename> (only exists for 64-bit
     153      host), and
     154      <filename class="directory">/sbin</filename> are symlinks to their
     155      counterpart in <filename class="directory">/usr</filename>.
     156      So <filename class="directory">/usr</filename> contains all binaries
     157      needed for the system to run.  For LFS a separate partition for
     158      <filename class="directory">/usr</filename> is normally not needed.
     159      If you need it anyway, you should make a partition large enough to
     160      fit all programs and libraries in the system.  The root partition can be
     161      very small (maybe just one gigabyte) in this configuration, so it's
     162      suitable for a thin client or diskless workstation (where
     163      <filename class="directory">/usr</filename> is mounted from a remote
     164      server).  However you should take care that an initramfs (not covered by
     165      LFS) will be needed to boot a system with separate
     166      <filename class="directory">/usr</filename> partition.</para></listitem>
    148167
    149168      <listitem><para>/opt &ndash; This directory is most useful for
Note: See TracChangeset for help on using the changeset viewer.