bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39273: unwanted behavior in the combination of an scenario regarding


From: Paul Eggert
Subject: bug#39273: unwanted behavior in the combination of an scenario regarding btrfs, ssh, borg, and 'df' from the core utils
Date: Fri, 24 Jan 2020 13:54:31 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

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.





reply via email to

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