Bug 457363 - Btrfs compressed file show only actual size and not size on disk
Summary: Btrfs compressed file show only actual size and not size on disk
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: panels: information (show other bugs)
Version: 22.04.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-01 09:08 UTC by ttv200
Modified: 2023-03-21 07:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ttv200 2022-08-01 09:08:07 UTC
when using btrfs filesystem with mount option compress the file size is the uncompressed size
please add "file size on disk" option in information panel / properties of the file

how to reproduce:
* create btrfs partition
* mount with -o compress
* dd if=/dev/zero of=/mnt/btrfs/file bs=1M count=500
* compsize file
more info:
https://btrfs.readthedocs.io/en/latest/Compression.html
https://superuser.com/questions/1138670/how-do-i-tell-if-an-individual-file-is-compressed-in-btrfs