Kconfig 2.1 KB

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