libsqsh v1.5.2
|
squashfs is an open and free compressed read-only filesystem. It is used in embedded devices, live-CDs, or in packaging. The original implementation resides in the linux kernel, but there are also userspace implementations.
This project provides a userspace implementation of the squashfs filesystem containing a set of command line tools and a C library.
Note that to do anything useful with libsqsh, you need to have at least one of the compression libraries enabled.
This project provides a set of command line tools to interact with squashfs archives.
sqsh-cat
: Prints the content of one or multiple files to stdout.sqsh-ls
: Lists the content of a directory.sqsh-stat
: Prints the metadata of a file, directory, or the whole archive.sqsh-unpack
: Extracts a squashfs archive to a directory.sqsh-xattr
: Prints the extended attributes of a file or directory.sqshfs
: Mounts a squashfs archive to a directory. There are two versions of this tool, one for fuse3 and one for fuse2.sqsh-tools also provides a C library to interact with squashfs archives. There are two APIs available:
For more information, see the libsqsh README.
LZO2 is a fast compression algorithm. Unfortunately the current implementation is GPL licensed and therefore not included in this library. If you want to use LZO2 there's and independent glue library called libsqsh-lzo.