creatingdirs.sgml shortened

Jean-François Le Ray jfleray at club-internet.fr
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
to
      > cd share
and the line
      > cd $dirname/share/man
to
      > cd man

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

Your respectful fan,
			J-F
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org 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