GNU bug report logs -
#39273
unwanted behavior in the combination of an scenario regarding btrfs, ssh, borg, and 'df' from the core utils
Previous Next
Full log
View this message in rfc822 format
On 1/24/20 11:50 AM, Wismerhill wrote:
> 'df' reports a wrong space calculation
What's wrong about the space calculation?
Please give the 'df' command that you ran, its faulty output, and also
the output of 'strace' applied to the 'df' command that you ran. For
example, on my machine, 'strace df' outputs the line:
statfs("/tmp", {f_type=TMPFS_MAGIC, f_bsize=4096, f_blocks=1018122,
f_bfree=1007348, f_bavail=1007348, f_files=1018122, f_ffree=1018073,
f_fsid={val=[0, 0]}, f_namelen=255, f_frsize=4096,
f_flags=ST_VALID|ST_NOSUID|ST_NODEV}) = 0
and those are the numbers that 'df' uses to calculate what it should
output. If those numbers are wrong, df's output will be wrong but it's
not df's fault - it's the kernel or btrfs or whatever. If those numbers
are right but df's output is wrong, then df is at fault.
This bug report was last modified 5 years and 191 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.