Find compression type/ratio on Btrfs files
compsize
takes a list of files (given as arguments) on a Btrfs file system and measures used compression types and effective compression ratio, producing a report.
A directory has no extents but has a (recursive) list of files. A non-regular file is silently ignored.
As it makes no sense to talk about compression ratio of a partial extent, every referenced extent is counted whole, exactly once -- no matter if you use only a few bytes of a 1GB extent or reflink it a thousand times. Thus, the uncompressed size will not match the number given by tar
or du
. On the other hand, the space used should be accurate (although obviously it can be shared with files outside our set).
System | Target | Derivation | Build status |
---|---|---|---|
x86_64-linux | /gnu/store/007gylfyjz6kg5h5pfl3sd97bbh9rif3-compsize-1.5.drv | ||
x86_64-linux | i586-pc-gnu | /gnu/store/dm9m768jsx5lgcqa04k0xjppwxp1qvx3-compsize-1.5.drv | |
x86_64-linux | arm-linux-gnueabihf | /gnu/store/q3bfwcbb7q16aqsa6h9if3pdxl0yr6ph-compsize-1.5.drv | |
x86_64-linux | aarch64-linux-gnu | /gnu/store/p4jp0q9indn32ar66m3ppqcikn6i7cys-compsize-1.5.drv | |
powerpc64le-linux | /gnu/store/n3x9zlb9f81d0qmj2669b4y18ln5f25b-compsize-1.5.drv | ||
mips64el-linux | /gnu/store/p6c2x1hnx1s62y2cbhi98icxs19g91yc-compsize-1.5.drv | ||
i686-linux | /gnu/store/5qklclhphbrk6c5gs970wsvq6gg8yzwr-compsize-1.5.drv | ||
i586-gnu | /gnu/store/90czdq1b4ynp7x9ad12gqzbhwi28z9zd-compsize-1.5.drv | ||
armhf-linux | /gnu/store/n3mz1asw41kyp5nja3kizsb7lpmqkmiw-compsize-1.5.drv | ||
aarch64-linux | /gnu/store/prx7yhaxl5climmzqagnpxq5x0lvl940-compsize-1.5.drv |
Linter | Message | Location |
---|---|---|
No lint warnings ✓ |