aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@lougher.demon.co.uk>2010-08-05 18:42:54 -0400
committerPhillip Lougher <phillip@lougher.demon.co.uk>2010-08-05 18:42:54 -0400
commit4b676d2dbed3dadc6ef913d58f85360547fa071e (patch)
tree7af04b23f20cda409ce71bd857fb140d3d8770f1
parentf3065f60ddfd4b5e34a412851d91d0cf27cdbf7e (diff)
Squashfs: update Kconfig and documentation for LZO
Update compression types supported and add some help text for the LZO Kconfig option. Also add missing "default n" line and make some trivial whitespace cleanups too. Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
-rw-r--r--Documentation/filesystems/squashfs.txt2
-rw-r--r--fs/squashfs/Kconfig18
2 files changed, 15 insertions, 5 deletions
diff --git a/Documentation/filesystems/squashfs.txt b/Documentation/filesystems/squashfs.txt
index 203f7202cc9e..66699afd66ca 100644
--- a/Documentation/filesystems/squashfs.txt
+++ b/Documentation/filesystems/squashfs.txt
@@ -2,7 +2,7 @@ SQUASHFS 4.0 FILESYSTEM
2======================= 2=======================
3 3
4Squashfs is a compressed read-only filesystem for Linux. 4Squashfs is a compressed read-only filesystem for Linux.
5It uses zlib compression to compress files, inodes and directories. 5It uses zlib/lzo compression to compress files, inodes and directories.
6Inodes in the system are very small and all blocks are packed to minimise 6Inodes in the system are very small and all blocks are packed to minimise
7data overhead. Block sizes greater than 4K are supported up to a maximum 7data overhead. Block sizes greater than 4K are supported up to a maximum
8of 1Mbytes (default block size 128K). 8of 1Mbytes (default block size 128K).
diff --git a/fs/squashfs/Kconfig b/fs/squashfs/Kconfig
index 3da01108c44e..e5f63da64d04 100644
--- a/fs/squashfs/Kconfig
+++ b/fs/squashfs/Kconfig
@@ -5,13 +5,13 @@ config SQUASHFS
5 help 5 help
6 Saying Y here includes support for SquashFS 4.0 (a Compressed 6 Saying Y here includes support for SquashFS 4.0 (a Compressed
7 Read-Only File System). Squashfs is a highly compressed read-only 7 Read-Only File System). Squashfs is a highly compressed read-only
8 filesystem for Linux. It uses zlib compression to compress both 8 filesystem for Linux. It uses zlib/lzo compression to compress both
9 files, inodes and directories. Inodes in the system are very small 9 files, inodes and directories. Inodes in the system are very small
10 and all blocks are packed to minimise data overhead. Block sizes 10 and all blocks are packed to minimise data overhead. Block sizes
11 greater than 4K are supported up to a maximum of 1 Mbytes (default 11 greater than 4K are supported up to a maximum of 1 Mbytes (default
12 block size 128K). SquashFS 4.0 supports 64 bit filesystems and files 12 block size 128K). SquashFS 4.0 supports 64 bit filesystems and files
13 (larger than 4GB), full uid/gid information, hard links and 13 (larger than 4GB), full uid/gid information, hard links and
14 timestamps. 14 timestamps.
15 15
16 Squashfs is intended for general read-only filesystem use, for 16 Squashfs is intended for general read-only filesystem use, for
17 archival use (i.e. in cases where a .tar.gz file may be used), and in 17 archival use (i.e. in cases where a .tar.gz file may be used), and in
@@ -40,11 +40,21 @@ config SQUASHFS_XATTR
40config SQUASHFS_LZO 40config SQUASHFS_LZO
41 bool "Include support for LZO compressed file systems" 41 bool "Include support for LZO compressed file systems"
42 depends on SQUASHFS 42 depends on SQUASHFS
43 default n
43 select LZO_DECOMPRESS 44 select LZO_DECOMPRESS
45 help
46 Saying Y here includes support for reading Squashfs file systems
47 compressed with LZO compresssion. LZO compression is mainly
48 aimed at embedded systems with slower CPUs where the overheads
49 of zlib are too high.
44 50
45config SQUASHFS_EMBEDDED 51 LZO is not the standard compression used in Squashfs and so most
52 file systems will be readable without selecting this option.
46 53
47 bool "Additional option for memory-constrained systems" 54 If unsure, say N.
55
56config SQUASHFS_EMBEDDED
57 bool "Additional option for memory-constrained systems"
48 depends on SQUASHFS 58 depends on SQUASHFS
49 default n 59 default n
50 help 60 help