Changeset 0de816f8 for BOOK/boot/common


Ignore:
Timestamp:
Jun 21, 2006, 10:42:40 AM (19 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

File:
1 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,
Note: See TracChangeset for help on using the changeset viewer.