[buug] ln -sf bug

Stefan Lasiewski flarg at flarg.org
Fri Aug 6 13:25:13 PDT 2004


--- johnd <john at jjdev.com> wrote:
> shouldn't ln -sf linux-2.6.7 linux make linux by a sym link to linux-2.6.7?
 
For me this will creates a bad symlink within the target's directory:

% cd linux
% ls -l linux-2.6.7
lrwxrwxrwx    1 500    500         11 Aug  6 13:02 linux-2.6.7 -> linux-2.6.7

If you ever run across the error "Too many symbolic links", look for a shell
script which fails to delete the link before creating a new one:

% ls linux/linux-2.6.7/
ls: linux/linux-2.6.7/: Too many symbolic links

At my last job I had to fix this on 2000 systems running either Solaris,
Tru64, OSF, AIX or RedHat. Easy to fix, a pain to debug! 

-= Stefan

=====
----
'The art, or rather the knack
of flying is learning to throw
yourself to the ground and miss.'
-Douglas Adams, THGTTG



More information about the buug mailing list