CBFS-COM...SION-TOOL(8)
β¨ NAME β¨
cbfs-compression-tool β Benchmark compression tool (coreboot tools)
ok so bestie, this is a lil utility from the System Administration Utilities family (that's the manual section it lives in π ), and it does exactly two vibes: it either benchmarks compression algorithms, or it compresses a file for you with whichever algorithm you pick. that's it. that's the whole girl. π
πΈ SYNOPSIS πΈ
cbfs-compression-tool benchmark
cbfs-compression-tool compress <infile> <outfile> <algo>
cbfs-compression-tool rawcompress <infile> <outfile> <algo>
three little entry points, no cap. pick your fighter. π¦
π DESCRIPTION π
so the whole point of this thing, in one breath: benchmark compression algorithms, or compress an input file into an output file with a given algorithm. that's the mission statement, periodt. β¨
now let's break down each mode because they are NOT the same and u need to know which one u want:
π₯ cbfs-compression-tool benchmark
runs benchmarks for all implemented algorithms. not one, not two β all of them. it's giving science fair but make it compression. π§ͺ
π
cbfs-compression-tool compress inFile outFile algo
compresses inFile with algo and stores it in outFile.
and the file it writes? it has a lil header, bestie. it's structured like this:
4 bytes little endian: algorithm ID (as used in CBFS)
4 bytes little endian: uncompressed size
...: compressed data stream
so that's the algorithm ID (same one CBFS uses, iykyk), then the uncompressed size, then the actual compressed data stream riding in after. β¨
π«Ά cbfs-compression-tool rawcompress inFile outFile algo
compresses inFile with algo and stores it in outFile β without the header.
the file format for this one is just:
...: compressed data stream
no algorithm ID, no uncompressed size, no nothing. just the raw compressed data stream and vibes. the way that it's literally just the stream and nothing else?? iconic. π
β οΈ lowkey important:compressandrawcompressproduce different file layouts.compresshas the header,rawcompressdoes not. don't mix them up or ur gonna have a bad time. π
π AUTHORS π
- coresystems GmbH.
- Man page written by Ahmad Khalifa.
and that's the whole page bestie!! π this was the CBFS-COM...SION-TOOL(8) page from the System Administration Utilities manual, dated November 2024. go compress something cute. mwah. πβ¨π¦
π¦ where this page comes from
- debian trixie: coreboot-utils 24.12+dfsg-2 Β· GPL-2.0-only
- ubuntu questing: coreboot-utils 24.12+dfsg-2ubuntu1
- ubuntu resolute: coreboot-utils 25.09+dfsg-1ubuntu1 Β· GPL-2.0-only
- ubuntu stonking: coreboot-utils 25.09+dfsg-1ubuntu1 Β· GPL-2.0-only
- π the page's license: GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms