Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646616 - sys-fs/compsize - btrfs: find compression type/ratio on a file or set of files
Summary: sys-fs/compsize - btrfs: find compression type/ratio on a file or set of files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/kilobyte/compsize
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-04 23:20 UTC by Forza
Modified: 2019-06-13 18:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Compsize version 1.1 ebuild (compsize-1.1.ebuild,519 bytes, text/plain)
2018-02-28 16:55 UTC, M
Details
Compsize version 1.1 ebuild (compsize-1.1.ebuild,522 bytes, text/plain)
2018-02-28 17:02 UTC, M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forza 2018-02-04 23:20:52 UTC
I think it would be good to add compsize to Gentoo. It is a small tool that shows compression statistics of Btrfs filesystems.

From the compsize GitHub page: https://github.com/kilobyte/compsize

compsize takes a list of files (given as arguments) on a btrfs filesystem and measures used compression types and effective compression ratio, producing a report such as:

[~]$ compsize /home
Processed 140058 files, 133128 regular extents (196786 refs), 80886 inline.
Type       Perc     Disk Usage   Uncompressed Referenced
TOTAL       93%       14G          15G          12G
none       100%       13G          13G          10G
zlib        41%      628M         1.4G         1.4G
zstd        28%       42M         148M         148M
Comment 1 M 2018-02-28 16:55:48 UTC
Created attachment 521368 [details]
Compsize version 1.1 ebuild

I wrote a (very simple) ebuild for this package.
Comment 2 M 2018-02-28 17:02:42 UTC
Created attachment 521394 [details]
Compsize version 1.1 ebuild
Comment 3 Forza 2019-06-13 18:00:00 UTC
I think this bug can be closes as fixed. https://packages.gentoo.org/packages/sys-fs/compsize