This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

LINK_MAX problem.


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]