Created attachment 5782 [details] Add Lustre filesystem to getconf/pathconf/statvfs Due to the way getconf is implemented, it needs to explicitly list each filesystem type in order to determine the correct FILESIZEBITS and LINK_MAX values to use for each filesystem. Attached is a patch against glibc-2.14-9-g29f6547, though it also patches at least as far back as glibc-2.12. Add Lustre filesystem to getconf/pathconf/statvfs Add definitions of LUSTRE_SUPER_MAGIC and LUSTRE_LINK_MAX, and add detection into __statfs_filesize_max(), __statvfs_getflags(), and __statfs_link_max() so that getconf(), pathconf(), statvfs(), etc. can detect this filesystem type correctly. The LUSTRE_SUPER_MAGIC type is already handled by coreutils, but it seems that coreutils and glibc do not share the magic values.
I've applied the patch with a tiny change. Next time update the copyright year in the files and pay attention to the file encoding.
Should have been closed already.