Compress files for flash filesystems
deflate [options] [filename]...
The deflate utility compresses files for a flash filesystem. It's intended to be used in conjunction with the filter attribute for mkefs. It can also be used to precompress files intended for a flash filesystem.
The compression types (specified with the -t option) are:
Type | Compression Speed | Decompression Speed | Compression Amount |
---|---|---|---|
1 | Fast | Very fast | 30% on executables |
2 | Slow | Fast | 45% on executables |
Deflate all executables that are to be placed on an embedded target:
deflate -v /target/bin/* /target/lib/*
Inflate a previously deflated file:
deflate -i deflated_file
Deflate file without changing the input file:
deflate -o file.dfl file
Deflate only those files that are reduced in size by 30% or more:
deflate -vp30 /target/readonly_data/*
"Flash filesystems (devf-*)" in the Utilities Summary