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