- Timestamp:
- 05/12/2021 05:26:46 AM (3 years ago)
- Branches:
- ml-11.0, multilib
- Children:
- 3de7f52
- Parents:
- 0e9fb93 (diff), d7a9421 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- chapter02
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/creatingpartition.xml
r0e9fb93 rdf462a9 142 142 space.</para></listitem> 143 143 144 <listitem><para>/usr – A separate /usr partition is generally used 145 if providing a server for a thin client or diskless workstation. It is 146 normally not needed for LFS. A size of ten gigabytes will handle most 147 installations.</para></listitem> 144 <listitem><para>/usr – In LFS, 145 <filename class="directory">/bin</filename>, 146 <filename class="directory">/lib</filename>, and 147 <filename class="directory">/sbin</filename> are symlinks to their 148 counterpart in <filename class="directory">/usr</filename>. 149 So <filename class="directory">/usr</filename> contains all binaries 150 needed for the system to run. For LFS a separate partition for 151 <filename class="directory">/usr</filename> is normally not needed. 152 If you need it anyway, you should make a partition large enough to 153 fit all programs and libraries in the system. The root partition can be 154 very small (maybe just one gigabyte) in this configuration, so it's 155 suitable for a thin client or diskless workstation (where 156 <filename class="directory">/usr</filename> is mounted from a remote 157 server). However you should take care that an initramfs (not covered by 158 LFS) will be needed to boot a system with separate 159 <filename class="directory">/usr</filename> partition.</para></listitem> 148 160 149 161 <listitem><para>/opt – This directory is most useful for -
chapter02/mounting.xml
r0e9fb93 rdf462a9 28 28 <para>If using multiple partitions for LFS (e.g., one for <filename 29 29 class="directory">/</filename> and another for <filename 30 class="directory">/ usr</filename>), mount them using:</para>30 class="directory">/home</filename>), mount them using:</para> 31 31 32 32 <screen role="nodump"><userinput>mkdir -pv $LFS 33 33 mount -v -t ext4 /dev/<replaceable><xxx></replaceable> $LFS 34 mkdir -v $LFS/ usr35 mount -v -t ext4 /dev/<replaceable><yyy></replaceable> $LFS/ usr</userinput></screen>34 mkdir -v $LFS/home 35 mount -v -t ext4 /dev/<replaceable><yyy></replaceable> $LFS/home</userinput></screen> 36 36 37 37 <para>Replace <replaceable><xxx></replaceable> and
Note:
See TracChangeset
for help on using the changeset viewer.