[filelight] [Bug 489971] Filelight wrongly computes space occupied by backintime snapshots

Harald Sitter bugzilla_noreply at kde.org
Tue Jul 9 14:20:59 BST 2024


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

--- Comment #6 from Harald Sitter <sitter at kde.org> ---
Because it isn't the correct size. It shows you the theoretical size (e.g. a
text file with 4 ascii characters is 4 bytes in size in dolphin) meanwhile
filelight shows the actual size on disk (e.g. a text file with 4 ascii
characters is actually multiple KiB because files are allocated in blocks so
even if the file is smaller than a block it still occupies at least that one
block). The advantage of the former is that the filesystem can freely lie about
the size. The trouble is filelight doesn't need a lie, it needs to know the
actual properties of the file to then determine what type of size we want to
know given the properties of a file (is it real, does it exist on disk, is it
compressed). And Linux has no API for that as far as I know.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list