[6198] in Athena Bugs

home help back first fref pref prev next nref lref last post

decmips 7.1H: msgchk

daemon@ATHENA.MIT.EDU (John T Kohl)
Thu Oct 11 09:27:16 1990

Date: Thu, 11 Oct 90 09:27:05 EDT
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU

System name:		quicksilver
Type and version:	KN01 7.1H
Display type:		PM-MONO

What were you trying to do?
	run msgchk from my login scripts.

What's wrong:
	/usr/new/mh/bin/msgchk: Too many levels of symbolic links.

[{1}quicksilver:~]
% ls -ld /usr
drwxr-xr-x  2 root          512 Oct  9 09:58 /usr
[{1}quicksilver:~]
% ls -ld /usr/new
lrwxrwxrwx  1 root           13 Oct  9 09:35 /usr/new -> /srvd/usr/new
[{1}quicksilver:~]
% ls -ld /srvd
lrwxr-xr-x  1 root           39 Oct 11 09:15 /srvd -> /afs/athena.mit.edu/system/@sys/srvd.71
[{1}quicksilver:~]
% ls -ld /afs
drwxrwxrwx  2 root         4096 Oct 10 16:38 /afs
[{1}quicksilver:~]
% ls -ld /afs/athena.mit.edu
drwxrwxrwx  3 root         2048 Jul 18 18:57 /afs/athena.mit.edu
[{1}quicksilver:~]
% ls -ld /afs/athena.mit.edu/system
drwxrwxrwx  5 root         2048 Oct 10 19:31 /afs/athena.mit.edu/system
[{1}quicksilver:~]
% ls -ld /afs/athena.mit.edu/system/@sys
lrwxr-xr-x  1 14640          10 Apr 25 11:10 /afs/athena.mit.edu/system/@sys ->decmips_30
[{1}quicksilver:~]
% ls -ld /afs/athena.mit.edu/system/decmips_30
drwxrwxr-x  2 14640        2048 Oct 10 19:31 /afs/athena.mit.edu/system/decmips_30
[{1}quicksilver:~]
% ls -ld /afs/athena.mit.edu/system/decmips_30/srvd.71
drwxr-xr-x 13 root         2048 Aug 10 18:29 /afs/athena.mit.edu/system/decmips_30/srvd.71
[{1}quicksilver:~]
% ls -ld /afs/athena.mit.edu/system/decmips_30/srvd.71/usr
drwxr-xr-x 29 root         2048 Aug  3 12:07 /afs/athena.mit.edu/system/decmips_30/srvd.71/usr
[{1}quicksilver:~]
% ls -ld /afs/athena.mit.edu/system/decmips_30/srvd.71/usr/new
drwxr-xr-x  3 root         2048 Aug  8 17:29 /afs/athena.mit.edu/system/decmips_30/srvd.71/usr/new
[{1}quicksilver:~]
% ls -ld /afs/athena.mit.edu/system/decmips_30/srvd.71/usr/new/mh
lrwxr-xr-x  1 root           19 Jul 26 11:46 /afs/athena.mit.edu/system/decmips_30/srvd.71/usr/new/mh -> /usr/new/mh.6.6/bin
[{1}quicksilver:~]
% ls -ld /afs/athena.mit.edu/system/decmips_30/srvd.71/usr/new/mh.6.6
drwxr-xr-x  4 root         2048 Aug  3  1989 /afs/athena.mit.edu/system/decmips_30/srvd.71/usr/new/mh.6.6
[{1}quicksilver:~]
% ls -ld /afs/athena.mit.edu/system/decmips_30/srvd.71/usr/new/mh.6.6/bin
drwxr-xr-x  2 root         2048 Jul 26 11:46 /afs/athena.mit.edu/system/decmips_30/srvd.71/usr/new/mh.6.6/bin
[{1}quicksilver:~]
%

What should have happened:
	It should work.  This example has 7 symlinks in the chain.

Experiments in /tmp indicated that the max # links is 8:

[{1}quicksilver:/tmp/bar]
% ls -l
total 1
lrwxr-xr-x  1 jtkohl          1 Oct 11 09:24 foo -> .
[{1}quicksilver:/tmp/bar]
% ls -R
foo

foo:
foo

foo/foo:
foo

foo/foo/foo:
foo

foo/foo/foo/foo:
foo

foo/foo/foo/foo/foo:
foo

foo/foo/foo/foo/foo/foo:
foo

foo/foo/foo/foo/foo/foo/foo:
foo

foo/foo/foo/foo/foo/foo/foo/foo:
foo
[{1}quicksilver:/tmp/bar]
%


Please describe any relevant documentation references:
	symlink(2)


home help back first fref pref prev next nref lref last post