Kconfig 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. 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_XATTRS
  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_EMBEDDED
  35. bool "Additional option for memory-constrained systems"
  36. depends on SQUASHFS
  37. default n
  38. help
  39. Saying Y here allows you to specify cache size.
  40. If unsure, say N.
  41. config SQUASHFS_FRAGMENT_CACHE_SIZE
  42. int "Number of fragments cached" if SQUASHFS_EMBEDDED
  43. depends on SQUASHFS
  44. default "3"
  45. help
  46. By default SquashFS caches the last 3 fragments read from
  47. the filesystem. Increasing this amount may mean SquashFS
  48. has to re-read fragments less often from disk, at the expense
  49. of extra system memory. Decreasing this amount will mean
  50. SquashFS uses less memory at the expense of extra reads from disk.
  51. Note there must be at least one cached fragment. Anything
  52. much more than three will probably not make much difference.