Re: LINK_MAX

Ulrich Drepper (drepper@cygnus.com)
09 Nov 1999 09:48:33 -0800


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?

Simply don't use the constant. This is a wrong concept and only kept
for historic reasons. Use pathconf() and you'll get the correct
values.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

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