Kconfig 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 support"
  42. depends on UBIFS_FS
  43. select DEBUG_FS
  44. select KALLSYMS
  45. help
  46. This option enables UBIFS debugging support. It makes sure various
  47. assertions, self-checks, debugging messages and test modes are compiled
  48. in (this all is compiled out otherwise). Assertions are light-weight
  49. and this option also enables them. Self-checks, debugging messages and
  50. test modes are switched off by default. Thus, it is safe and actually
  51. recommended to have debugging support enabled, and it should not slow
  52. down UBIFS. You can then further enable / disable individual debugging
  53. features using UBIFS module parameters and the corresponding sysfs
  54. interfaces.