mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-29 22:15:21 -04:00
[cmp] add ztsd image compression support
* Based on the latest Bled, which adds ztsd compression support. * Note that initial extraction of the 512 bytes MBR is very slow, because is seems clear that ZSTD was never designed for fast init or processing small elements of data, but instead for post init large volume streaming. * Also note that this code adds 400 KB to the Rufus executable *AFTER UPX COMPRESSION*! Hopefully, the BusyBox folks can come up with a better and smaller way to add zstd support, because it's clear that the method used by the current BusyBox proposal, which is to leave as much of the original code untouched, isn't for the best... * Closes #2590. * Closes #2620. * Closes #2621.
This commit is contained in:
parent
fcdde3dcb8
commit
cef7a5cb0c
38 changed files with 10440 additions and 22 deletions
|
@ -104,6 +104,7 @@ static comp_assoc file_assoc[] = {
|
|||
{ ".bz2", BLED_COMPRESSION_BZIP2 },
|
||||
{ ".xz", BLED_COMPRESSION_XZ },
|
||||
{ ".vtsi", BLED_COMPRESSION_VTSI },
|
||||
{ ".zst", BLED_COMPRESSION_ZSTD },
|
||||
{ ".ffu", BLED_COMPRESSION_MAX },
|
||||
{ ".vhd", BLED_COMPRESSION_MAX + 1 },
|
||||
{ ".vhdx", BLED_COMPRESSION_MAX + 2 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue