This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
LINK_MAX problem.
- To: drepper@cygnus.com (Ulrich Drepper)
- Subject: LINK_MAX problem.
- From: hjl@lucon.org (H.J. Lu)
- Date: Fri, 23 Oct 1998 11:57:01 -0700 (PDT)
- Cc: libc-hacker@cygnus.com (GNU C Library)
Hi,
On Linux, LINK_MAX varies depending on the fileystems. But
glibc always returns a fixed value. Can we fix it? I think
we can do this in pathconf
fstatfs (fd, &buf)
switch (buf.f_type)
{
case EXT2_FS:
return EXT2_LINK_MAX;
....
}
Thanks.
--
H.J. Lu (hjl@gnu.org)