Levels of soft links in BSD4.3

Conor P. Cahill cpcahil at virtech.uucp
Tue Sep 4 22:28:57 AEST 1990


In article <1990Sep4.045427.2307 at ecn.purdue.edu> irick at ecn.purdue.edu (GarBear Irick) writes:
>
>Just curious....  Does anyone know how many levels of soft links I can use
>in 4.3BSD?  Something like

A quick RTFM of the 4.3BSD Programmers manual reference guide states the 
following (on the intro(2) manual page):

	62 ELOOP too many levels of symbolic links
		A path name lookup involved more than 8 symbolic links

This code is in place to protect the system from the case you attempted to
create:

>lns -s ONE TWO
>lns -s TWO ONE
>cat ONE

which otherwise would have gone on forever.
-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170 



More information about the Comp.unix.questions mailing list