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

Xwang bugzilla_noreply at kde.org
Tue Jul 9 13:59:19 BST 2024


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

--- Comment #4 from Xwang <xwaang1976 at gmail.com> ---
(In reply to Harald Sitter from comment #3)
> It's my understanding that this information isn't available outside btrfs
> specific ioctl commands (those would only work as root). So that is expected
> behavior on btrfs. I guess you could complain to the kernel folks about not
> providing suitable API for getting the real/compressed/occupied size of a
> file.
> 
> e.g. on windows we can easily tell if a file is sparse, unpinned (not
> present on disk -- e.g. only available in the cloud), and then obtain the
> compressed size (the size on disk). 
> 
> https://invent.kde.org/utilities/filelight/-/blob/
> cbc765ec2f23766f8f76a06d5f7753853a9d5127/src/windowsWalker.cpp

Sorry I do not understand, how it is possible that going to Properties of the
folder in Dolphin the space occupied by the same folder is correctly computed
(as cleary shown on the second attached image)?

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


More information about the Unassigned-bugs mailing list