- Timestamp:
- 09/30/2022 08:49:41 PM (2 years ago)
- Branches:
- 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- a8f3814a
- Parents:
- 29526d3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/creatingdirs.xml
r29526d3 r36cb08f 11 11 <title>Creating Directories</title> 12 12 13 <para>It is time to create the full structure in the LFS file system.</para>13 <para>It is time to create the full directory structure in the LFS file system.</para> 14 14 15 <note><para>Some of the directories mentioned in this section may be16 already created earlier with explicit instructionsor when installing some15 <note><para>Some of the directories mentioned in this section may have 16 already been created earlier with explicit instructions, or when installing some 17 17 packages. They are repeated below for completeness.</para></note> 18 18 … … 43 43 44 44 <para>Directories are, by default, created with permission mode 755, but 45 this is not desirable for all directories. In the commands above, two45 this is not desirable everywhere. In the commands above, two 46 46 changes are made—one to the home directory of user <systemitem 47 47 class="username">root</systemitem>, and another to the directories for … … 49 49 50 50 <para>The first mode change ensures that not just anybody can enter 51 the <filename class="directory">/root</filename> directory— the52 same as a normal user would do with his or herhome directory. The51 the <filename class="directory">/root</filename> directory—just 52 like a normal user would do with his or her own home directory. The 53 53 second mode change makes sure that any user can write to the 54 54 <filename class="directory">/tmp</filename> and <filename … … 60 60 <title>FHS Compliance Note</title> 61 61 62 <para>Th edirectory tree is based on the Filesystem Hierarchy Standard62 <para>This directory tree is based on the Filesystem Hierarchy Standard 63 63 (FHS) (available at <ulink 64 64 url="https://refspecs.linuxfoundation.org/fhs.shtml"/>). The FHS also specifies 65 the optional existence of somedirectories such as <filename65 the optional existence of additional directories such as <filename 66 66 class="directory">/usr/local/games</filename> and <filename 67 class="directory">/usr/share/games</filename>. We create only the68 directories that are needed. However, feel free to create these69 directories . </para>67 class="directory">/usr/share/games</filename>. In LFS, we create only the 68 directories that are really necessary. However, feel free to create more 69 directories, if you wish. </para> 70 70 71 71 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.