Provided by: squashfs-tools_4.2-4build1_amd64
mksquashfs - tool to create and append to squashfs filesystems
mksquashfs SOURCE [SOURCE2 ...] DESTINATION [OPTIONS]
Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib compression to compress both files, inodes and directories. Inodes in the system are very small and all blocks are packed to minimize data overhead. Block sizes greater than 4K are supported up to a maximum of 64K. Squashfs is intended for general read-only filesystem use, for archival use (i.e. in cases where a .tar.gz file may be used), and in constrained block device/memory systems (e.g. embedded systems) where low overhead is needed.
-all-root make all files owned by root. -always-use-fragments use fragment blocks for files larger than block size. -b block_size set data block to block_size. Default 131072 bytes. -e exclude list of exclude dirs/files. -ef exclude_file list of exclude dirs/files. One per line. -force-gid gid set all file gids to gid. -force-uid uid set all file uids to uid. -fragment-queue size Set fragment queue to size Mbytes. Default 64 Mbytes. -info print files written to filesystem. -keep-as-directory if one source directory is specified, create a root directory containing that directory, rather than the contents of the directory. -noappend do not append to existing filesystem. -noDataCompression alternative name for -noD. -noD do not compress data blocks. -no-duplicates do not perform duplicate checking. -no-exports don't make the filesystem exportable via NFS. -noF do not compress fragment blocks. -noFragmentCompression alternative name for -noF. -no-fragments do not use fragments. -noI do not compress inode table. -noInodeCompression alternative name for -noI. -nopad do not pad filesystem to a multiple of 4K. -no-progress don't display the progress bar. -no-recovery don't generate a recovery file. -no-sparse don't detect sparse files. -pf pseudo-file Add list of pseudo file definitions. -p pseudo-definition Add pseudo file definition. -processors number Use number processors. By default will use number of processors available. -read-queue size Set input queue to size Mbytes. Default 64 Mbytes. -recover name recover filesystem data using recovery file name. -regex Allow POSIX regular expressions to be used in exclude dirs/files. -root-becomes name when appending source files/directories, make the original root become a subdirectory in the new root called name, rather than adding the new source items to the original root. -root-owned alternative name for -all-root. -sort sort_file sort files according to priorities in sort_file. One file or dir with priority per line. Priority -32768 to 32767, default priority 0. -version print version, license and copyright message. -wildcards Allow extended shell wildcards (globbing) to be used in exclude dirs/files. -write-queue size Set output queue to size Mbytes. Default 512 Mbytes.
More information about mksquashfs and the squashfs filesystem can be found at <http://squashfs.sourceforge.net/>.
squashfs was written by Phillip Lougher <firstname.lastname@example.org>. This manual page was written by Daniel Baumann <email@example.com>.