Ignore:
Timestamp:
Apr 19, 2014, 10:07:08 PM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
76ccba3
Parents:
03679c8
Message:

Reorganized boot section

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/common/creatingdirs.xml

    r03679c8 rd2ecc65  
    1111  <title>Creating Directories</title>
    1212
    13   <para os="a">It is time to create some structure in the CLFS file system. Create a
     13    <note os="a">
     14      <para>The commands in the remainder of the book should be run as
     15      the <systemitem class="username">root</systemitem> user. Check
     16      that ${CLFS} is set in the
     17      <systemitem class="username">root</systemitem> user&rsquo;s environment
     18       before proceeding.</para>
     19    </note>
     20
     21  <para os="b">It is time to create some structure in the CLFS file system. Create a
    1422  standard directory tree by issuing the following commands:</para>
    1523
    16 <screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib,mnt}
     24<screen os="c"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib/firmware,mnt}
    1725mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys}
    1826mkdir -pv ${CLFS}/var/{lock,log,mail,spool}
     
    2533mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}</userinput></screen>
    2634
    27   <para os="c">Directories are, by default, created with permission mode 755,
     35  <para os="d">Directories are, by default, created with permission mode 755,
    2836  but this is not desirable for all directories. In the commands above,
    2937  two changes are made&mdash;one to the home directory of user
     
    3139  directories for temporary files.</para>
    3240
    33   <para os="d">The first mode change ensures that not just anybody can enter
     41  <para os="e">The first mode change ensures that not just anybody can enter
    3442  the <filename class="directory">/root</filename> directory&mdash;the
    3543  same as a normal user would do with his or her home directory. The
     
    4149  1777 bit mask.</para>
    4250
    43   <sect2 os="e">
     51  <sect2 os="f">
    4452    <title>FHS Compliance Note</title>
    4553
Note: See TracChangeset for help on using the changeset viewer.