diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-06-23 10:42:40 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-06-24 04:12:01 +0200 |
commit | 8f4faa1e3db91fc7b50d633e6f9b2f04bf978bb2 (patch) | |
tree | cc1b3cd4e5ef53ec4c3ac88dae3b4523a393174b /coreutils/libcoreutils | |
parent | 59f81976249a85cf02bd73c2395f018033069466 (diff) | |
download | busybox-8f4faa1e3db91fc7b50d633e6f9b2f04bf978bb2.tar.gz |
df: use f_frsize instead of f_bsize for correct sizes
Use the correct field f_frsize instead of f_bsize.
The statfs f_bsize is the "Optimal transfer block size" while the
f_frsize is the "Fragment size (since Linux 2.6)". On some FUSE
filesystems those may differ.
Fixes bug 9046
URL: https://bugs.busybox.net/show_bug.cgi?id=9046
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/libcoreutils')
0 files changed, 0 insertions, 0 deletions