diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-01-22 02:57:46 -0500 |
---|---|---|
committer | Alexey Dobriyan <adobriyan@gmail.com> | 2009-01-22 05:15:58 -0500 |
commit | 22635ec9e0cb5afbc1eaa25495ae28da8416aac3 (patch) | |
tree | 07dbcd2458aa1f26fef12f94b40985699ec364e8 | |
parent | 2a22783be0fbbd63599dd6aacf8bc2ddab941bf7 (diff) |
fs/Kconfig: move squashfs out
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
-rw-r--r-- | fs/Kconfig | 53 | ||||
-rw-r--r-- | fs/squashfs/Kconfig | 51 |
2 files changed, 52 insertions, 52 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index d7b84dfed4f8..d44a698463c7 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -213,58 +213,7 @@ source "fs/jffs2/Kconfig" | |||
213 | # UBIFS File system configuration | 213 | # UBIFS File system configuration |
214 | source "fs/ubifs/Kconfig" | 214 | source "fs/ubifs/Kconfig" |
215 | source "fs/cramfs/Kconfig" | 215 | source "fs/cramfs/Kconfig" |
216 | 216 | source "fs/squashfs/Kconfig" | |
217 | config SQUASHFS | ||
218 | tristate "SquashFS 4.0 - Squashed file system support" | ||
219 | depends on BLOCK | ||
220 | select ZLIB_INFLATE | ||
221 | help | ||
222 | Saying Y here includes support for SquashFS 4.0 (a Compressed | ||
223 | Read-Only File System). Squashfs is a highly compressed read-only | ||
224 | filesystem for Linux. It uses zlib compression to compress both | ||
225 | files, inodes and directories. Inodes in the system are very small | ||
226 | and all blocks are packed to minimise data overhead. Block sizes | ||
227 | greater than 4K are supported up to a maximum of 1 Mbytes (default | ||
228 | block size 128K). SquashFS 4.0 supports 64 bit filesystems and files | ||
229 | (larger than 4GB), full uid/gid information, hard links and | ||
230 | timestamps. | ||
231 | |||
232 | Squashfs is intended for general read-only filesystem use, for | ||
233 | archival use (i.e. in cases where a .tar.gz file may be used), and in | ||
234 | embedded systems where low overhead is needed. Further information | ||
235 | and tools are available from http://squashfs.sourceforge.net. | ||
236 | |||
237 | If you want to compile this as a module ( = code which can be | ||
238 | inserted in and removed from the running kernel whenever you want), | ||
239 | say M here and read <file:Documentation/modules.txt>. The module | ||
240 | will be called squashfs. Note that the root file system (the one | ||
241 | containing the directory /) cannot be compiled as a module. | ||
242 | |||
243 | If unsure, say N. | ||
244 | |||
245 | config SQUASHFS_EMBEDDED | ||
246 | |||
247 | bool "Additional option for memory-constrained systems" | ||
248 | depends on SQUASHFS | ||
249 | default n | ||
250 | help | ||
251 | Saying Y here allows you to specify cache size. | ||
252 | |||
253 | If unsure, say N. | ||
254 | |||
255 | config SQUASHFS_FRAGMENT_CACHE_SIZE | ||
256 | int "Number of fragments cached" if SQUASHFS_EMBEDDED | ||
257 | depends on SQUASHFS | ||
258 | default "3" | ||
259 | help | ||
260 | By default SquashFS caches the last 3 fragments read from | ||
261 | the filesystem. Increasing this amount may mean SquashFS | ||
262 | has to re-read fragments less often from disk, at the expense | ||
263 | of extra system memory. Decreasing this amount will mean | ||
264 | SquashFS uses less memory at the expense of extra reads from disk. | ||
265 | |||
266 | Note there must be at least one cached fragment. Anything | ||
267 | much more than three will probably not make much difference. | ||
268 | 217 | ||
269 | config VXFS_FS | 218 | config VXFS_FS |
270 | tristate "FreeVxFS file system support (VERITAS VxFS(TM) compatible)" | 219 | tristate "FreeVxFS file system support (VERITAS VxFS(TM) compatible)" |
diff --git a/fs/squashfs/Kconfig b/fs/squashfs/Kconfig new file mode 100644 index 000000000000..25a00d19d686 --- /dev/null +++ b/fs/squashfs/Kconfig | |||
@@ -0,0 +1,51 @@ | |||
1 | config SQUASHFS | ||
2 | tristate "SquashFS 4.0 - Squashed file system support" | ||
3 | depends on BLOCK | ||
4 | select ZLIB_INFLATE | ||
5 | help | ||
6 | Saying Y here includes support for SquashFS 4.0 (a Compressed | ||
7 | Read-Only File System). Squashfs is a highly compressed read-only | ||
8 | filesystem for Linux. It uses zlib compression to compress both | ||
9 | files, inodes and directories. Inodes in the system are very small | ||
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 | ||
12 | block size 128K). SquashFS 4.0 supports 64 bit filesystems and files | ||
13 | (larger than 4GB), full uid/gid information, hard links and | ||
14 | timestamps. | ||
15 | |||
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 | ||
18 | embedded systems where low overhead is needed. Further information | ||
19 | and tools are available from http://squashfs.sourceforge.net. | ||
20 | |||
21 | If you want to compile this as a module ( = code which can be | ||
22 | inserted in and removed from the running kernel whenever you want), | ||
23 | say M here and read <file:Documentation/modules.txt>. The module | ||
24 | will be called squashfs. Note that the root file system (the one | ||
25 | containing the directory /) cannot be compiled as a module. | ||
26 | |||
27 | If unsure, say N. | ||
28 | |||
29 | config SQUASHFS_EMBEDDED | ||
30 | |||
31 | bool "Additional option for memory-constrained systems" | ||
32 | depends on SQUASHFS | ||
33 | default n | ||
34 | help | ||
35 | Saying Y here allows you to specify cache size. | ||
36 | |||
37 | If unsure, say N. | ||
38 | |||
39 | config SQUASHFS_FRAGMENT_CACHE_SIZE | ||
40 | int "Number of fragments cached" if SQUASHFS_EMBEDDED | ||
41 | depends on SQUASHFS | ||
42 | default "3" | ||
43 | help | ||
44 | By default SquashFS caches the last 3 fragments read from | ||
45 | the filesystem. Increasing this amount may mean SquashFS | ||
46 | has to re-read fragments less often from disk, at the expense | ||
47 | of extra system memory. Decreasing this amount will mean | ||
48 | SquashFS uses less memory at the expense of extra reads from disk. | ||
49 | |||
50 | Note there must be at least one cached fragment. Anything | ||
51 | much more than three will probably not make much difference. | ||