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

Harald Sitter bugzilla_noreply at kde.org
Tue Jul 9 13:12:54 BST 2024


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

Harald Sitter <sitter at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOT A BUG
                 CC|                            |sitter at kde.org
             Status|REPORTED                    |RESOLVED

--- Comment #3 from Harald Sitter <sitter at kde.org> ---
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

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


More information about the Unassigned-bugs mailing list