diff options
author | Douglas R. Reno <renodr@linuxfromscratch.org> | 2021-05-11 23:24:11 -0500 |
---|---|---|
committer | Douglas R. Reno <renodr@linuxfromscratch.org> | 2021-05-11 23:24:11 -0500 |
commit | d7a942197e713339d4dc1eedab4dafd4179a5cd8 (patch) | |
tree | 48aba90323070adb9a54e83ce1ebed902d0b19c3 /chapter02/creatingpartition.xml | |
parent | 0f7d4cb8a734227ea85f46c5b934ed1b85a51b3c (diff) |
Merge Xi's changes into trunk
Update to meson-0.58.0
Update to systemd-248
Update to gcc-11.1.0
Update to linux-5.12.1
Update to iproute2-5.12.0
Update to Python-3.9.5
Make /bin, /sbin, and /lib symlinks to their counterparts in /usr.
Thanks again for a significant portion of this work goes to Xi, I only
really merged it and made a couple of modifications for my updates. To
LFS 11.x we go!
Diffstat (limited to 'chapter02/creatingpartition.xml')
-rw-r--r-- | chapter02/creatingpartition.xml | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/chapter02/creatingpartition.xml b/chapter02/creatingpartition.xml index 672c2efb5..efca7ea1c 100644 --- a/chapter02/creatingpartition.xml +++ b/chapter02/creatingpartition.xml @@ -141,10 +141,22 @@ builds. The size is generally fairly large and depends on available disk space.</para></listitem> - <listitem><para>/usr – A separate /usr partition is generally used - if providing a server for a thin client or diskless workstation. It is - normally not needed for LFS. A size of ten gigabytes will handle most - installations.</para></listitem> + <listitem><para>/usr – In LFS, + <filename class="directory">/bin</filename>, + <filename class="directory">/lib</filename>, and + <filename class="directory">/sbin</filename> are symlinks to their + counterpart in <filename class="directory">/usr</filename>. + So <filename class="directory">/usr</filename> contains all binaries + needed for the system to run. For LFS a separate partition for + <filename class="directory">/usr</filename> is normally not needed. + If you need it anyway, you should make a partition large enough to + fit all programs and libraries in the system. The root partition can be + very small (maybe just one gigabyte) in this configuration, so it's + suitable for a thin client or diskless workstation (where + <filename class="directory">/usr</filename> is mounted from a remote + server). However you should take care that an initramfs (not covered by + LFS) will be needed to boot a system with separate + <filename class="directory">/usr</filename> partition.</para></listitem> <listitem><para>/opt – This directory is most useful for BLFS where multiple installations of large packages like Gnome or KDE can |