On Sat, 2 Apr 2011 07:03:24 -0700 (PDT)
Spencer Boyd <[email protected]> wrote:

> Sorry about the typo, I made it when typing the email not entering the 
> command.
> 
> I think you may have found something:
> 
> spencer@spencer-desktop:~$ file /tools
> /tools: directory
> 
> ls /tools
> bin  i686-lfs-linux-gnu  lib  share
> 
> Should the above be in /mnt/lfs/tools and not in /tools?

If you'd made the symlink they would have ended up in /mnt/lfs/tools

> And when I try to overwrite the existing symlink I get:
> 
> spencer@spencer-desktop:~$ ln -svf /mnt/lfs/tools /
> ln: `/tools': cannot overwrite directory

Indeed. It looks as though you forgot to make the symlink. What I don't
understand is how a directory /tools got made, owned by the user lfs?

> spencer@spencer-desktop:~$ ls -l /
> drwxr-xr-x   6 lfs  root  4096 2011-03-31 21:22 tools
> 

As root,
rm -rf /tools
ln -sv /mnt/lfs/tools /

Then you should be ready to start chapter 5.

Andy 
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to