[Bug 2546] Changed - statvfs() implementation in glibc-2.1 is broken (fwd)

H.J. Lu hjl@lucon.org
Fri May 7 07:48:00 GMT 1999


Hi,

It looks like it is wrong to set f_frsize to 0. df can deal with it.
But not other programs. According to the Unix standard,

unsigned long f_frsize   fundamental filesystem block size
fsblkcnt_t    f_blocks   total number of blocks on file system in units of f_frsize

I think we should set f_frsize to f_bsize since on Linux they are
the same.


H.J.
-----


More information about the Libc-hacker mailing list