https://bugs.kde.org/show_bug.cgi?id=501037

--- Comment #1 from Andrius Štikonas <andr...@stikonas.eu> ---
Hmm, it uses different sources of data. I don't know which one would be correct
in your case.

When partition is mounted QStorageInfo from Qt is used
(https://doc.qt.io/qt-6/qstorageinfo.html) which under the hood calls statfs64
syscall and asks kernel how much space is used.

When partition is unmounted we call btrfs filesystem show --raw and parse that.

Presumably the first source is more accurate since it comes from the kernel...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to