This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
Re: [Bug 2546] Changed - statvfs() implementation in glibc-2.1 is broken (fwd)
- To: libc-hacker@cygnus.com (GNU C Library)
- Subject: Re: [Bug 2546] Changed - statvfs() implementation in glibc-2.1 is broken (fwd)
- From: hjl@lucon.org (H.J. Lu)
- Date: Fri, 7 May 1999 07:48:44 -0700 (PDT)
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.
-----