unsquashfs
unsquashfs is a command-line utility used to extract the contents of a SquashFS filesystem image. It is part of the squashfs-tools package and is commonly available on Linux systems. SquashFS is a compressed, read-only filesystem; unsquashfs reads an image and reconstructs the file tree in a destination directory. It preserves file metadata such as permissions, ownership, and timestamps, and supports the compression formats used by SquashFS. By default, extracted content is placed into a directory named squashfs-root.
Usage is straightforward: the basic invocation is unsquashfs image.squashfs. To change the output location, use the
Unsquashfs is commonly employed to inspect or modify the contents of live CDs, initramfs images, embedded systems,
Limitations include that unsquashfs extracts to a writable directory and does not modify the image itself.