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: Pádraig Brady
Subject: bug#11406: Bug? df uses f_bsize instead of f_frsize to calculate file system sizes
Date: Mon, 14 May 2012 09:34:52 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

On 05/12/2012 05:05 AM, Paul Eggert wrote:
> 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.
> 

I'll have a look at this sometime this evening.

cheers,
Pádraig.





reply via email to

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