aboutsummaryrefslogtreecommitdiffstats
path: root/chapter03/creatingdirs.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter03/creatingdirs.xml')
-rw-r--r--chapter03/creatingdirs.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/chapter03/creatingdirs.xml b/chapter03/creatingdirs.xml
index 0e42e620e..317fdb5ee 100644
--- a/chapter03/creatingdirs.xml
+++ b/chapter03/creatingdirs.xml
@@ -10,8 +10,8 @@ Issuing the following commands will create a default directory layout:
<blockquote><literallayout>
<userinput>cd $LFS</userinput>
- <userinput>mkdir -p bin boot dev/pts etc home lib mnt proc root sbin
- tmp var</userinput>
+ <userinput>mkdir -p bin boot dev/pts etc/opt home lib mnt proc root sbin
+ tmp var opt</userinput>
<userinput>for dirname in $LFS/usr $LFS/usr/local</userinput>
<userinput><literal>&nbsp;&nbsp;&nbsp;do</literal></userinput>
<userinput>&nbsp;&nbsp;&nbsp;mkdir $dirname</userinput>
@@ -29,7 +29,10 @@ Issuing the following commands will create a default directory layout:
man8</userinput>
<userinput>done</userinput>
<userinput>cd $LFS/var</userinput>
- <userinput>mkdir lock log mail run spool tmp</userinput>
+ <userinput>mkdir -p lock log mail run spool tmp opt cache lib/misc local
+ opt </userinput>
+ <userinput>cd $LFS/opt</userinput>
+ <userinput>mkdir bin doc include info lib man</userinput>
</literallayout></blockquote>
<para>