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, 04 May 2012 11:56:27 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

Am I missing something?

Hard to day.  You don't mention which operating system you're
using.  Looking at the source code, if
df uses statvfs, and if f_frsize is not nonsense, df
should be using f_frsize, so I don't see a bug here.
However, I'm looking at the lastest source code, whereas
you're running something older.

I suggest doing the following, if possible:

* Use the latest version of coreutils instead; currently
  it's 8.16.

* Trace what system calls it's using, e.g., with 'strace'
  on GNU/Linux.

* See what the system call is actually reporting.






reply via email to

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