I suspect its not in Slacko.greengeek wrote:Any chance you could suggest a good default syntax to build an sfs from a directory using LZ4? (and do you have any idea if LZ4 is understood by Slacko?)rufwoof wrote:LZ4 compresses less tightly (larger size), but decompresses much quicker than both gzip and xz.
It has to be built into the kernel as well as having updated squashfs-tools ... in which mksquashfs will typically have just -comp lz4 (basic choice) or -comp lz4 -Xhc (higher compression choice (decompression speed isn't any slower, but in decompressing less due to higher compression will throughput quicker)). Compression ratio isn't good. Higher speed comes with less complexity (less compression).
mksquashfs --help will show if the squashfs-tools version you have supports lz4, but the kernel might not necessarily also support it.