Ignore:
Timestamp:
Jul 7, 2006, 9:18:44 PM (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:
a66a890
Parents:
eda9ef8
Message:

More tweaking to remove redundancies, added missing xinclude, and removed the {1..8} constructs from boot section as this is a recent bash addition

File:
1 edited

Legend:

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

    reda9ef8 rfd6bb04  
    1414  standard directory tree by issuing the following commands:</para>
    1515
    16 <screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt}
    17 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
     16<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib,mnt}
     17mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys}
     18mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
     19mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}
    1820install -dv -m 0750 ${CLFS}/root
    1921install -dv -m 1777 ${CLFS}{/var,}/tmp
    2022mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib,sbin,src}
    2123mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
    22 mkdir -v ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
    23 mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1..8}
     24mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
     25mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
    2426for dir in ${CLFS}/usr{,/local}; do
    2527  ln -sv share/{man,doc,info} $dir
    26 done
    27 mkdir -v ${CLFS}/var/{lock,log,mail,run,spool}
    28 mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}</userinput></screen>
     28done</userinput></screen>
    2929
    3030  <para os="c">Directories are, by default, created with permission mode 755,
Note: See TracChangeset for help on using the changeset viewer.