Re: LINK_MAX

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Tue, 09 Nov 1999 13:33:42 -0500


In message <199911091756.CAA20422@ask.ne.jp>, Bruce Harada writes:
+-----
| >> Just a quick question - why is LINK_MAX in limits.h restricted to
| >> 127? EXT2_LINK_MAX is 32000, so is there any reason for keeping
| >> the value of LINK_MAX so low?
| >
| >As far as I know symlinks are handled by recursive mechanisms inside the
| >kernel, and amount of kernel stack is limited.
|
| Whoops - that would explain it, I guess...
+--->8

LINK_MAX refers to hard links, not symlinks. Hard links aren't recursive.

-- 
brandon s. allbery	   os/2,linux,solaris,perl	allbery@kf8nh.apk.net
system administrator	   kthkrb,heimdal,gnome,rt	  allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering			kf8nh
    We are Linux. Resistance is an indication that you missed the point.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/