From 9fb656edbc3069cee1e3cdee06a9b5bd9480671b Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sat, 7 Aug 2010 10:20:01 +0200 Subject: squashfs3: move the Kconfig options to the squashfs3 directory --- fs/Kconfig | 51 +------------------------------------------------- fs/squashfs3/Kconfig | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 50 deletions(-) create mode 100644 fs/squashfs3/Kconfig diff --git a/fs/Kconfig b/fs/Kconfig index 28e5486..87edd49 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -1327,6 +1327,7 @@ endchoice # UBIFS File system configuration source "fs/ubifs/Kconfig" +source "fs/squashfs3/Kconfig" config CRAMFS tristate "Compressed ROM file system support (cramfs)" @@ -1348,56 +1349,6 @@ config CRAMFS If unsure, say N. -config SQUASHFS3 - tristate "SquashFS 3.4 - Squashed file system support" - select ZLIB_INFLATE - help - Saying Y here includes support for SquashFS 3.4 (a Compressed - Read-Only File System). Squashfs is a highly compressed read-only - filesystem for Linux. It uses zlib compression to compress both - files, inodes and directories. Inodes in the system are very small - and all blocks are packed to minimise data overhead. Block sizes - greater than 4K are supported up to a maximum of 1 Mbytes (default - block size 128K). SquashFS 3.3 supports 64 bit filesystems and files - (larger than 4GB), full uid/gid information, hard links and timestamps. - - Squashfs is intended for general read-only filesystem use, for - archival use (i.e. in cases where a .tar.gz file may be used), and in - embedded systems where low overhead is needed. Further information - and filesystem tools are available from http://squashfs.sourceforge.net. - - If you want to compile this as a module ( = code which can be - inserted in and removed from the running kernel whenever you want), - say M here and read . The module - will be called squashfs. Note that the root file system (the one - containing the directory /) cannot be compiled as a module. - - If unsure, say N. - -config SQUASHFS3_EMBEDDED - - bool "Additional option for memory-constrained systems" - depends on SQUASHFS3 - default n - help - Saying Y here allows you to specify cache size. - - If unsure, say N. - -config SQUASHFS3_FRAGMENT_CACHE_SIZE - int "Number of fragments cached" if SQUASHFS3_EMBEDDED - depends on SQUASHFS3 - default "3" - help - By default SquashFS caches the last 3 fragments read from - the filesystem. Increasing this amount may mean SquashFS - has to re-read fragments less often from disk, at the expense - of extra system memory. Decreasing this amount will mean - SquashFS uses less memory at the expense of extra reads from disk. - - Note there must be at least one cached fragment. Anything - much more than three will probably not make much difference. - config VXFS_FS tristate "FreeVxFS file system support (VERITAS VxFS(TM) compatible)" depends on BLOCK diff --git a/fs/squashfs3/Kconfig b/fs/squashfs3/Kconfig new file mode 100644 index 0000000..c5cc83c --- /dev/null +++ b/fs/squashfs3/Kconfig @@ -0,0 +1,49 @@ +config SQUASHFS3 + tristate "SquashFS 3.4 - Squashed file system support" + select ZLIB_INFLATE + help + Saying Y here includes support for SquashFS 3.4 (a Compressed + Read-Only File System). Squashfs is a highly compressed read-only + filesystem for Linux. It uses zlib compression to compress both + files, inodes and directories. Inodes in the system are very small + and all blocks are packed to minimise data overhead. Block sizes + greater than 4K are supported up to a maximum of 1 Mbytes (default + block size 128K). SquashFS 3.3 supports 64 bit filesystems and files + (larger than 4GB), full uid/gid information, hard links and timestamps. + + Squashfs is intended for general read-only filesystem use, for + archival use (i.e. in cases where a .tar.gz file may be used), and in + embedded systems where low overhead is needed. Further information + and filesystem tools are available from http://squashfs.sourceforge.net. + + If you want to compile this as a module ( = code which can be + inserted in and removed from the running kernel whenever you want), + say M here and read . The module + will be called squashfs. Note that the root file system (the one + containing the directory /) cannot be compiled as a module. + + If unsure, say N. + +config SQUASHFS3_EMBEDDED + + bool "Additional option for memory-constrained systems" + depends on SQUASHFS3 + default n + help + Saying Y here allows you to specify cache size. + + If unsure, say N. + +config SQUASHFS3_FRAGMENT_CACHE_SIZE + int "Number of fragments cached" if SQUASHFS3_EMBEDDED + depends on SQUASHFS3 + default "3" + help + By default SquashFS caches the last 3 fragments read from + the filesystem. Increasing this amount may mean SquashFS + has to re-read fragments less often from disk, at the expense + of extra system memory. Decreasing this amount will mean + SquashFS uses less memory at the expense of extra reads from disk. + + Note there must be at least one cached fragment. Anything + much more than three will probably not make much difference. -- 1.6.4.4