knowledge/technology/linux/filesystems/SquashFS.md

486 B

obj
filesystem

SquashFS

Squashfs is a compressed read-only file system for Linux.

Creation

mksquashfs source1 source2 ... destination [options]

Use alternate compressions:

mksquashfs source1 destination -comp <compression>

Highly compressed:

mksquashfs source1 destination -comp xz -Xdict-size 100%

Extraction

unsquashfs [options] target [files/directories to extract]