bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help needed !!


From: Bob Proulx
Subject: Re: Help needed !!
Date: Fri, 14 Nov 2003 11:12:15 -0700
User-agent: Mutt/1.3.28i

Bhanu Chunduri wrote:
>             I am getting error when trying to access a symbolic linked file 
> in Linux Below is the output of uname -a

In the future if you would word wrap your messages at some reasonable
column such as 72 it would improve the readability and be most
appreciated.

> Linux hostname  2.4.18-27.7.xsmp #1 SMP Fri Mar 14 05:52:30 EST 2003 i686 
> unknown
> Too many levels of symbolic links
> When accessing system with kernel  "2.4.9-34smp" I didn't faced the issue. 
> Guide me how can I get rid of this. 

This is not likely to be caused the by the kernel change.  What you
have when you are hitting too many symbolic links is usually an
infinite loop.  One symlink pointing to another.  Trace each symlink
until you find the looping area.

  ln -s foo bar
  ln -s bar foo
  ls -lL
  ls: bar: Too many levels of symbolic links
  ls: foo: Too many levels of symbolic links

  ls -l
  lrwxrwxrwx    1 bob      bob             3 Nov 14 11:09 bar -> foo
  lrwxrwxrwx    1 bob      bob             3 Nov 14 11:09 foo -> bar

It is possible that you are just exceeding the kernel's built in
count.  It normally allows for a limited number (IIRC 20) of hops.  It
is possible that you won't have an infinite loop but instead just a
long list of links that exceeds the kernel's limit.

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]