Skip to content

get compression algorithm of a dwarfs file #165

Answered by mhx
cipitaua asked this question in Q&A
Discussion options

You must be logged in to vote

You can, for example, use dwarfsck:

$ dwarfsck -d3 filtered.dwarfs
DwarFS version 2.4 [2]
SECTION num=0, type=BLOCK, compression=ZSTD, length=19,247, checksum=0x4eccf90e9bd127a3, offset=64, blocksize=80532, ratio=23.90%
SECTION num=1, type=METADATA_V2_SCHEMA, compression=ZSTD, length=405, checksum=0x0f9db3bcfcc64f17, offset=19375, blocksize=889, ratio=45.56%
SECTION num=2, type=METADATA_V2, compression=ZSTD, length=329, checksum=0x1edb6a0f438e223d, offset=19844, blocksize=334, ratio=98.50%
SECTION num=3, type=SECTION_INDEX, compression=NONE, length=32, checksum=0x8ce389cda5886088, offset=20237, blocksize=32, ratio=100.00%
created by: libdwarfs v0.6.2-13-ged609b8-dirty on branch wip
[...]

T…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cipitaua
Comment options

Answer selected by cipitaua
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants