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: Andreas Schwab
Subject: bug#11406: Bug? df uses f_bsize instead of f_frsize to calculate file system sizes
Date: Thu, 10 May 2012 19:17:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.96 (gnu/linux)

Paul Eggert <address@hidden> writes:

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

statvfs is explicitly rejected with glibc, and there is no alternative
that uses statfs with f_frsize.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

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