Phillip Lougher | e162193 | 2014-08-08 05:30:01 +0100 | [diff] [blame] | 1 | INSTALLING SQUASHFS |
| 2 | |
Phillip Lougher | 0254342 | 2014-08-08 22:10:59 +0100 | [diff] [blame] | 3 | The squashfs4.3.tar.gz file contains the squashfs-tools directory containing |
Phillip Lougher | 06034ad | 2014-08-08 21:56:15 +0100 | [diff] [blame] | 4 | mksquashfs and unsquashfs. |
Phillip Lougher | 2ce29a9 | 2014-08-08 05:44:57 +0100 | [diff] [blame] | 5 | |
Phillip Lougher | a650bcc | 2014-08-08 22:02:51 +0100 | [diff] [blame] | 6 | 1. Kernel support |
| 7 | ----------------- |
Phillip Lougher | e162193 | 2014-08-08 05:30:01 +0100 | [diff] [blame] | 8 | |
Phillip Lougher | bef677b | 2014-08-08 21:59:19 +0100 | [diff] [blame] | 9 | This release is for 2.6.29 and newer kernels. Kernel patching is not necessary. |
| 10 | |
| 11 | Extended attribute support requires 2.6.35 or newer. File systems with |
| 12 | extended attributes can be mounted on 2.6.29 and newer kernels (the |
| 13 | extended attributes will be ignored with a warning). |
| 14 | |
| 15 | LZO compression support requires 2.6.36 or newer kernels. |
| 16 | |
Phillip Lougher | a650bcc | 2014-08-08 22:02:51 +0100 | [diff] [blame] | 17 | XZ compression support requires 2.6.38 or newer kernels. |
Phillip Lougher | 5f69230 | 2014-08-08 21:18:11 +0100 | [diff] [blame] | 18 | |
Phillip Lougher | 0254342 | 2014-08-08 22:10:59 +0100 | [diff] [blame] | 19 | LZ4 support is not yet in any mainline kernel. |
| 20 | |
Phillip Lougher | 2ce29a9 | 2014-08-08 05:44:57 +0100 | [diff] [blame] | 21 | 2. Building squashfs tools |
| 22 | -------------------------- |
Phillip Lougher | e162193 | 2014-08-08 05:30:01 +0100 | [diff] [blame] | 23 | |
Phillip Lougher | 2bb7423 | 2014-08-08 21:24:28 +0100 | [diff] [blame] | 24 | The squashfs-tools directory contains the mksquashfs and unsquashfs programs. |
Phillip Lougher | bef677b | 2014-08-08 21:59:19 +0100 | [diff] [blame] | 25 | These can be made by typing make (or make install to install in /usr/local/bin). |
Phillip Lougher | d48c9e3 | 2014-08-08 21:34:13 +0100 | [diff] [blame] | 26 | |
Phillip Lougher | bef677b | 2014-08-08 21:59:19 +0100 | [diff] [blame] | 27 | By default the tools are built with GZIP compression and extended attribute |
| 28 | support. Read the Makefile in squashfs-tools/ for instructions on building |
Phillip Lougher | 0254342 | 2014-08-08 22:10:59 +0100 | [diff] [blame] | 29 | LZO, LZ4 and XZ compression support, and for instructions on disabling GZIP |
Phillip Lougher | bef677b | 2014-08-08 21:59:19 +0100 | [diff] [blame] | 30 | and extended attribute support if desired. |