diff options
author | Phillip Lougher <phillip@lougher.demon.co.uk> | 2009-01-05 03:46:28 -0500 |
---|---|---|
committer | Phillip Lougher <phillip@lougher.demon.co.uk> | 2009-01-05 03:46:28 -0500 |
commit | 6ab5c1ca71ea8e04e97cd8ed473bd04e636850fd (patch) | |
tree | cdc6fc1dc2bccccedd02720467c69f4a7bbda489 /fs/Kconfig | |
parent | fcef6fb6c5cf54927e1ca86b86a991e7aa9391f5 (diff) |
Squashfs: Kconfig entry
Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r-- | fs/Kconfig | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index ff0e81980207..2553e0bbd019 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -894,6 +894,58 @@ config CRAMFS | |||
894 | 894 | ||
895 | If unsure, say N. | 895 | If unsure, say N. |
896 | 896 | ||
897 | config SQUASHFS | ||
898 | tristate "SquashFS 4.0 - Squashed file system support" | ||
899 | depends on BLOCK | ||
900 | select ZLIB_INFLATE | ||
901 | help | ||
902 | Saying Y here includes support for SquashFS 4.0 (a Compressed | ||
903 | Read-Only File System). Squashfs is a highly compressed read-only | ||
904 | filesystem for Linux. It uses zlib compression to compress both | ||
905 | files, inodes and directories. Inodes in the system are very small | ||
906 | and all blocks are packed to minimise data overhead. Block sizes | ||
907 | greater than 4K are supported up to a maximum of 1 Mbytes (default | ||
908 | block size 128K). SquashFS 4.0 supports 64 bit filesystems and files | ||
909 | (larger than 4GB), full uid/gid information, hard links and | ||
910 | timestamps. | ||
911 | |||
912 | Squashfs is intended for general read-only filesystem use, for | ||
913 | archival use (i.e. in cases where a .tar.gz file may be used), and in | ||
914 | embedded systems where low overhead is needed. Further information | ||
915 | and tools are available from http://squashfs.sourceforge.net. | ||
916 | |||
917 | If you want to compile this as a module ( = code which can be | ||
918 | inserted in and removed from the running kernel whenever you want), | ||
919 | say M here and read <file:Documentation/modules.txt>. The module | ||
920 | will be called squashfs. Note that the root file system (the one | ||
921 | containing the directory /) cannot be compiled as a module. | ||
922 | |||
923 | If unsure, say N. | ||
924 | |||
925 | config SQUASHFS_EMBEDDED | ||
926 | |||
927 | bool "Additional option for memory-constrained systems" | ||
928 | depends on SQUASHFS | ||
929 | default n | ||
930 | help | ||
931 | Saying Y here allows you to specify cache size. | ||
932 | |||
933 | If unsure, say N. | ||
934 | |||
935 | config SQUASHFS_FRAGMENT_CACHE_SIZE | ||
936 | int "Number of fragments cached" if SQUASHFS_EMBEDDED | ||
937 | depends on SQUASHFS | ||
938 | default "3" | ||
939 | help | ||
940 | By default SquashFS caches the last 3 fragments read from | ||
941 | the filesystem. Increasing this amount may mean SquashFS | ||
942 | has to re-read fragments less often from disk, at the expense | ||
943 | of extra system memory. Decreasing this amount will mean | ||
944 | SquashFS uses less memory at the expense of extra reads from disk. | ||
945 | |||
946 | Note there must be at least one cached fragment. Anything | ||
947 | much more than three will probably not make much difference. | ||
948 | |||
897 | config VXFS_FS | 949 | config VXFS_FS |
898 | tristate "FreeVxFS file system support (VERITAS VxFS(TM) compatible)" | 950 | tristate "FreeVxFS file system support (VERITAS VxFS(TM) compatible)" |
899 | depends on BLOCK | 951 | depends on BLOCK |