blob: 5212d544ef6b9daf906b0747082f8e829cc83256 [file] [log] [blame]
Phillip Loughere1621932014-08-08 05:30:01 +01001 INSTALLING SQUASHFS
2
Phillip Lougher02543422014-08-08 22:10:59 +01003The squashfs4.3.tar.gz file contains the squashfs-tools directory containing
Phillip Lougher06034ad2014-08-08 21:56:15 +01004mksquashfs and unsquashfs.
Phillip Lougher2ce29a92014-08-08 05:44:57 +01005
Phillip Loughera650bcc2014-08-08 22:02:51 +010061. Kernel support
7-----------------
Phillip Loughere1621932014-08-08 05:30:01 +01008
Phillip Lougherbef677b2014-08-08 21:59:19 +01009This release is for 2.6.29 and newer kernels. Kernel patching is not necessary.
10
11Extended attribute support requires 2.6.35 or newer. File systems with
12extended attributes can be mounted on 2.6.29 and newer kernels (the
13extended attributes will be ignored with a warning).
14
15LZO compression support requires 2.6.36 or newer kernels.
16
Phillip Loughera650bcc2014-08-08 22:02:51 +010017XZ compression support requires 2.6.38 or newer kernels.
Phillip Lougher5f692302014-08-08 21:18:11 +010018
Phillip Lougher02543422014-08-08 22:10:59 +010019LZ4 support is not yet in any mainline kernel.
20
Phillip Lougher2ce29a92014-08-08 05:44:57 +0100212. Building squashfs tools
22--------------------------
Phillip Loughere1621932014-08-08 05:30:01 +010023
Phillip Lougher2bb74232014-08-08 21:24:28 +010024The squashfs-tools directory contains the mksquashfs and unsquashfs programs.
Phillip Lougherbef677b2014-08-08 21:59:19 +010025These can be made by typing make (or make install to install in /usr/local/bin).
Phillip Lougherd48c9e32014-08-08 21:34:13 +010026
Phillip Lougherbef677b2014-08-08 21:59:19 +010027By default the tools are built with GZIP compression and extended attribute
28support. Read the Makefile in squashfs-tools/ for instructions on building
Phillip Lougher02543422014-08-08 22:10:59 +010029LZO, LZ4 and XZ compression support, and for instructions on disabling GZIP
Phillip Lougherbef677b2014-08-08 21:59:19 +010030and extended attribute support if desired.