Ignore:
Timestamp:
12/21/2004 07:38:32 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
3d36131c
Parents:
aaa3260
Message:

Removed the text in chapter 06.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4446 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/creatingdirs.xml

    raaa3260 r3f0c882  
    88<?dbhtml filename="creatingdirs.html"?>
    99
    10 <para>Let's now create some structure in our LFS file system. Let's create
    11 a directory tree. Issuing the following commands will create a more or less
    12 standard tree:</para>
     10<para>Create a dirs tree:</para>
    1311 
    1412<screen><userinput>install -d /{bin,boot,dev,etc/opt,home,lib,mnt}
     
    3230install -d /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
    3331
    34 <para>Directories are, by default, created with permission mode 755, but this
    35 isn't desirable for all directories. In the commands above, we make two changes:
    36 one to the home directory of <emphasis>root</emphasis>, and another to the
    37 directories for temporary files.</para>
    38 
    39 <para>The first mode change ensures that not just anybody can enter the
    40 <filename class="directory">/root</filename> directory -- the same
    41 as a normal user would do with his or her home directory.
    42 The second mode change makes sure that any user can write to the
    43 <filename class="directory">/tmp</filename> and
    44 <filename class="directory">/var/tmp</filename> directories, but
    45 cannot remove other users' files from them. The latter is prohibited
    46 by the so-called <quote>sticky bit</quote> -- the highest bit in the 1777 bit
    47 mask.</para>
    48 
    49 <sect2>
    50 <title>FHS compliance note</title>
    51 
    52 <para>We have based our directory tree on the FHS standard (available at
    53 <ulink url="http://www.pathname.com/fhs/"/>). Besides the above created
    54 tree this standard stipulates the existence of
    55 <filename class="directory">/usr/local/games</filename> and
    56 <filename class="directory">/usr/share/games</filename>, but we don't
    57 much like these for a base system. However, feel free to make your system
    58 FHS-compliant. As to the structure of the
    59 <filename class="directory">/usr/local/share</filename> subdirectory, the FHS
    60 isn't precise, so we created here the directories that we think are needed.</para>
    61 
    62 </sect2>
    63 
    6432</sect1>
Note: See TracChangeset for help on using the changeset viewer.