Changeset 6ab69ca


Ignore:
Timestamp:
Jul 7, 2006, 8:36:27 PM (18 years ago)
Author:
Chris Staub <chris@…>
Children:
1264086
Parents:
e3edc25
Message:

Changed Creating Directories sections to use be more consistent, and use xincludes for the directory-creation commands

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • boot/common/creatingdirs.xml

    re3edc25 r6ab69ca  
    1414  standard directory tree by issuing the following commands:</para>
    1515
    16 <screen><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt}
     16<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt}
    1717mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
    1818install -dv -m 0750 ${CLFS}/root
     
    2828mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}</userinput></screen>
    2929
    30   <para os="b">Directories are, by default, created with permission mode 755,
     30  <para os="c">Directories are, by default, created with permission mode 755,
    3131  but this is not desirable for all directories. In the commands above,
    3232  two changes are made&mdash;one to the home directory of user
     
    3434  directories for temporary files.</para>
    3535
    36   <para os="c">The first mode change ensures that not just anybody can enter
     36  <para os="d">The first mode change ensures that not just anybody can enter
    3737  the <filename class="directory">${CLFS}/root</filename> directory&mdash;the
    3838  same as a normal user would do with his or her home directory. The
     
    4444  1777 bit mask.</para>
    4545
    46   <sect2 os="d">
     46  <sect2 os="e">
    4747    <title>FHS Compliance Note</title>
    4848
  • boot/mips/creatingdirs.xml

    re3edc25 r6ab69ca  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>install -dv ${CLFS}/{bin,boot,dev,etc/opt,home,lib,mnt}
    18 install -dv ${CLFS}/{sbin,srv,usr/local,var,opt,proc,sys}
    19 install -dv ${CLFS}/root -m 0750
    20 install -dv ${CLFS}/tmp ${CLFS}/var/tmp -m 1777
    21 install -dv ${CLFS}/media/{floppy,cdrom}
    22 install -dv ${CLFS}/usr/{bin,include,lib,sbin,share,src}
    23 ln -sv share/{man,doc,info} ${CLFS}/usr
    24 install -dv ${CLFS}/usr/share/{doc,info,locale,man}
    25 install -dv ${CLFS}/usr/share/{misc,terminfo,zoneinfo}
    26 install -dv ${CLFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
    27 install -dv ${CLFS}/usr/local/{bin,etc,include,lib,sbin,share,src}
    28 ln -sv share/{man,doc,info} ${CLFS}/usr/local
    29 install -dv ${CLFS}/usr/local/share/{doc,info,locale,man}
    30 install -dv ${CLFS}/usr/local/share/{misc,terminfo,zoneinfo}
    31 install -dv ${CLFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
    32 install -dv ${CLFS}/var/{lock,log,mail,run,spool}
    33 install -dv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}
    34 install -dv ${CLFS}/opt/{bin,doc,include,info}
    35 install -dv ${CLFS}/opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
     17  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     18  href="../common/creatingdirs.xml"
     19  xpointer="xpointer(//*[@os='b'])"/>
    3620
    3721   <para>These entries are needed for the RaQ2 bootloader. Only use these
     
    4327  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4428  href="../common/creatingdirs.xml"
    45   xpointer="xpointer(//*[@os='b'])"/>
    46 
    47   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    48   href="../common/creatingdirs.xml"
    4929  xpointer="xpointer(//*[@os='c'])"/>
    5030
     
    5333  xpointer="xpointer(//*[@os='d'])"/>
    5434
     35  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     36  href="../common/creatingdirs.xml"
     37  xpointer="xpointer(//*[@os='e'])"/>
     38
    5539</sect1>
  • boot/mips64/creatingdirs.xml

    re3edc25 r6ab69ca  
    4646  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4747  href="../common/creatingdirs.xml"
    48   xpointer="xpointer(//*[@os='b'])"/>
    49 
    50   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    51   href="../common/creatingdirs.xml"
    5248  xpointer="xpointer(//*[@os='c'])"/>
    5349
     
    5652  xpointer="xpointer(//*[@os='d'])"/>
    5753
     54  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     55  href="../common/creatingdirs.xml"
     56  xpointer="xpointer(//*[@os='e'])"/>
     57
    5858</sect1>
  • boot/multilib/creatingdirs.xml

    re3edc25 r6ab69ca  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>install -dv ${CLFS}/{bin,boot,dev,etc/opt,home,lib{,64},mnt}
    18 install -dv ${CLFS}/{sbin,srv,usr/local,var,opt,proc,sys}
     17<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib{,64},mnt,opt}
     18mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
    1919install -dv ${CLFS}/root -m 0750
    20 install -dv ${CLFS}/tmp ${CLFS}/var/tmp -m 1777
    21 install -dv ${CLFS}/media/{floppy,cdrom}
    22 install -dv ${CLFS}/usr/{bin,include,lib{,64},sbin,share,src}
    23 ln -sv share/{man,doc,info} ${CLFS}/usr
    24 install -dv ${CLFS}/usr/share/{doc,info,locale,man}
    25 install -dv ${CLFS}/usr/share/{misc,terminfo,zoneinfo}
    26 install -dv ${CLFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
    27 install -dv ${CLFS}/usr/local/{bin,etc,include,lib{,64},sbin,share,src}
    28 ln -sv share/{man,doc,info} ${CLFS}/usr/local
    29 install -dv ${CLFS}/usr/local/share/{doc,info,locale,man}
    30 install -dv ${CLFS}/usr/local/share/{misc,terminfo,zoneinfo}
    31 install -dv ${CLFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
    32 install -dv ${CLFS}/var/{lock,log,mail,run,spool}
    33 install -dv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
    34 install -dv ${CLFS}/opt/{bin,doc,include,info}
    35 install -dv ${CLFS}/opt/{lib{,64},man/man{1,2,3,4,5,6,7,8}}
     20install -dv ${CLFS}{/var,}/tmp -m 1777
     21mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib{,64},sbin,src}
     22mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
     23mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
     24mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
     25for dir in /usr{,/local}; do
     26  ln -sv share/{man,doc,info} $dir
     27done
     28mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
     29mkdir -pv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
    3630install -dv ${CLFS}/usr/lib/locale
    3731ln -sv ../lib/locale ${CLFS}/usr/lib64</userinput></screen>
    38 
    39   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    40   href="../common/creatingdirs.xml"
    41   xpointer="xpointer(//*[@os='b'])"/>
    4232
    4333  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    4939  xpointer="xpointer(//*[@os='d'])"/>
    5040
     41  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     42  href="../common/creatingdirs.xml"
     43  xpointer="xpointer(//*[@os='e'])"/>
     44
    5145</sect1>
  • chroot/common/creatingdirs.xml

    re3edc25 r6ab69ca  
    3131  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3232  href="../../boot/common/creatingdirs.xml"
    33   xpointer="xpointer(//*[@os='b'])"/>
     33  xpointer="xpointer(//*[@os='c'])"/>
    3434
    35   <para os="c">The first mode change ensures that not just anybody can enter
     35  <para os="d">The first mode change ensures that not just anybody can enter
    3636  the <filename class="directory">/root</filename> directory&mdash;the
    3737  same as a normal user would do with his or her home directory. The
     
    4545  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4646  href="../../boot/common/creatingdirs.xml"
    47   xpointer="xpointer(//*[@os='d'])"/>
     47  xpointer="xpointer(//*[@os='e'])"/>
    4848
    4949</sect1>
  • chroot/mips/creatingdirs.xml

    re3edc25 r6ab69ca  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>install -dv /{bin,boot,dev,etc/opt,home,lib,mnt}
    18 install -dv /{sbin,srv,usr/local,var,opt,proc,sys}
    19 install -dv /root -m 0750
    20 install -dv /tmp /var/tmp -m 1777
    21 install -dv /media/{floppy,cdrom}
    22 install -dv /usr/{bin,include,lib,sbin,share,src}
    23 ln -sv share/{man,doc,info} /usr
    24 install -dv /usr/share/{doc,info,locale,man}
    25 install -dv /usr/share/{misc,terminfo,zoneinfo}
    26 install -dv /usr/share/man/man{1,2,3,4,5,6,7,8}
    27 install -dv /usr/local/{bin,etc,include,lib,sbin,share,src}
    28 ln -sv share/{man,doc,info} /usr/local
    29 install -dv /usr/local/share/{doc,info,locale,man}
    30 install -dv /usr/local/share/{misc,terminfo,zoneinfo}
    31 install -dv /usr/local/share/man/man{1,2,3,4,5,6,7,8}
    32 install -dv /var/{lock,log,mail,run,spool}
    33 install -dv /var/{opt,cache,lib/{misc,locate},local}
    34 install -dv /opt/{bin,doc,include,info}
    35 install -dv /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
     17  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     18  href="../common/creatingdirs.xml"
     19  xpointer="xpointer(//*[@os='b'])"/>
    3620
    3721   <para os="m1">These entries are needed for the RaQ2 bootloader. Only use these
     
    4327  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4428  href="../common/creatingdirs.xml"
    45   xpointer="xpointer(//*[@os='b'])"/>
    46 
    47   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    48   href="../common/creatingdirs.xml"
    4929  xpointer="xpointer(//*[@os='c'])"/>
    5030
     
    5333  xpointer="xpointer(//*[@os='d'])"/>
    5434
     35  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     36  href="../common/creatingdirs.xml"
     37  xpointer="xpointer(//*[@os='e'])"/>
     38
    5539</sect1>
  • chroot/mips64/creatingdirs.xml

    re3edc25 r6ab69ca  
    4848  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4949  href="../common/creatingdirs.xml"
    50   xpointer="xpointer(//*[@os='b'])"/>
    51 
    52   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    53   href="../common/creatingdirs.xml"
    5450  xpointer="xpointer(//*[@os='c'])"/>
    5551
     
    5854  xpointer="xpointer(//*[@os='d'])"/>
    5955
     56  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     57  href="../common/creatingdirs.xml"
     58  xpointer="xpointer(//*[@os='e'])"/>
     59
    6060</sect1>
  • chroot/multilib/creatingdirs.xml

    re3edc25 r6ab69ca  
    3939  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4040  href="../common/creatingdirs.xml"
    41   xpointer="xpointer(//*[@os='b'])"/>
    42 
    43   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    44   href="../common/creatingdirs.xml"
    4541  xpointer="xpointer(//*[@os='c'])"/>
    4642
     
    4945  xpointer="xpointer(//*[@os='d'])"/>
    5046
     47  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     48  href="../common/creatingdirs.xml"
     49  xpointer="xpointer(//*[@os='e'])"/>
     50
    5151</sect1>
  • introduction/common/changelog.xml

    re3edc25 r6ab69ca  
    4141      <itemizedlist>
    4242        <listitem>
     43          <para>[Chris] - Modified the "creating directories" sections -
     44          changed multilib instructions to be consistent with the new format
     45          now used for every other arch, and changed mips instructions to
     46          use xincludes.</para>
     47        </listitem>
     48      </itemizedlist>
     49    </listitem>
     50
     51    <listitem>
     52      <para>July 6, 2006</para>
     53      <itemizedlist>
     54        <listitem>
    4355          <para>[jim] - Updated Udev rules to 07062006, Fixed cdrom,
    4456          permissions and groups.</para>
Note: See TracChangeset for help on using the changeset viewer.