Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter02/creatingpartition.xml

    r58f92b0 rcfaf727  
    9595    <para>Swapping is never good. For mechanical hard drives you can generally
    9696    tell if a system is swapping by just listening to disk activity and
    97     observing how the system reacts to commands. With an SSD you will not
    98     be able to hear swapping, but you can tell how much swap space is being used
    99     by running the <command>top</command> or <command>free</command> programs.  Use of
    100     an SSD for a swap partition should be avoided if possible.  The first
     97    observing how the system reacts to commands.  For an SSD drive you will not
     98    be able to hear swapping but you can tell how much swap space is being used
     99    by the <command>top</command> or <command>free</command> programs.  Use of
     100    an SSD drive for a swap partition should be avoided if possible.  The first
    101101    reaction to swapping should be to check for an unreasonable command such as
    102102    trying to edit a five gigabyte file. If swapping becomes a normal
     
    113113    loader. This partition will normally be labeled 'BIOS Boot' if using
    114114    <command>fdisk</command> or have a code of <emphasis>EF02</emphasis> if
    115     using the <command>gdisk</command> command.</para>
     115    using <command>gdisk</command>.</para>
    116116
    117117    <note><para>The Grub Bios partition must be on the drive that the BIOS
    118     uses to boot the system.  This is not necessarily the drive that holds
    119     the LFS root partition. The disks on a system may use different
    120     partition table types. The necessity of the Grub Bios partition depends
     118    uses to boot the system.  This is not necessarily the same drive where the
     119    LFS root partition is located. Disks on a system may use different
     120    partition table types.  The requirement for this partition depends
    121121    only on the partition table type of the boot disk.</para></note>
    122122    </sect3>
     
    134134      store kernels and other booting information.  To minimize potential boot
    135135      problems with larger disks, make this the first physical partition on
    136       your first disk drive.  A partition size of 200 megabytes is
     136      your first disk drive.  A partition size of 200 megabytes is quite
    137137      adequate.</para></listitem>
    138138
     
    151151      <filename class="directory">/lib</filename>, and
    152152      <filename class="directory">/sbin</filename> are symlinks to their
    153       counterparts in <filename class="directory">/usr</filename>.
    154       So <filename class="directory">/usr</filename> contains all the binaries
     153      counterpart in <filename class="directory">/usr</filename>.
     154      So <filename class="directory">/usr</filename> contains all binaries
    155155      needed for the system to run.  For LFS a separate partition for
    156156      <filename class="directory">/usr</filename> is normally not needed.
    157       If you create it anyway, you should make a partition large enough to
    158       fit all the programs and libraries in the system. The root partition can be
     157      If you need it anyway, you should make a partition large enough to
     158      fit all programs and libraries in the system. The root partition can be
    159159      very small (maybe just one gigabyte) in this configuration, so it's
    160160      suitable for a thin client or diskless workstation (where
    161161      <filename class="directory">/usr</filename> is mounted from a remote
    162       server). However, you should be aware that an initramfs (not covered by
    163       LFS) will be needed to boot a system with a separate
     162      server).  However you should take care that an initramfs (not covered by
     163      LFS) will be needed to boot a system with separate
    164164      <filename class="directory">/usr</filename> partition.</para></listitem>
    165165
    166166      <listitem><para>/opt &ndash; This directory is most useful for
    167       BLFS, where multiple large packages like KDE or Texlive can
     167      BLFS where multiple installations of large packages like Gnome or KDE can
    168168      be installed without embedding the files in the /usr hierarchy.  If
    169169      used, 5 to 10 gigabytes is generally adequate.</para>
    170170      </listitem>
    171171
    172       <listitem revision='sysv'><para>/tmp &ndash; A separate /tmp directory
    173       is rare, but useful if configuring a thin client.  This partition, if
    174       used, will usually not need to exceed a couple of
    175       gigabytes.  If you have enough RAM, you can mount a
    176       <systemitem class='filesystem'>tmpfs</systemitem> on /tmp to make
    177       access to temporary files faster.</para></listitem>
    178 
    179       <listitem revision='systemd'><para>/tmp &ndash; By default, systemd
    180       mounts a <systemitem class='filesystem'>tmpfs</systemitem> here.
    181       If you want to override that behavior, follow
    182       <xref linkend='systemd-no-tmpfs'/> when configuring the LFS
    183       system.</para></listitem>
     172      <listitem><para>/tmp &ndash; A separate /tmp directory is rare, but
     173      useful if configuring a thin client.  This partition, if used, will
     174      usually not need to exceed a couple of gigabytes.</para></listitem>
    184175
    185176      <listitem><para>/usr/src &ndash; This partition is very
    186177      useful for providing a location to store BLFS source files and
    187       share them across LFS builds. It can also be used as a location
    188       for building BLFS packages. A reasonably large partition of 30-50
    189       gigabytes provides plenty of room.</para></listitem>
     178      share them across LFS builds.  It can also be used as a location
     179      for building BLFS packages.  A reasonably large partition of 30-50
     180      gigabytes allows plenty of room.</para></listitem>
    190181
    191182    </itemizedlist>
    192183
    193     <para>Any separate partition that you want automatically mounted when the
    194     system starts must be specified in the <filename>/etc/fstab</filename> file.
    195     Details about how to specify partitions will be discussed in <xref
    196     linkend="ch-bootable-fstab"/>.</para>
     184    <para>Any separate partition that you want automatically mounted upon boot
     185    needs to be specified in the <filename>/etc/fstab</filename>.  Details
     186    about how to specify partitions will be discussed in <xref
     187    linkend="ch-bootable-fstab"/>.  </para>
    197188
    198189    </sect3>
Note: See TracChangeset for help on using the changeset viewer.