bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11406: Bug? df uses f_bsize instead of f_frsize to calculate file sy


From: Paul Eggert
Subject: bug#11406: Bug? df uses f_bsize instead of f_frsize to calculate file system sizes
Date: Fri, 11 May 2012 21:05:06 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

On 05/11/2012 06:56 PM, Nikolaus Rath wrote:
Yes, this works:

OK, thanks, I pushed that patch into gnulib, where
coreutils should eventually pick it up.

I just noticed that the "stat" command is affected by this as well:

Ouch.  Perhaps Padraig can look at that one -- this
statvfs stuff is a bit of a rat's nest, alas.

One thought is that perhaps we should create a gnulib
module statvfs that works around the GNU/Linux bug?  Then other code
could simply call statvfs without worrying about this stuff.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]