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 1049525e5eSSascha Hauer select CRYPTO_HASH_INFO 11*643fa961SChandan Rajendra select UBIFS_FS_XATTR if FS_ENCRYPTION 120d7eff87SArtem Bityutskiy depends on MTD_UBI 130d7eff87SArtem Bityutskiy help 140d7eff87SArtem Bityutskiy UBIFS is a file system for flash devices which works on top of UBI. 150d7eff87SArtem Bityutskiy 16aa3d31e0SGeert Uytterhoevenif UBIFS_FS 17aa3d31e0SGeert Uytterhoeven 180d7eff87SArtem Bityutskiyconfig UBIFS_FS_ADVANCED_COMPR 190d7eff87SArtem Bityutskiy bool "Advanced compression options" 200d7eff87SArtem Bityutskiy help 210d7eff87SArtem Bityutskiy This option allows to explicitly choose which compressions, if any, 22692105b8SMatt LaPlante are enabled in UBIFS. Removing compressors means inability to read 230d7eff87SArtem Bityutskiy existing file systems. 240d7eff87SArtem Bityutskiy 250d7eff87SArtem Bityutskiy If unsure, say 'N'. 260d7eff87SArtem Bityutskiy 270d7eff87SArtem Bityutskiyconfig UBIFS_FS_LZO 280d7eff87SArtem Bityutskiy bool "LZO compression support" if UBIFS_FS_ADVANCED_COMPR 290d7eff87SArtem Bityutskiy default y 300d7eff87SArtem Bityutskiy help 31692105b8SMatt LaPlante LZO compressor is generally faster than zlib but compresses worse. 320d7eff87SArtem Bityutskiy Say 'Y' if unsure. 330d7eff87SArtem Bityutskiy 340d7eff87SArtem Bityutskiyconfig UBIFS_FS_ZLIB 350d7eff87SArtem Bityutskiy bool "ZLIB compression support" if UBIFS_FS_ADVANCED_COMPR 360d7eff87SArtem Bityutskiy default y 370d7eff87SArtem Bityutskiy help 38025dfdafSFrederik Schwarzer Zlib compresses better than LZO but it is slower. Say 'Y' if unsure. 398c1c5f26SDongsheng Yang 408c1c5f26SDongsheng Yangconfig UBIFS_ATIME_SUPPORT 41aa3d31e0SGeert Uytterhoeven bool "Access time support" 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 547e5471ceSStefan Agnerconfig UBIFS_FS_XATTR 557e5471ceSStefan Agner bool "UBIFS XATTR support" 567e5471ceSStefan Agner default y 577e5471ceSStefan Agner help 587e5471ceSStefan Agner Saying Y here includes support for extended attributes (xattrs). 597e5471ceSStefan Agner Xattrs are name:value pairs associated with inodes by 607e5471ceSStefan Agner the kernel or by users (see the attr(5) manual page). 617e5471ceSStefan Agner 627e5471ceSStefan Agner If unsure, say Y. 637e5471ceSStefan Agner 648326c1eeSHyunchul Leeconfig UBIFS_FS_SECURITY 658326c1eeSHyunchul Lee bool "UBIFS Security Labels" 66aa3d31e0SGeert Uytterhoeven depends on UBIFS_FS_XATTR 678326c1eeSHyunchul Lee default y 688326c1eeSHyunchul Lee help 698326c1eeSHyunchul Lee Security labels provide an access control facility to support Linux 708326c1eeSHyunchul Lee Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO 718326c1eeSHyunchul Lee Linux. This option enables an extended attribute handler for file 728326c1eeSHyunchul Lee security labels in the ubifs filesystem, so that it requires enabling 738326c1eeSHyunchul Lee the extended attribute support in advance. 748326c1eeSHyunchul Lee 758326c1eeSHyunchul Lee If you are not using a security module, say N. 76d8a22773SSascha Hauer 77d8a22773SSascha Hauerconfig UBIFS_FS_AUTHENTICATION 78d8a22773SSascha Hauer bool "UBIFS authentication support" 7960eb5da2SArnd Bergmann depends on KEYS 80d8a22773SSascha Hauer select CRYPTO_HMAC 81d8a22773SSascha Hauer help 82d8a22773SSascha Hauer Enable authentication support for UBIFS. This feature offers protection 83d8a22773SSascha Hauer against offline changes for both data and metadata of the filesystem. 84d8a22773SSascha Hauer If you say yes here you should also select a hashing algorithm such as 85d8a22773SSascha Hauer sha256, these are not selected automatically since there are many 86d8a22773SSascha Hauer different options. 87aa3d31e0SGeert Uytterhoeven 88aa3d31e0SGeert Uytterhoevenendif # UBIFS_FS 89