🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.misc
Article #603

Re: Too many symlinks?

#603
From: Philippe Troin
Date: Mon, 31 Jul 1995 00:00
29 lines
1959 bytes
Gary Smith (grs@lin.cbl.com.au) wrote:
: I added a 1GB HD as the second drive on my system and moved the /usr directory 
: tree on to it. I also created symbolic links from /var/adm and other 
: directories which are normally linked (although I think /usr/adm was a link to 
: /var/adm rather than the (reverse) way I have it now). Anyway, when I boot up, 
: it says something along the lines of 'Too many symbolic links: /var/utmp'. I 
: haven't noticed any problems but I'd like to know how to get rid of this error 
: message.

This kind of error arises generally when resolving the symlink turns into
a loop...
Try:
	ln -s a b
	ln -s b a
	cat a
So try to lookup some loops...
The following should work (tested on SunOS):
	# find / -type l -exec head -0 {} \;
It should give an error for each unresolved link...

--
------------------------------------------------------------------------------
Philippe Troin            Ingenieur en Architecture des Ordinateurs (ERG/IMAG)
troin@cime.inpg.fr        Computer Architecture Engineer
ptroin@enserg.fr
------------------------------------------------------------------------------
LEGAL NOTICE: The license to ditribute this message through Microsoft Network
	is US$500 (FF2500). Posting this message through Microdoft Network 
	constitutes an agreement to these terms. Copyright 1995 Philippe Troin
Technical Details
Message-ID: <3vim8n$p13@cicg-communication.grenet.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3vhnqj$3ra@lin.cbl.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1103af,126a38c0d3275a69
X-Google-Attributes: gid1103af,public
X-Google-Thread: 102983,126a38c0d3275a69
X-Google-Attributes: gid102983,public
From: troin@atarax.imag.fr (Philippe Troin)
Subject: Re: Too many symlinks?
Date: 1995/07/31
Message-ID: <3vim8n$p13@cicg-communication.grenet.fr>
X-Deja-AN: 107290462
references: <3vhnqj$3ra@lin.cbl.com.au>
followup-to: comp.os.linux.misc,aus.computers.linux
organization: INPG, France
reply-to: troin@cime.inpg.fr
newsgroups: comp.os.linux.misc,aus.computers.linux