Junzheng Man wrote in comp.unix.solaris:
Quote:>I created a symbol link directory and when I get into it, I always get
>the following error message:
>backup: Number of symbolic links encountered during path name traversal
>exceeds MAXSYMLINKS.
>where "backup" is the name of the link target, it's a directory.
>Can anyone help me to overcome this?
It means that your symbolic link could not be resolved to a
non-symbolic link (a real file or directory) after trying to follow
MAXSYMLINKS links, so it gave up. (MAXSYMLINKS is defined in
sys/param.h.)
This usually means that you've got an endless loop of symbolic links.
For example, if your symbolic link "backup" points back to itself (if
the "ls -l" entry looks something like below), then the system will
keep trying to follow the link, but it will keep leading back to the
same place, hence the loop.
lrwxrwxrwx 1 user group 6 Sep 28 12:00 backup -> backup
The solution is to fix your links so that they don't give yield
infinite loops when resolving.
Read more about symbolic links with "man ln" - note that the default
behavior of ln is to create hard links, for the purposes of this topic,
you may ignore that information and pay attention only to symbolic
links (the -s argument to ln).
-MM