diff options
Diffstat (limited to 'chapter05/creatingdirs.xml')
-rw-r--r-- | chapter05/creatingdirs.xml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/chapter05/creatingdirs.xml b/chapter05/creatingdirs.xml index fcbc16db0..9ebdd1884 100644 --- a/chapter05/creatingdirs.xml +++ b/chapter05/creatingdirs.xml @@ -10,17 +10,17 @@ Issuing the following commands will create a default directory layout:</para> <para><screen><userinput>cd $LFS && mkdir -p bin boot dev/pts etc/opt home lib mnt proc root sbin tmp var opt && for dirname in $LFS/usr $LFS/usr/local - do - mkdir $dirname - cd $dirname - mkdir bin etc include lib sbin share src - ln -s share/man - ln -s share/doc - ln -s share/info - cd $dirname/share - mkdir dict doc info locale man nls misc terminfo zoneinfo - cd $dirname/share/man - mkdir man{1,2,3,4,5,6,7,8} + do + mkdir $dirname + cd $dirname + mkdir bin etc include lib sbin share src + ln -s share/man + ln -s share/doc + ln -s share/info + cd $dirname/share + mkdir dict doc info locale man nls misc terminfo zoneinfo + cd $dirname/share/man + mkdir man{1,2,3,4,5,6,7,8} done && cd $LFS/var && mkdir -p lock log mail run spool tmp opt cache lib/misc local && |