Changeset 6ab69ca for boot


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

Location:
boot
Files:
4 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>
Note: See TracChangeset for help on using the changeset viewer.