r1949 - / branches/clfs-2.0/BOOK/final-preps

jim at linuxfromscratch.org jim at linuxfromscratch.org
Sun Jul 9 12:46:59 PDT 2006


Author: jim
Date: 2006-07-09 13:46:59 -0600 (Sun, 09 Jul 2006)
New Revision: 1949

Modified:
   /
   branches/clfs-2.0/BOOK/final-preps/creatingdirs.xml
Log:
 r4437 at server (orig r2047):  jciccone | 2006-07-09 10:06:57 -0700
 Updated creating the dirs to remove the {1..8} construct because it is a recent bash addition



Property changes on: 
___________________________________________________________________
Name: svk:merge
   - b6734a72-470d-0410-b049-f317dca95413:/:2046
   + b6734a72-470d-0410-b049-f317dca95413:/:2047

Modified: branches/clfs-2.0/BOOK/final-preps/creatingdirs.xml
===================================================================
--- branches/clfs-2.0/BOOK/final-preps/creatingdirs.xml	2006-07-09 19:46:39 UTC (rev 1948)
+++ branches/clfs-2.0/BOOK/final-preps/creatingdirs.xml	2006-07-09 19:46:59 UTC (rev 1949)
@@ -13,19 +13,19 @@
   <para>It is time to create some structure in the LFS file system. Create a
   standard directory tree by issuing the following commands:</para>
 
-<screen><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt}
-mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
+<screen><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib,mnt}
+mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys}
+mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
+mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}
 install -dv -m 0750 ${CLFS}/root
 install -dv -m 1777 ${CLFS}{/var,}/tmp
 mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib,sbin,src}
 mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
-mkdir -v  ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
-mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1..8}
+mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
+mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
 for dir in ${CLFS}/usr{,/local}; do
   ln -sv share/{man,doc,info} $dir
-done
-mkdir -v ${CLFS}/var/{lock,log,mail,run,spool}
-mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}</userinput></screen>
+done</userinput></screen>
 
   <para>Directories are, by default, created with permission mode 755, but
   this is not desirable for all directories. In the commands above, two




More information about the cross-lfs mailing list