mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-09 07:29:31 +00:00
Corrected English idiom and punctuation in chapter 2.4 (new partition).
This commit is contained in:
parent
925414842a
commit
6612f5441b
@ -94,9 +94,9 @@
|
||||
|
||||
<para>Swapping is never good. For mechanical hard drives you can generally
|
||||
tell if a system is swapping by just listening to disk activity and
|
||||
observing how the system reacts to commands. For an SSD drive you will not
|
||||
be able to hear swapping but you can tell how much swap space is being used
|
||||
by the <command>top</command> or <command>free</command> programs. Use of
|
||||
observing how the system reacts to commands. With an SSD drive you will not
|
||||
be able to hear swapping, but you can tell how much swap space is being used
|
||||
by running the <command>top</command> or <command>free</command> programs. Use of
|
||||
an SSD drive for a swap partition should be avoided if possible. The first
|
||||
reaction to swapping should be to check for an unreasonable command such as
|
||||
trying to edit a five gigabyte file. If swapping becomes a normal
|
||||
@ -112,12 +112,12 @@
|
||||
must be available for GRUB to use during installation of the boot
|
||||
loader. This partition will normally be labeled 'BIOS Boot' if using
|
||||
<command>fdisk</command> or have a code of <emphasis>EF02</emphasis> if
|
||||
using <command>gdisk</command>.</para>
|
||||
using the <command>gdisk</command>.</para>
|
||||
|
||||
<note><para>The Grub Bios partition must be on the drive that the BIOS
|
||||
uses to boot the system. This is not necessarily the same drive where the
|
||||
LFS root partition is located. Disks on a system may use different
|
||||
partition table types. The requirement for this partition depends
|
||||
uses to boot the system. This is not necessarily the drive that holds
|
||||
the LFS root partition. The disks on a system may use different
|
||||
partition table types. The necessity of the Grub Bios partition depends
|
||||
only on the partition table type of the boot disk.</para></note>
|
||||
</sect3>
|
||||
|
||||
@ -133,7 +133,7 @@
|
||||
<listitem><para>/boot – Highly recommended. Use this partition to
|
||||
store kernels and other booting information. To minimize potential boot
|
||||
problems with larger disks, make this the first physical partition on
|
||||
your first disk drive. A partition size of 200 megabytes is quite
|
||||
your first disk drive. A partition size of 200 megabytes is
|
||||
adequate.</para></listitem>
|
||||
|
||||
<listitem><para>/boot/efi – The EFI System Partition, which is
|
||||
@ -150,21 +150,21 @@
|
||||
<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
|
||||
counterparts in <filename class="directory">/usr</filename>.
|
||||
So <filename class="directory">/usr</filename> contains all the 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
|
||||
If you create it anyway, you should make a partition large enough to
|
||||
fit all the 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
|
||||
server). However you should be aware that an initramfs (not covered by
|
||||
LFS) will be needed to boot a system with a 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
|
||||
BLFS, where multiple large packages like Gnome or KDE can
|
||||
be installed without embedding the files in the /usr hierarchy. If
|
||||
used, 5 to 10 gigabytes is generally adequate.</para>
|
||||
</listitem>
|
||||
@ -175,14 +175,14 @@
|
||||
|
||||
<listitem><para>/usr/src – This partition is very
|
||||
useful for providing a location to store BLFS source files and
|
||||
share them across LFS builds. It can also be used as a location
|
||||
for building BLFS packages. A reasonably large partition of 30-50
|
||||
gigabytes allows plenty of room.</para></listitem>
|
||||
share them across LFS builds. It can also be used as a location
|
||||
for building BLFS packages. A reasonably large partition of 30-50
|
||||
gigabytes provides plenty of room.</para></listitem>
|
||||
|
||||
</itemizedlist>
|
||||
|
||||
<para>Any separate partition that you want automatically mounted upon boot
|
||||
needs to be specified in the <filename>/etc/fstab</filename>. Details
|
||||
needs to be specified in the <filename>/etc/fstab</filename>. Details
|
||||
about how to specify partitions will be discussed in <xref
|
||||
linkend="ch-bootable-fstab"/>. </para>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user