creatingdirs.sgml shortened

Jean-François Le Ray jfleray at
Thu Jul 27 09:57:47 PDT 2000

Gerard Beekmans wrote:
> I've shortened the creastingdirs.sgml file. The directories in
> /usr/local are still made but they're inside a for-loop:
> root:~# cd $LFS
>      root:~# mkdir bin boot dev etc home lib mnt proc root sbin tmp var
>      root:~# for dirname in $LFS/usr $LFS/usr/local
>      > do
>      > mkdir $dirname
>      > cd $dirname
>      > mkdir bin etc include lib sbin share src tmp var
>      > ln -s share/man man
>      > ln -s share/doc doc
>      > ln -s share/info info
>      > cd $dirname/share
>      > mkdir dict doc info locale man nls misc terminfo zoneinfo
>      > cd $dirname/share/man
>      > mkdir man1 man2 man3 man4 man5 man6 man7 man8
>      > done
>      root:~# cd $LFS/var
>      root:var# mkdir lock log run spool tmp

If you want to shorten the command a little bit more, you can change
the line :
      > cd $dirname/share
      > cd share
and the line
      > cd $dirname/share/man
      > cd man

To be more serious, why don't we "mkdir man9" ?

Your respectful fan,
Mail archive:
IRC access: server: port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)

More information about the lfs-dev mailing list