On 01/29/2013 06:44 PM, Eric Wong wrote: > eglibc on Debian is only configured to only use features available in > Linux 2.6.26 at build time. This means statvfs() uses stat() internally > regardless of the run-time kernel version[1].
That sounds like a bug in eglibc. Perhaps you can fix this problem on the eglibc side. That is, eglibc can use only 2.6.26 features, but make an exception for this feature, since it's obviously needed. Or you can modify eglibc so that one can use confstr to detect the fact that it's eglibc and what eglibc version it is, and detect the eglibc bug that way. But this sounds like more work for everybody concerned -- it'd be better to just fix the bug, surely.