Provided by: squashfs-tools_4.2-4build1_amd64 bug


       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.


           make all files owned by root.

           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.

           print files written to filesystem.

           if one source  directory  is  specified,  create  a  root  directory  containing  that
           directory, rather than the contents of the directory.

           do not append to existing filesystem.

           alternative name for -noD.

           do not compress data blocks.

           do not perform duplicate checking.

           don't make the filesystem exportable via NFS.

           do not compress fragment blocks.

           alternative name for -noF.

           do not use fragments.

           do not compress inode table.

           alternative name for -noI.

           do not pad filesystem to a multiple of 4K.

           don't display the progress bar.

           don't generate a recovery file.

           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.

           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

           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.

           print version, license and copyright message.

           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


       squashfs was written by Phillip Lougher <>.

       This manual page was written by Daniel Baumann <>.