Date: Fri, 18 Feb 2005 17:17:07 +0800 From: Jumbler_Chi@mobitai.com.tw To: freebsd-hackers@freebsd.org Subject: ln question Message-ID: <OF9B766A93.00A23F1F-ON48256FAC.00312185@mobitai.com.tw>
next in thread | raw e-mail | index | archive | help
Hi hackers ! I have one strange thing about 'ln' command. my box is 5.2R. I built some directory on $HOME , such as $HOME/a/b I want to create a symbolic link for 'b' under top directory , $HOME. so , I typed some command as $ mkdir $HOME/a $ mkdir $HOME/a/b $ cd $HOME/a $ ln -s b ../ $ cd $HOME/b cd: can't cd to /home/matrix/b $ file $HOME/b b: broken symbolic link to b but when I also created another symbolic link as following again , it is ok. why is it broken symbolic link?! $ rm $HOME/b $ rmdir $HOME/a/b $ rmdir $HOME/a $ mkdir $HOME/a $ mkdir $HOME/a/b $ cd $HOME $ ln -s a/b . $ cd $HOME/b Regards!! Jumbler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OF9B766A93.00A23F1F-ON48256FAC.00312185>