Changeset ce5ebe1 for chapter02/creatingpartition.xml
- Timestamp:
- 02/11/2013 08:15:37 PM (12 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- dbfc674
- Parents:
- eea4055
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/creatingpartition.xml
reea4055 rce5ebe1 76 76 <title>Other Partition Issues</title> 77 77 78 <para>Requests for advice on system partitioning are often posted on the LFS mailing 78 <para>Requests for advice on system partitioning are often posted on the LFS mailing 79 79 lists. This is a highly subjective topic. The default for most distributions 80 80 is to use the entire drive with the exception of one small swap partition. This 81 is not optimal for LFS for several reasons. It reduces flexibility, makes 81 is not optimal for LFS for several reasons. It reduces flexibility, makes 82 82 sharing of data across multiple distributions or LFS builds more difficult, makes 83 backups more time consuming, and can waste disk space through inefficient 83 backups more time consuming, and can waste disk space through inefficient 84 84 allocation of file system structures.</para> 85 85 86 86 <sect3> 87 87 <title>The Root Partition</title> 88 88 89 89 <para>A root LFS partition (not to be confused with the 90 90 <filename class="directory">/root</filename> directory) of … … 92 92 space to build LFS and most of BLFS, but is small enough so that multiple 93 93 partitions can be easily created for experimentation.</para> </sect3> 94 94 95 95 <sect3> 96 96 <title>The Swap Partition</title> 97 97 98 98 <para>Most distributions automatically create a swap partition. Generally 99 99 the recommended size of the swap partition is about twice the amount of … … 101 101 hold the swap partition to two gigabytes and monitor the amount of disk 102 102 swapping.</para> 103 103 104 104 <para>Swapping is never good. Generally you can tell if a system is 105 105 swapping by just listening to disk activity and observing how the system … … 108 108 swapping becomes a normal occurrence, the best solution is to purchase more 109 109 RAM for your system.</para> </sect3> 110 110 111 111 <sect3> 112 112 <title>Convenience Partitions</title> 113 113 114 114 <para>There are several other partitions that are not required, but should 115 115 be considered when designing a disk layout. The following list 116 116 is not comprehensive, but is meant as a guide.</para> 117 117 118 118 <itemizedlist> 119 119 120 120 <listitem><para>/boot – Highly recommended. Use this partition to 121 121 store kernels and other booting information. To minimize potential boot … … 123 123 your first disk drive. A partition size of 100 megabytes is quite 124 124 adequate.</para></listitem> 125 125 126 126 <listitem><para>/home – Highly recommended. Share your home 127 127 directory and user customization across multiple distributions or LFS 128 128 builds. The size is generally fairly large and depends on available disk 129 129 space.</para></listitem> 130 130 131 131 <listitem><para>/usr – A separate /usr partition is generally used 132 132 if providing a server for a thin client or diskless workstation. It is 133 133 normally not needed for LFS. A size of five gigabytes will handle most 134 134 installations.</para></listitem> 135 135 136 136 <listitem><para>/opt – This directory is most useful for 137 137 BLFS where multiple installations of large packages like Gnome or KDE can … … 139 139 used, 5 to 10 gigabytes is generally adequate.</para> 140 140 </listitem> 141 141 142 142 <listitem><para>/tmp – A separate /tmp directory is rare, but 143 143 useful if configuring a thin client. This partition, if used, will 144 144 usually not need to exceed a couple of gigabytes.</para></listitem> 145 145 146 146 <listitem><para>/usr/src – This partition is very 147 147 useful for providing a location to store BLFS source files and … … 149 149 for building BLFS packages. A reasonably large partition of 30-50 150 150 gigabytes allows plenty of room.</para></listitem> 151 151 152 152 </itemizedlist> 153 153 154 154 <para>Any separate partition that you want automatically mounted upon boot 155 155 needs to be specified in the <filename>/etc/fstab</filename>. Details 156 156 about how to specify partitions will be discussed in <xref 157 157 linkend="ch-bootable-fstab"/>. </para> 158 158 159 159 </sect3> 160 160 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.