Paul Eggert <[email protected]> writes: > On 05/10/2012 04:04 PM, Nikolaus Rath wrote: >> But why isn't >> it du using statvfs instead of statfs? > > m4/fsusage.m4 says why: > > Do not use statvfs on systems with GNU libc on Linux, because that function > stats all preceding entries in /proc/mounts, and that makes df hang if even > one of the corresponding file systems is hard-mounted, but not available.
This is no longer true if the kernel is at least 2.6.36. Andreas. -- Andreas Schwab, [email protected] GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
