Changeset 0de816f8 for BOOK


Ignore:
Timestamp:
Jun 21, 2006, 10:42:40 AM (18 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
fb40919
Parents:
689b882f
Message:

Copied the modified 'creating dirs' section from CLFS 2.0 over to trunk

Location:
BOOK
Files:
2 edited

Legend:

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

    r689b882f r0de816f8  
    1414  standard directory tree by issuing the following commands:</para>
    1515
    16 <screen><userinput>install -dv ${LFS}/{bin,boot,dev,etc/opt,home,lib,mnt}
    17 install -dv ${LFS}/{sbin,srv,usr/local,var,opt,proc,sys}
    18 install -dv ${LFS}/root -m 0750
    19 install -dv ${LFS}/tmp ${LFS}/var/tmp -m 1777
    20 install -dv ${LFS}/media/{floppy,cdrom}
    21 install -dv ${LFS}/usr/{bin,include,lib,sbin,share,src}
    22 ln -sv share/{man,doc,info} ${LFS}/usr
    23 install -dv ${LFS}/usr/share/{doc,info,locale,man}
    24 install -dv ${LFS}/usr/share/{misc,terminfo,zoneinfo}
    25 install -dv ${LFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
    26 install -dv ${LFS}/usr/local/{bin,etc,include,lib,sbin,share,src}
    27 ln -sv share/{man,doc,info} ${LFS}/usr/local
    28 install -dv ${LFS}/usr/local/share/{doc,info,locale,man}
    29 install -dv ${LFS}/usr/local/share/{misc,terminfo,zoneinfo}
    30 install -dv ${LFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
    31 install -dv ${LFS}/var/{lock,log,mail,run,spool}
    32 install -dv ${LFS}/var/{opt,cache,lib/{misc,locate},local}
    33 install -dv ${LFS}/opt/{bin,doc,include,info}
    34 install -dv ${LFS}/opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
     16<screen><userinput>mkdir -pv ${LFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt}
     17mkdir -pv ${LFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
     18install -dv -m 0750 ${LFS}/root
     19install -dv -m 1777 ${LFS}{/var,}/tmp
     20mkdir -pv ${LFS}/usr/{,local/}{bin,include,lib,sbin,src}
     21mkdir -pv ${LFS}/usr/{,local/}share/{doc,info,locale,man}
     22mkdir -v  ${LFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
     23mkdir -pv ${LFS}/usr/{,local/}share/man/man{1..8}
     24for dir in ${LFS}/usr{,/local}; do
     25  ln -sv share/{man,doc,info} $dir
     26done
     27mkdir -v ${LFS}/var/{lock,log,mail,run,spool}
     28mkdir -pv ${LFS}/var/{opt,cache,lib/{misc,locate},local}</userinput></screen>
    3529
    3630  <para os="b">Directories are, by default, created with permission mode 755,
  • BOOK/chroot/common/creatingdirs.xml

    r689b882f r0de816f8  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>install -dv /{bin,boot,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<screen><userinput>mkdir -pv /{bin,boot,dev,etc/opt,home,lib,mnt,opt}
     18mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys,var}
     19install -dv -m 0750 /root
     20install -dv -m 1777 {/var,}/tmp
     21mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src}
     22mkdir -pv /usr/{,local/}share/{doc,info,locale,man}
     23mkdir -v  /usr/{,local/}share/{misc,terminfo,zoneinfo}
     24mkdir -pv /usr/{,local/}share/man/man{1..8}
     25for dir in /usr{,/local}; do
     26  ln -sv share/{man,doc,info} $dir
     27done
     28mkdir -v /var/{lock,log,mail,run,spool}
     29mkdir -pv /var/{opt,cache,lib/{misc,locate},local}</userinput></screen>
    3630
    3731  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note: See TracChangeset for help on using the changeset viewer.