Kconfig 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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 or xz compression to
  9. compress both files, inodes and directories. Inodes in the system
  10. are very small and all blocks are packed to minimise data overhead.
  11. Block sizes greater than 4K are supported up to a maximum of 1 Mbytes
  12. (default block size 128K). SquashFS 4.0 supports 64 bit filesystems
  13. and files (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. help
  29. Saying Y here includes support for extended attributes (xattrs).
  30. Xattrs are name:value pairs associated with inodes by
  31. the kernel or by users (see the attr(5) manual page).
  32. If unsure, say N.
  33. config SQUASHFS_LZO
  34. bool "Include support for LZO compressed file systems"
  35. depends on SQUASHFS
  36. select LZO_DECOMPRESS
  37. help
  38. Saying Y here includes support for reading Squashfs file systems
  39. compressed with LZO compression. LZO compression is mainly
  40. aimed at embedded systems with slower CPUs where the overheads
  41. of zlib are too high.
  42. LZO is not the standard compression used in Squashfs and so most
  43. file systems will be readable without selecting this option.
  44. If unsure, say N.
  45. config SQUASHFS_XZ
  46. bool "Include support for XZ compressed file systems"
  47. depends on SQUASHFS
  48. select XZ_DEC
  49. help
  50. Saying Y here includes support for reading Squashfs file systems
  51. compressed with XZ compression. XZ gives better compression than
  52. the default zlib compression, at the expense of greater CPU and
  53. memory overhead.
  54. XZ is not the standard compression used in Squashfs and so most
  55. file systems will be readable without selecting this option.
  56. If unsure, say N.
  57. config SQUASHFS_EMBEDDED
  58. bool "Additional option for memory-constrained systems"
  59. depends on SQUASHFS
  60. help
  61. Saying Y here allows you to specify cache size.
  62. If unsure, say N.
  63. config SQUASHFS_FRAGMENT_CACHE_SIZE
  64. int "Number of fragments cached" if SQUASHFS_EMBEDDED
  65. depends on SQUASHFS
  66. default "3"
  67. help
  68. By default SquashFS caches the last 3 fragments read from
  69. the filesystem. Increasing this amount may mean SquashFS
  70. has to re-read fragments less often from disk, at the expense
  71. of extra system memory. Decreasing this amount will mean
  72. SquashFS uses less memory at the expense of extra reads from disk.
  73. Note there must be at least one cached fragment. Anything
  74. much more than three will probably not make much difference.