Kconfig 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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/lzo 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. Squashfs is intended for general read-only filesystem use, for
  16. archival use (i.e. in cases where a .tar.gz file may be used), and in
  17. embedded systems where low overhead is needed. Further information
  18. and tools are available from http://squashfs.sourceforge.net.
  19. If you want to compile this as a module ( = code which can be
  20. inserted in and removed from the running kernel whenever you want),
  21. say M here and read <file:Documentation/modules.txt>. The module
  22. will be called squashfs. Note that the root file system (the one
  23. containing the directory /) cannot be compiled as a module.
  24. If unsure, say N.
  25. config SQUASHFS_XATTR
  26. bool "Squashfs XATTR support"
  27. depends on SQUASHFS
  28. default n
  29. help
  30. Saying Y here includes support for extended attributes (xattrs).
  31. Xattrs are name:value pairs associated with inodes by
  32. the kernel or by users (see the attr(5) manual page).
  33. If unsure, say N.
  34. config SQUASHFS_LZO
  35. bool "Include support for LZO compressed file systems"
  36. depends on SQUASHFS
  37. default n
  38. select LZO_DECOMPRESS
  39. help
  40. Saying Y here includes support for reading Squashfs file systems
  41. compressed with LZO compresssion. LZO compression is mainly
  42. aimed at embedded systems with slower CPUs where the overheads
  43. of zlib are too high.
  44. LZO is not the standard compression used in Squashfs and so most
  45. file systems will be readable without selecting this option.
  46. If unsure, say N.
  47. config SQUASHFS_EMBEDDED
  48. bool "Additional option for memory-constrained systems"
  49. depends on SQUASHFS
  50. default n
  51. help
  52. Saying Y here allows you to specify cache size.
  53. If unsure, say N.
  54. config SQUASHFS_FRAGMENT_CACHE_SIZE
  55. int "Number of fragments cached" if SQUASHFS_EMBEDDED
  56. depends on SQUASHFS
  57. default "3"
  58. help
  59. By default SquashFS caches the last 3 fragments read from
  60. the filesystem. Increasing this amount may mean SquashFS
  61. has to re-read fragments less often from disk, at the expense
  62. of extra system memory. Decreasing this amount will mean
  63. SquashFS uses less memory at the expense of extra reads from disk.
  64. Note there must be at least one cached fragment. Anything
  65. much more than three will probably not make much difference.