Changeset 9fcb5e4 for chroot


Ignore:
Timestamp:
Jun 21, 2006, 10:42:40 AM (19 years ago)
Author:
Chris Staub <chris@…>
Children:
b71fa50
Parents:
3962f52
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chroot/common/creatingdirs.xml

    r3962f52 r9fcb5e4  
    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.