[lfs-support] Tools directory is empty

Baho Utot baho-utot at columbus.rr.com
Tue Jan 17 05:07:16 PST 2012



On Tuesday 17 January 2012 12:29:40 am Firerat wrote:
> On Jan 17, 2012 5:21 AM, "Uthayanan" <suthayanan at gmail.com> wrote:
> > lfsuthayan at ubuntu:/$ ls -l /tools
> > total 48
> > drwxr-xr-x  2 lfsuthayan lfs 12288 Jan 16 11:22 bin
> > drwxr-xr-x  2 lfsuthayan lfs  4096 Jan 16 04:18 etc
> > drwxr-xr-x  4 lfsuthayan lfs  4096 Jan 10 09:26 i686-lfs-linux-gnu
> > drwxr-xr-x  4 lfsuthayan lfs  4096 Jan 16 05:00 i686-pc-linux-gnu
> > drwxr-xr-x 32 lfsuthayan lfs  4096 Jan 16 11:20 include
> > drwxr-xr-x 10 lfsuthayan lfs  4096 Jan 16 11:22 lib
> > drwxr-xr-x  6 lfsuthayan lfs  4096 Jan 16 11:06 libexec
> > drwxr-xr-x  2 lfsuthayan lfs  4096 Jan 16 11:22 sbin
> > drwxr-xr-x 13 lfsuthayan lfs  4096 Jan 16 11:23 share
> > drwxr-xr-x  2 lfsuthayan lfs  4096 Jan 16 09:21 var
> > lfsuthayan at ubuntu:/$
> >
> >> put I got
>
> /tools is not a link
>
> Confirm with
>
>      ls -l /
>
> to fix
>
>     mv /tools/* /mnt/lfs/tools/
>     rmdir /tools
>     ln -s /mnt/lfs/tools /tools
>
> Tbh I'm a little confused how you managed to do that, as you would need to
> be root

If you are using a package manager it is easy to overwrite the symlink with a 
directory /tools.

I have had this happend many times.  In fact it is something I am very good 
at. ;)




More information about the lfs-support mailing list