This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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.
-----

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]