1 # SPDX-License-Identifier: GPL-2.0-only << 2 config UBIFS_FS 1 config UBIFS_FS 3 tristate "UBIFS file system support" 2 tristate "UBIFS file system support" 4 select CRC16 3 select CRC16 5 select CRC32 4 select CRC32 6 select CRYPTO if UBIFS_FS_ADVANCED_COM 5 select CRYPTO if UBIFS_FS_ADVANCED_COMPR 7 select CRYPTO if UBIFS_FS_LZO 6 select CRYPTO if UBIFS_FS_LZO 8 select CRYPTO if UBIFS_FS_ZLIB 7 select CRYPTO if UBIFS_FS_ZLIB 9 select CRYPTO if UBIFS_FS_ZSTD << 10 select CRYPTO_LZO if UBIFS_FS_LZO 8 select CRYPTO_LZO if UBIFS_FS_LZO 11 select CRYPTO_DEFLATE if UBIFS_FS_ZLIB 9 select CRYPTO_DEFLATE if UBIFS_FS_ZLIB 12 select CRYPTO_ZSTD if UBIFS_FS_ZSTD << 13 select CRYPTO_HASH_INFO << 14 select UBIFS_FS_XATTR if FS_ENCRYPTION << 15 select FS_ENCRYPTION_ALGS if FS_ENCRYP << 16 depends on MTD_UBI 10 depends on MTD_UBI 17 help 11 help 18 UBIFS is a file system for flash dev 12 UBIFS is a file system for flash devices which works on top of UBI. 19 13 20 if UBIFS_FS !! 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. 21 19 22 config UBIFS_FS_ADVANCED_COMPR 20 config UBIFS_FS_ADVANCED_COMPR 23 bool "Advanced compression options" 21 bool "Advanced compression options" >> 22 depends on UBIFS_FS 24 help 23 help 25 This option allows to explicitly cho 24 This option allows to explicitly choose which compressions, if any, 26 are enabled in UBIFS. Removing compr 25 are enabled in UBIFS. Removing compressors means inability to read 27 existing file systems. 26 existing file systems. 28 27 29 If unsure, say 'N'. 28 If unsure, say 'N'. 30 29 31 config UBIFS_FS_LZO 30 config UBIFS_FS_LZO 32 bool "LZO compression support" if UBIF 31 bool "LZO compression support" if UBIFS_FS_ADVANCED_COMPR >> 32 depends on UBIFS_FS 33 default y 33 default y 34 help 34 help 35 LZO compressor is generally faster 35 LZO compressor is generally faster than zlib but compresses worse. 36 Say 'Y' if unsure. 36 Say 'Y' if unsure. 37 37 38 config UBIFS_FS_ZLIB 38 config UBIFS_FS_ZLIB 39 bool "ZLIB compression support" if UBI 39 bool "ZLIB compression support" if UBIFS_FS_ADVANCED_COMPR >> 40 depends on UBIFS_FS 40 default y 41 default y 41 help 42 help 42 Zlib compresses better than LZO but 43 Zlib compresses better than LZO but it is slower. Say 'Y' if unsure. 43 44 44 config UBIFS_FS_ZSTD !! 45 # Debugging-related stuff 45 bool "ZSTD compression support" if UBI !! 46 config UBIFS_FS_DEBUG >> 47 bool "Enable debugging" 46 depends on UBIFS_FS 48 depends on UBIFS_FS 47 default y !! 49 select DEBUG_FS 48 help !! 50 select KALLSYMS_ALL 49 ZSTD compresses is a big win in spee << 50 in compression ratio over LZO. Say ' << 51 << 52 config UBIFS_ATIME_SUPPORT << 53 bool "Access time support" << 54 default n << 55 help << 56 Originally UBIFS did not support ati << 57 increased flash wear. This option ad << 58 to preserve the old behavior. If you << 59 which means that file-system read op << 60 updates). This may affect file-syste << 61 so be careful. How often atime is up << 62 strictatime is the "heavy", relatime << 63 << 64 If unsure, say 'N' << 65 << 66 config UBIFS_FS_XATTR << 67 bool "UBIFS XATTR support" << 68 default y << 69 help << 70 Saying Y here includes support for e << 71 Xattrs are name:value pairs associat << 72 the kernel or by users (see the attr << 73 << 74 If unsure, say Y. << 75 << 76 config UBIFS_FS_SECURITY << 77 bool "UBIFS Security Labels" << 78 depends on UBIFS_FS_XATTR << 79 default y << 80 help 51 help 81 Security labels provide an access co !! 52 This option enables UBIFS debugging. 82 Security Models (LSMs) accepted by A << 83 Linux. This option enables an extend << 84 security labels in the ubifs filesys << 85 the extended attribute support in ad << 86 << 87 If you are not using a security modu << 88 << 89 config UBIFS_FS_AUTHENTICATION << 90 bool "UBIFS authentication support" << 91 select KEYS << 92 select CRYPTO_HMAC << 93 select SYSTEM_DATA_VERIFICATION << 94 help << 95 Enable authentication support for UB << 96 against offline changes for both dat << 97 If you say yes here you should also << 98 sha256, these are not selected autom << 99 different options. << 100 53 101 endif # UBIFS_FS !! 54 config UBIFS_FS_DEBUG_MSG_LVL >> 55 int "Default message level (0 = no extra messages, 3 = lots)" >> 56 depends on UBIFS_FS_DEBUG >> 57 default "0" >> 58 help >> 59 This controls the amount of debugging messages produced by UBIFS. >> 60 If reporting bugs, please try to have available a full dump of the >> 61 messages at level 1 while the misbehaviour was occurring. Level 2 >> 62 may become necessary if level 1 messages were not enough to find the >> 63 bug. Generally Level 3 should be avoided. >> 64 >> 65 config UBIFS_FS_DEBUG_CHKS >> 66 bool "Enable extra checks" >> 67 depends on UBIFS_FS_DEBUG >> 68 help >> 69 If extra checks are enabled UBIFS will check the consistency of its >> 70 internal data structures during operation. However, UBIFS performance >> 71 is dramatically slower when this option is selected especially if the >> 72 file system is large.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.