Problem in running "ln -s $LFS/tools /"

Stephen Liu satimis at yahoo.com
Tue Jun 28 01:33:45 PDT 2005


Hi folks,

After downloading 'lfs-packages-6.0.tar' to
/mnt/lfs/sources/

# tar xvf lfs-packages-6.0.tar

Continued on
http://www.sg.linuxfromscratch.org/lfs/view/6.0/chapter04/creatingtoolsdir.html

# mkdir $LFS/tools 
No complaint

# ls /
bin   etc    initrd      media  opt   sbin     sys   
usr
boot  home   lib         misc   proc  selinux  tmp   
var
dev   home2  lost+found  mnt    root  srv      tools

# ls / | grep tools
tools

# ln -s $LFS/tools /
ln: `//tools': cannot overwrite directory

It complained.  Tried both as "su" and "su -"
respectively, same result;
ln: `//tools': cannot overwrite directory

Please advise.  TIA

B.R.
Stephen Liu



More information about the lfs-support mailing list