coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

df: Incorrect avilable size and percent usage

Open mengshengwu opened this issue 9 months ago • 0 comments

Envrioment

OS

❯ coreutils uname -a
Windows_NT SETSUNA 10.0 26100 x86_64 MS/Windows (Windows 11)

uutils/coreutils

coreutils on  main is 📦 v0.0.30 via 🦀 v1.85.0-nightly

Problem

❯ cargo r -r -- df -h
    Finished `release` profile [optimized] target(s) in 0.70s
     Running `target\release\coreutils.exe df -h`
Filesystem               Size  Used Avail Use% Mounted on
\Device\HarddiskVolume2  256G  180G     0 100%
\Device\HarddiskVolume3  677G  494G     0 100%
\Device\HarddiskVolume4  1.9T  1.8T     0 100%
\Device\HarddiskVolume1   50M   35M     0 100%
\Device\HarddiskVolume8   11T  5.9T     0 100%

The colums Avail and Use% are inccorect.

mengshengwu avatar Mar 16 '25 11:03 mengshengwu