mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 14:24:48 +00:00
Tweaked English idiom and edited for style.
This commit is contained in:
parent
29526d35ef
commit
36cb08fbf0
@ -10,10 +10,10 @@
|
||||
|
||||
<title>Creating Directories</title>
|
||||
|
||||
<para>It is time to create the full structure in the LFS file system.</para>
|
||||
<para>It is time to create the full directory structure in the LFS file system.</para>
|
||||
|
||||
<note><para>Some of the directories mentioned in this section may be
|
||||
already created earlier with explicit instructions or when installing some
|
||||
<note><para>Some of the directories mentioned in this section may have
|
||||
already been created earlier with explicit instructions, or when installing some
|
||||
packages. They are repeated below for completeness.</para></note>
|
||||
|
||||
<para>Create some root-level directories that are not in the limited set
|
||||
@ -42,14 +42,14 @@ install -dv -m 0750 /root
|
||||
install -dv -m 1777 /tmp /var/tmp</userinput></screen>
|
||||
|
||||
<para>Directories are, by default, created with permission mode 755, but
|
||||
this is not desirable for all directories. In the commands above, two
|
||||
this is not desirable everywhere. In the commands above, two
|
||||
changes are made—one to the home directory of user <systemitem
|
||||
class="username">root</systemitem>, and another to the directories for
|
||||
temporary files.</para>
|
||||
|
||||
<para>The first mode change ensures that not just anybody can enter
|
||||
the <filename class="directory">/root</filename> directory—the
|
||||
same as a normal user would do with his or her home directory. The
|
||||
the <filename class="directory">/root</filename> directory—just
|
||||
like a normal user would do with his or her own home directory. The
|
||||
second mode change makes sure that any user can write to the
|
||||
<filename class="directory">/tmp</filename> and <filename
|
||||
class="directory">/var/tmp</filename> directories, but cannot remove
|
||||
@ -59,14 +59,14 @@ install -dv -m 1777 /tmp /var/tmp</userinput></screen>
|
||||
<sect2>
|
||||
<title>FHS Compliance Note</title>
|
||||
|
||||
<para>The directory tree is based on the Filesystem Hierarchy Standard
|
||||
<para>This directory tree is based on the Filesystem Hierarchy Standard
|
||||
(FHS) (available at <ulink
|
||||
url="https://refspecs.linuxfoundation.org/fhs.shtml"/>). The FHS also specifies
|
||||
the optional existence of some directories such as <filename
|
||||
the optional existence of additional directories such as <filename
|
||||
class="directory">/usr/local/games</filename> and <filename
|
||||
class="directory">/usr/share/games</filename>. We create only the
|
||||
directories that are needed. However, feel free to create these
|
||||
directories. </para>
|
||||
class="directory">/usr/share/games</filename>. In LFS, we create only the
|
||||
directories that are really necessary. However, feel free to create more
|
||||
directories, if you wish. </para>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user