r1811 - / branches/clfs-2.0/BOOK/final-preps trunk/BOOK/boot/common trunk/BOOK/chroot/common

jim at linuxfromscratch.org jim at linuxfromscratch.org
Wed Jun 21 12:55:50 PDT 2006


Author: jim
Date: 2006-06-21 13:55:50 -0600 (Wed, 21 Jun 2006)
New Revision: 1811

Modified:
   /
   branches/clfs-2.0/BOOK/final-preps/creatingdirs.xml
   trunk/BOOK/boot/common/creatingdirs.xml
   trunk/BOOK/chroot/common/creatingdirs.xml
Log:
 r4038 at server (orig r1878):  chris at beaker67.com | 2006-06-21 10:42:40 -0700
 Copied the modified 'creating dirs' section from CLFS 2.0 over to trunk



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

Modified: branches/clfs-2.0/BOOK/final-preps/creatingdirs.xml
===================================================================
--- branches/clfs-2.0/BOOK/final-preps/creatingdirs.xml	2006-06-21 19:55:42 UTC (rev 1810)
+++ branches/clfs-2.0/BOOK/final-preps/creatingdirs.xml	2006-06-21 19:55:50 UTC (rev 1811)
@@ -16,12 +16,12 @@
 <screen><userinput>mkdir -pv ${LFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt}
 mkdir -pv ${LFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
 install -dv -m 0750 ${LFS}/root
-install -dv -m 1777 ${LFS}/tmp ${LFS}/var/tmp
+install -dv -m 1777 ${LFS}{/var,}/tmp
 mkdir -pv ${LFS}/usr/{,local/}{bin,include,lib,sbin,src}
 mkdir -pv ${LFS}/usr/{,local/}share/{doc,info,locale,man}
 mkdir -v  ${LFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
 mkdir -pv ${LFS}/usr/{,local/}share/man/man{1..8}
-for dir in ${LFS}/usr ${LFS}/usr/local; do
+for dir in ${LFS}/usr{,/local}; do
   ln -sv share/{man,doc,info} $dir
 done
 mkdir -v ${LFS}/var/{lock,log,mail,run,spool}

Modified: trunk/BOOK/boot/common/creatingdirs.xml
===================================================================
--- trunk/BOOK/boot/common/creatingdirs.xml	2006-06-21 19:55:42 UTC (rev 1810)
+++ trunk/BOOK/boot/common/creatingdirs.xml	2006-06-21 19:55:50 UTC (rev 1811)
@@ -13,25 +13,19 @@
   <para os="a">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>install -dv ${LFS}/{bin,boot,dev,etc/opt,home,lib,mnt}
-install -dv ${LFS}/{sbin,srv,usr/local,var,opt,proc,sys}
-install -dv ${LFS}/root -m 0750
-install -dv ${LFS}/tmp ${LFS}/var/tmp -m 1777
-install -dv ${LFS}/media/{floppy,cdrom}
-install -dv ${LFS}/usr/{bin,include,lib,sbin,share,src}
-ln -sv share/{man,doc,info} ${LFS}/usr
-install -dv ${LFS}/usr/share/{doc,info,locale,man}
-install -dv ${LFS}/usr/share/{misc,terminfo,zoneinfo}
-install -dv ${LFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
-install -dv ${LFS}/usr/local/{bin,etc,include,lib,sbin,share,src}
-ln -sv share/{man,doc,info} ${LFS}/usr/local
-install -dv ${LFS}/usr/local/share/{doc,info,locale,man}
-install -dv ${LFS}/usr/local/share/{misc,terminfo,zoneinfo}
-install -dv ${LFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
-install -dv ${LFS}/var/{lock,log,mail,run,spool}
-install -dv ${LFS}/var/{opt,cache,lib/{misc,locate},local}
-install -dv ${LFS}/opt/{bin,doc,include,info}
-install -dv ${LFS}/opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
+<screen><userinput>mkdir -pv ${LFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt}
+mkdir -pv ${LFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
+install -dv -m 0750 ${LFS}/root
+install -dv -m 1777 ${LFS}{/var,}/tmp
+mkdir -pv ${LFS}/usr/{,local/}{bin,include,lib,sbin,src}
+mkdir -pv ${LFS}/usr/{,local/}share/{doc,info,locale,man}
+mkdir -v  ${LFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
+mkdir -pv ${LFS}/usr/{,local/}share/man/man{1..8}
+for dir in ${LFS}/usr{,/local}; do
+  ln -sv share/{man,doc,info} $dir
+done
+mkdir -v ${LFS}/var/{lock,log,mail,run,spool}
+mkdir -pv ${LFS}/var/{opt,cache,lib/{misc,locate},local}</userinput></screen>
 
   <para os="b">Directories are, by default, created with permission mode 755,
   but this is not desirable for all directories. In the commands above,

Modified: trunk/BOOK/chroot/common/creatingdirs.xml
===================================================================
--- trunk/BOOK/chroot/common/creatingdirs.xml	2006-06-21 19:55:42 UTC (rev 1810)
+++ trunk/BOOK/chroot/common/creatingdirs.xml	2006-06-21 19:55:50 UTC (rev 1811)
@@ -14,25 +14,19 @@
   href="../../boot/common/creatingdirs.xml"
   xpointer="xpointer(//*[@os='a'])"/>
 
-<screen><userinput>install -dv /{bin,boot,etc/opt,home,lib,mnt}
-install -dv /{sbin,srv,usr/local,var,opt,proc,sys}
-install -dv /root -m 0750
-install -dv /tmp /var/tmp -m 1777
-install -dv /media/{floppy,cdrom}
-install -dv /usr/{bin,include,lib,sbin,share,src}
-ln -sv share/{man,doc,info} /usr
-install -dv /usr/share/{doc,info,locale,man}
-install -dv /usr/share/{misc,terminfo,zoneinfo}
-install -dv /usr/share/man/man{1,2,3,4,5,6,7,8}
-install -dv /usr/local/{bin,etc,include,lib,sbin,share,src}
-ln -sv share/{man,doc,info} /usr/local
-install -dv /usr/local/share/{doc,info,locale,man}
-install -dv /usr/local/share/{misc,terminfo,zoneinfo}
-install -dv /usr/local/share/man/man{1,2,3,4,5,6,7,8}
-install -dv /var/{lock,log,mail,run,spool}
-install -dv /var/{opt,cache,lib/{misc,locate},local}
-install -dv /opt/{bin,doc,include,info}
-install -dv /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
+<screen><userinput>mkdir -pv /{bin,boot,dev,etc/opt,home,lib,mnt,opt}
+mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys,var}
+install -dv -m 0750 /root
+install -dv -m 1777 {/var,}/tmp
+mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src}
+mkdir -pv /usr/{,local/}share/{doc,info,locale,man}
+mkdir -v  /usr/{,local/}share/{misc,terminfo,zoneinfo}
+mkdir -pv /usr/{,local/}share/man/man{1..8}
+for dir in /usr{,/local}; do
+  ln -sv share/{man,doc,info} $dir
+done
+mkdir -v /var/{lock,log,mail,run,spool}
+mkdir -pv /var/{opt,cache,lib/{misc,locate},local}</userinput></screen>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../../boot/common/creatingdirs.xml"




More information about the cross-lfs mailing list