1UNSQUASHFS(1) uncompress squashfs filesystems UNSQUASHFS(1)
2
3
4
6 mksquashfs - tool to uncompress squashfs filesystems
7
8
10 unsquashfs [OPTIONS] FILESYSTEM [directories or files to extract]
11
12
14 Squashfs is a highly compressed read-only filesystem for Linux. It uses
15 zlib compression to compress both files, inodes and directories. Inodes
16 in the system are very small and all blocks are packed to minimize data
17 overhead. Block sizes greater than 4K are supported up to a maximum of
18 64K.
19
20 Squashfs is intended for general read-only filesystem use, for archival
21 use (i.e. in cases where a .tar.gz file may be used), and in con‐
22 strained block device/memory systems (e.g. embedded systems) where low
23 overhead is needed.
24
25
27 -v, -version
28 print version, licence and copyright information.
29
30 -d PATHNAME, -dest PATHNAME
31 unsquash to PATHNAME, default "squashfs-root".
32
33 -n, -no-progress
34 don't display the progress bar.
35
36 -no, -no-xattrs
37 don't extract xattrs in file system.
38
39 -x, -xattrs
40 extract xattrs in file system (default).
41
42 -u, -user-xattrs
43 only extract user xattrs in file system. Enables extracting xattrs.
44
45 -p NUMBER, -processors NUMBER
46 use NUMBER processors. By default will use number of processors
47 available.
48
49 -i, -info
50 print files as they are unsquashed.
51
52 -li, -linfo
53 print files as they are unsquashed with file attributes (like ls -l
54 output).
55
56 -l, -ls
57 list filesystem, but don't unsquash.
58
59 -ll, -lls
60 list filesystem with file attributes (like ls -l output), but don't
61 unsquash.
62
63 -f, -force
64 if file already exists then overwrite.
65
66 -s, -stat
67 display filesystem superblock information.
68
69 -e EXTRACT_FILE, -ef EXTRACT_FILE
70 list of directories or files to extract. One per line.
71
72 -da SIZE, -data-queue SIZE
73 Set data queue to SIZE Mbytes. Default 256 Mbytes.
74
75 -fr SIZE, -frag-queue SIZE
76 Set fragment queue to SIZE Mbytes. Default 256 Mbytes.
77
78 -r, -regex
79 treat extract names as POSIX regular expressions rather than use
80 the default shell wildcard expansion (globbing).
81
82
83 Decompressors available
84 gzip
85
86 lzma
87
88 lzo
89
90 lz4
91
92 xz
93
94
96 mksquashfs(1)
97
98
100 More information about unsquashfs and the squashfs filesystem can be
101 found at <http://squashfs.sourceforge.net/>.
102
103
105 squashfs was written by Phillip Lougher <plougher@users.source‐
106 forge.net>.
107
108 This manual page was written by Daniel Baumann <daniel.bau‐
109 mann@progress-technologies.net>. With some updates for 4.4 for use with
110 Fedora.
111
112
113
1144.4 2020-05-12 UNSQUASHFS(1)