[GLLUG] Re: symbolic links
Phillip Hofmeister
plhofmei at antiochcomputerconsulting.com
Sun Mar 20 16:06:01 EST 2005
On Sun, 20 Mar 2005 at 01:04:25PM -0500, David Smith wrote:
> I don't understand this.
>
> 1) I was doing cd /mnt
>
> 2) Then I was doing ln -s /a
>
> 3) Then I would do rm a
>
> I did this a number of times with no problems.
>
> This morning those steps worked, but /mnt/a@ was in red.
Red on your standard ls output indicates a dangling symbolic link.
Type ls -l. Does the link refer to an existing inode/file?
> I did cd a and got an error:
> "too many levels of symbolic links"
This tends to happen when you have a link a that refers to link b and
link b refers back to link a.
--
Phillip Hofmeister
More information about the linux-user
mailing list