Main index | Section 8 | Options |
The options are:
| |
Specify the number of compression jobs that mkuzip runs in parallel to speed up compression. When option is not specified the number of jobs set to be equal to the value of hw.ncpu sysctl(8) variable. | |
| |
Enable de-duplication. When the option is enabled the mkuzip detects identical blocks in the input and replaces each subsequent occurence of such block with pointer to the very first one in the output. Setting this option results is moderate decrease of compressed image size, typically around 3-5% of a final size of the compressed image. | |
| |
Use lzma(3) compression algorithm instead of the default zlib(3). The lzma(3) provides noticeable better compression levels on the same data set at the expense of much slower compression speed (10-20x) and somewhat slower decompression (2-3x). | |
| |
Name of the output file outfile. The default is to use the input name with the suffix .uzip for the zlib(3) compression or .ulzma for the lzma(3). | |
| |
Print summary about the compression ratio as well as output file size after file has been processed. | |
| |
Split the image into clusters of cluster_size bytes, 16384 bytes by default. The cluster_size should be a multiple of 512 bytes. | |
| |
Display verbose messages. | |
| |
Disable zero-blocks detection and elimination.
When this option is set, the
mkuzip
would compress empty blocks (i.e. clusters that consist of only zero bytes)
just as it would any other block.
When the option is not set, the
mkuzip
detects such blocks and skips them from the output.
Setting
| |
The mkuzip utility inserts a short shell script at the beginning of the generated image, which makes it possible to "run" the image just like any other shell script. The script tries to load the geom_uzip(4) class if it is not loaded, configure the image as an md(4) disk device using mdconfig(8), and automatically mount it using mount_cd9660(8) on the mount point provided as the first argument to the script.
The de-duplication is a FreeBSD specific feature and while it does not require any changes to on-disk compressed image format, however it did require some matching changes to the geom_uzip(4) to handle resulting images correctly.
MKUZIP (8) | February 19, 2019 |
Main index | Section 8 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.