Kconfig 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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_XATTR
  14. bool "Extended attributes support"
  15. depends on UBIFS_FS
  16. help
  17. This option enables support of extended attributes.
  18. config UBIFS_FS_ADVANCED_COMPR
  19. bool "Advanced compression options"
  20. depends on UBIFS_FS
  21. help
  22. This option allows to explicitly choose which compressions, if any,
  23. are enabled in UBIFS. Removing compressors means inability to read
  24. existing file systems.
  25. If unsure, say 'N'.
  26. config UBIFS_FS_LZO
  27. bool "LZO compression support" if UBIFS_FS_ADVANCED_COMPR
  28. depends on UBIFS_FS
  29. default y
  30. help
  31. LZO compressor is generally faster than zlib but compresses worse.
  32. Say 'Y' if unsure.
  33. config UBIFS_FS_ZLIB
  34. bool "ZLIB compression support" if UBIFS_FS_ADVANCED_COMPR
  35. depends on UBIFS_FS
  36. default y
  37. help
  38. Zlib compresses better than LZO but it is slower. Say 'Y' if unsure.
  39. # Debugging-related stuff
  40. config UBIFS_FS_DEBUG
  41. bool "Enable debugging"
  42. depends on UBIFS_FS
  43. select DEBUG_FS
  44. select KALLSYMS_ALL
  45. help
  46. This option enables UBIFS debugging.
  47. config UBIFS_FS_DEBUG_MSG_LVL
  48. int "Default message level (0 = no extra messages, 3 = lots)"
  49. depends on UBIFS_FS_DEBUG
  50. default "0"
  51. help
  52. This controls the amount of debugging messages produced by UBIFS.
  53. If reporting bugs, please try to have available a full dump of the
  54. messages at level 1 while the misbehaviour was occurring. Level 2
  55. may become necessary if level 1 messages were not enough to find the
  56. bug. Generally Level 3 should be avoided.
  57. config UBIFS_FS_DEBUG_CHKS
  58. bool "Enable extra checks"
  59. depends on UBIFS_FS_DEBUG
  60. help
  61. If extra checks are enabled UBIFS will check the consistency of its
  62. internal data structures during operation. However, UBIFS performance
  63. is dramatically slower when this option is selected especially if the
  64. file system is large.