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

Harald Sitter <sit...@kde.org> changed:

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

--- Comment #3 from Harald Sitter <sit...@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 watching all bug changes.

Reply via email to