Kconfig 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. config UBIFS_FS
  2. tristate "UBIFS file system support"
  3. select CRC16
  4. select CRC32
  5. select CRYPTO if UBIFS_FS_ADVANCED_COMPR
  6. select CRYPTO if UBIFS_FS_LZO
  7. select CRYPTO if UBIFS_FS_ZLIB
  8. select CRYPTO_LZO if UBIFS_FS_LZO
  9. select CRYPTO_DEFLATE if UBIFS_FS_ZLIB
  10. depends on MTD_UBI
  11. help
  12. UBIFS is a file system for flash devices which works on top of UBI.
  13. config UBIFS_FS_ADVANCED_COMPR
  14. bool "Advanced compression options"
  15. depends on UBIFS_FS
  16. help
  17. This option allows to explicitly choose which compressions, if any,
  18. are enabled in UBIFS. Removing compressors means inability to read
  19. existing file systems.
  20. If unsure, say 'N'.
  21. config UBIFS_FS_LZO
  22. bool "LZO compression support" if UBIFS_FS_ADVANCED_COMPR
  23. depends on UBIFS_FS
  24. default y
  25. help
  26. LZO compressor is generally faster than zlib but compresses worse.
  27. Say 'Y' if unsure.
  28. config UBIFS_FS_ZLIB
  29. bool "ZLIB compression support" if UBIFS_FS_ADVANCED_COMPR
  30. depends on UBIFS_FS
  31. default y
  32. help
  33. Zlib compresses better than LZO but it is slower. Say 'Y' if unsure.
  34. config UBIFS_ATIME_SUPPORT
  35. bool "Access time support" if UBIFS_FS
  36. depends on UBIFS_FS
  37. default n
  38. help
  39. Originally UBIFS did not support atime, because it looked like a bad idea due
  40. increased flash wear. This option adds atime support and it is disabled by default
  41. to preserve the old behavior. If you enable this option, UBIFS starts updating atime,
  42. which means that file-system read operations will cause writes (inode atime
  43. updates). This may affect file-system performance and increase flash device wear,
  44. so be careful. How often atime is updated depends on the selected strategy:
  45. strictatime is the "heavy", relatime is "lighter", etc.
  46. If unsure, say 'N'
  47. config UBIFS_FS_XATTR
  48. bool "UBIFS XATTR support"
  49. depends on UBIFS_FS
  50. default y
  51. help
  52. Saying Y here includes support for extended attributes (xattrs).
  53. Xattrs are name:value pairs associated with inodes by
  54. the kernel or by users (see the attr(5) manual page).
  55. If unsure, say Y.
  56. config UBIFS_FS_ENCRYPTION
  57. bool "UBIFS Encryption"
  58. depends on UBIFS_FS && UBIFS_FS_XATTR && BLOCK
  59. select FS_ENCRYPTION
  60. default n
  61. help
  62. Enable encryption of UBIFS files and directories. This
  63. feature is similar to ecryptfs, but it is more memory
  64. efficient since it avoids caching the encrypted and
  65. decrypted pages in the page cache.
  66. config UBIFS_FS_SECURITY
  67. bool "UBIFS Security Labels"
  68. depends on UBIFS_FS && UBIFS_FS_XATTR
  69. default y
  70. help
  71. Security labels provide an access control facility to support Linux
  72. Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO
  73. Linux. This option enables an extended attribute handler for file
  74. security labels in the ubifs filesystem, so that it requires enabling
  75. the extended attribute support in advance.
  76. If you are not using a security module, say N.