lkml.org 
[lkml]   [1999]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: LINK_MAX
From
Date
Bruce Harada <bruce@ask.ne.jp> 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...

LINK_MAX has nothing to do with symlinks. That's the maximum number of
*hard* links an inode can have.

Andreas.

--
Andreas Schwab "And now for something
SuSE Labs completely different."
schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.039 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site