On Linux AFAIK the only filesystems (for consumer use) that have transparent disk compression are zfs, btrfs, bcachefs - all of which are CoW. The 'regular' fs options like ext4/xfs lack this feature. (f2fs has compression but its disabled and you won't see any space saved)
There should be no technical reason why something as simple as compression should be tied to CoW/snapshot capability. Its simply (de)compressing data as its written/read. e.g. NTFS on Windows does this.
Is there a reason for this apart from historical? e.g etx4 and xfs are both quite old - xfs predates Linux in fact. Perhaps no one has felt the need to add this feature to them because alternatives exist?
This is a real shame because with modern cpus and lzo/zstd, compression can make a real difference not only in space saved but ssd/hdd health, and there's no way to use it with the most used default fs on desktop (ext4) or server (xfs).
[link] [comments]
SOCIAL SHARE CARD GENERATOR