Article View: comp.os.linux.misc
Article #604Re: Too many symlinks?
From: John Saunders
Date: Tue, 01 Aug 1995 00:00
Date: Tue, 01 Aug 1995 00:00
22 lines
1833 bytes
1833 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.
The filesystem has a limit on the number of times it will follow the redirection
of a symlink to prevent infinite loops. I don't know what this number is offhand
but it's high enough for most purposes. If I were you I would make sure that you
don't have a circular reference. I.e.
/etc/utmp -> /var/adm/utmp
/var/adm/utmp -> /etc/utmp
--
-- . +------------------------------------------------------------+
,--_|\ | John Saunders - (Work) johns@rd.scitec.com.au |
/ Oz \ | - (Home) john@pacer.apana.org.au |
\_,--\_/ | SCITEC LIMITED - Phone +61 2 428 9563 - Fax +61 2 428 9933 |
v +------------------------------------------------------------+
Technical Details
Message-ID:
<1995Aug1.032302.13706@rd.scitec.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<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: johns@rd.scitec.com.au (John Saunders) Subject: Re: Too many symlinks? Date: 1995/08/01 Message-ID: <1995Aug1.032302.13706@rd.scitec.com.au> X-Deja-AN: 107290646 references: <3vhnqj$3ra@lin.cbl.com.au> organization: SCITEC LIMITED followup-to: comp.os.linux.misc,aus.computers.linux newsgroups: comp.os.linux.misc,aus.computers.linux