10d7eff87SArtem Bityutskiyconfig UBIFS_FS 20d7eff87SArtem Bityutskiy tristate "UBIFS file system support" 30d7eff87SArtem Bityutskiy select CRC16 40d7eff87SArtem Bityutskiy select CRC32 50d7eff87SArtem Bityutskiy select CRYPTO if UBIFS_FS_ADVANCED_COMPR 60d7eff87SArtem Bityutskiy select CRYPTO if UBIFS_FS_LZO 70d7eff87SArtem Bityutskiy select CRYPTO if UBIFS_FS_ZLIB 80d7eff87SArtem Bityutskiy select CRYPTO_LZO if UBIFS_FS_LZO 90d7eff87SArtem Bityutskiy select CRYPTO_DEFLATE if UBIFS_FS_ZLIB 100d7eff87SArtem Bityutskiy depends on MTD_UBI 110d7eff87SArtem Bityutskiy help 120d7eff87SArtem Bityutskiy UBIFS is a file system for flash devices which works on top of UBI. 130d7eff87SArtem Bityutskiy 140d7eff87SArtem Bityutskiyconfig UBIFS_FS_ADVANCED_COMPR 150d7eff87SArtem Bityutskiy bool "Advanced compression options" 160d7eff87SArtem Bityutskiy depends on UBIFS_FS 170d7eff87SArtem Bityutskiy help 180d7eff87SArtem Bityutskiy This option allows to explicitly choose which compressions, if any, 19692105b8SMatt LaPlante are enabled in UBIFS. Removing compressors means inability to read 200d7eff87SArtem Bityutskiy existing file systems. 210d7eff87SArtem Bityutskiy 220d7eff87SArtem Bityutskiy If unsure, say 'N'. 230d7eff87SArtem Bityutskiy 240d7eff87SArtem Bityutskiyconfig UBIFS_FS_LZO 250d7eff87SArtem Bityutskiy bool "LZO compression support" if UBIFS_FS_ADVANCED_COMPR 260d7eff87SArtem Bityutskiy depends on UBIFS_FS 270d7eff87SArtem Bityutskiy default y 280d7eff87SArtem Bityutskiy help 29692105b8SMatt LaPlante LZO compressor is generally faster than zlib but compresses worse. 300d7eff87SArtem Bityutskiy Say 'Y' if unsure. 310d7eff87SArtem Bityutskiy 320d7eff87SArtem Bityutskiyconfig UBIFS_FS_ZLIB 330d7eff87SArtem Bityutskiy bool "ZLIB compression support" if UBIFS_FS_ADVANCED_COMPR 340d7eff87SArtem Bityutskiy depends on UBIFS_FS 350d7eff87SArtem Bityutskiy default y 360d7eff87SArtem Bityutskiy help 37025dfdafSFrederik Schwarzer Zlib compresses better than LZO but it is slower. Say 'Y' if unsure. 388c1c5f26SDongsheng Yang 398c1c5f26SDongsheng Yangconfig UBIFS_ATIME_SUPPORT 408c1c5f26SDongsheng Yang bool "Access time support" if UBIFS_FS 418c1c5f26SDongsheng Yang depends on UBIFS_FS 428c1c5f26SDongsheng Yang default n 438c1c5f26SDongsheng Yang help 448c1c5f26SDongsheng Yang Originally UBIFS did not support atime, because it looked like a bad idea due 458c1c5f26SDongsheng Yang increased flash wear. This option adds atime support and it is disabled by default 468c1c5f26SDongsheng Yang to preserve the old behavior. If you enable this option, UBIFS starts updating atime, 478c1c5f26SDongsheng Yang which means that file-system read operations will cause writes (inode atime 488c1c5f26SDongsheng Yang updates). This may affect file-system performance and increase flash device wear, 498c1c5f26SDongsheng Yang so be careful. How often atime is updated depends on the selected strategy: 508c1c5f26SDongsheng Yang strictatime is the "heavy", relatime is "lighter", etc. 518c1c5f26SDongsheng Yang 528c1c5f26SDongsheng Yang If unsure, say 'N' 53d475a507SRichard Weinberger 54*7e5471ceSStefan Agnerconfig UBIFS_FS_XATTR 55*7e5471ceSStefan Agner bool "UBIFS XATTR support" 56*7e5471ceSStefan Agner depends on UBIFS_FS 57*7e5471ceSStefan Agner default y 58*7e5471ceSStefan Agner help 59*7e5471ceSStefan Agner Saying Y here includes support for extended attributes (xattrs). 60*7e5471ceSStefan Agner Xattrs are name:value pairs associated with inodes by 61*7e5471ceSStefan Agner the kernel or by users (see the attr(5) manual page). 62*7e5471ceSStefan Agner 63*7e5471ceSStefan Agner If unsure, say Y. 64*7e5471ceSStefan Agner 65d475a507SRichard Weinbergerconfig UBIFS_FS_ENCRYPTION 66d475a507SRichard Weinberger bool "UBIFS Encryption" 67*7e5471ceSStefan Agner depends on UBIFS_FS && UBIFS_FS_XATTR && BLOCK 68d475a507SRichard Weinberger select FS_ENCRYPTION 69d475a507SRichard Weinberger default n 70d475a507SRichard Weinberger help 71d475a507SRichard Weinberger Enable encryption of UBIFS files and directories. This 72d475a507SRichard Weinberger feature is similar to ecryptfs, but it is more memory 73d475a507SRichard Weinberger efficient since it avoids caching the encrypted and 74d475a507SRichard Weinberger decrypted pages in the page cache. 758326c1eeSHyunchul Lee 768326c1eeSHyunchul Leeconfig UBIFS_FS_SECURITY 778326c1eeSHyunchul Lee bool "UBIFS Security Labels" 78*7e5471ceSStefan Agner depends on UBIFS_FS && UBIFS_FS_XATTR 798326c1eeSHyunchul Lee default y 808326c1eeSHyunchul Lee help 818326c1eeSHyunchul Lee Security labels provide an access control facility to support Linux 828326c1eeSHyunchul Lee Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO 838326c1eeSHyunchul Lee Linux. This option enables an extended attribute handler for file 848326c1eeSHyunchul Lee security labels in the ubifs filesystem, so that it requires enabling 858326c1eeSHyunchul Lee the extended attribute support in advance. 868326c1eeSHyunchul Lee 878326c1eeSHyunchul Lee If you are not using a security module, say N. 88