Something curious :->>

Andrei A. Voropaev av at simcon-mt.com
Mon Nov 14 04:36:16 PST 2005


On Mon, Nov 14, 2005 at 12:25:20PM +0100, Clemens HAUPT wrote:
> Am Sunday 13 November 2005 22:44 schrieben Sie:
> 
> >> As it is recommended in the  Book and
> >> Gerrard says strictly this being the only
> >> thing to be used:
> >> ln -s $LFS/tools /
> >> Ge> The above command is correct. ;-)
> >> I only get the answer
> >> ln: `//tools': cannot overwrite directory
> >> Why not!
> >> Chmod says: 755
> >> Owner root
> >> Group root
> >
> >This is a question for lfs-support.
> 
> Well, copied to it, but I don't want to be boring
> 
> >I'm not sure, but it could be becaue you already have a directory
> >/tools. Also, try doing `echo $LFS`, it seems like LFS=/ for you.
> Maybe. As a matter of fact, the same reaction even I havent 
> mounted the partition, removed $LFS/tools or done as described
> in the book exactly.
> echo $LFS  brings  /mnt/lfs 

The output you've provided suggests, that at the moment when you called
ln -s, $LFS was set to '/'. So ln tried to link /tools to /tools which
it can't do.

-- 
Minds, like parachutes, function best when open



More information about the lfs-support mailing list