Re: f_frsize value in struct statvfs set to 0 instead of the f_bsize value

Andreas Jaeger (aj@arthur.rhein-neckar.de)
24 Jul 1999 00:19:22 +0200


>>>>> Zack Brown writes:

Zack> Got this today. Thought I'd pass it on...
This is off-topic on linux-kernel.

Zack> ---------- Forwarded message ----------
Zack> Date: Fri, 23 Jul 1999 11:22:55 -0600
Zack> From: Gordon Haverland <haverlan@agric.gov.ab.ca>
Zack> To: zbrown@linuxcare.com
Zack> Subject: kernel traffic

Zack> Hi!
Zack> I'm a LUG president in western Canada, don't get involved
Zack> in kernel development. But I am involved in LPRng, a print
Zack> spooling system. A while ago, it was pointed out that
Zack> RedHat 6.0 (probably Linux in general) has a "bug" in
Zack> that they set the f_frsize value in struct statvfs to
Zack> 0 instead of the f_bsize value.

Zack> Anyway, as I don't know where to pass this onto, I was
Zack> hoping maybe you did.

This happens in glibc and has been corrected already. The fix is in
the released version of glibc 2.1.1.

Andreas

1999-05-07 Ulrich Drepper <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
f_bsize to help some broken programs.

-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/