# SPDX-License-Identifier: GPL-2.0-only config [31mCONFIG_UBIFS_FS[0m tristate "UBIFS file system support" select [31mCONFIG_CRC16[0m select [31mCONFIG_CRC32[0m select [31mCONFIG_CRYPTO[0m if [31mCONFIG_UBIFS_FS_ADVANCED_COMPR[0m select [31mCONFIG_CRYPTO[0m if [31mCONFIG_UBIFS_FS_LZO[0m select [31mCONFIG_CRYPTO[0m if [31mCONFIG_UBIFS_FS_ZLIB[0m select [31mCONFIG_CRYPTO[0m if [31mCONFIG_UBIFS_FS_ZSTD[0m select [31mCONFIG_CRYPTO_LZO[0m if [31mCONFIG_UBIFS_FS_LZO[0m select [31mCONFIG_CRYPTO_DEFLATE[0m if [31mCONFIG_UBIFS_FS_ZLIB[0m select [31mCONFIG_CRYPTO_ZSTD[0m if [31mCONFIG_UBIFS_FS_ZSTD[0m select [31mCONFIG_CRYPTO_HASH_INFO[0m select [31mCONFIG_UBIFS_FS_XATTR[0m if [31mCONFIG_FS_ENCRYPTION[0m depends on [31mCONFIG_MTD_UBI[0m help UBIFS is a file system for flash devices which works on top of UBI. if [31mCONFIG_UBIFS_FS[0m config [31mCONFIG_UBIFS_FS_ADVANCED_COMPR[0m bool "Advanced compression options" help This option allows to explicitly choose which compressions, if any, are enabled in UBIFS. Removing compressors means inability to read existing file systems. If unsure, say 'N'. config [31mCONFIG_UBIFS_FS_LZO[0m bool "LZO compression support" if [31mCONFIG_UBIFS_FS_ADVANCED_COMPR[0m default y help LZO compressor is generally faster than zlib but compresses worse. Say 'Y' if unsure. config [31mCONFIG_UBIFS_FS_ZLIB[0m bool "ZLIB compression support" if [31mCONFIG_UBIFS_FS_ADVANCED_COMPR[0m default y help Zlib compresses better than LZO but it is slower. Say 'Y' if unsure. config [31mCONFIG_UBIFS_FS_ZSTD[0m bool "ZSTD compression support" if [31mCONFIG_UBIFS_FS_ADVANCED_COMPR[0m depends on [31mCONFIG_UBIFS_FS[0m default y help ZSTD compresses is a big win in speed over Zlib and in compression ratio over LZO. Say 'Y' if unsure. config [31mCONFIG_UBIFS_ATIME_SUPPORT[0m bool "Access time support" default n help Originally UBIFS did not support atime, because it looked like a bad idea due increased flash wear. This option adds atime support and it is disabled by default to preserve the old behavior. If you enable this option, UBIFS starts updating atime, which means that file-system read operations will cause writes (inode atime updates). This may affect file-system performance and increase flash device wear, so be careful. How often atime is updated depends on the selected strategy: strictatime is the "heavy", relatime is "lighter", etc. If unsure, say 'N' config [31mCONFIG_UBIFS_FS_XATTR[0m bool "UBIFS XATTR support" default y help Saying Y here includes support for extended attributes (xattrs). Xattrs are name:value pairs associated with inodes by the kernel or by users (see the attr(5) manual page). If unsure, say Y. config [31mCONFIG_UBIFS_FS_SECURITY[0m bool "UBIFS Security Labels" depends on [31mCONFIG_UBIFS_FS_XATTR[0m default y help Security labels provide an access control facility to support Linux Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO Linux. This option enables an extended attribute handler for file security labels in the ubifs filesystem, so that it requires enabling the extended attribute support in advance. If you are not using a security module, say N. config [31mCONFIG_UBIFS_FS_AUTHENTICATION[0m bool "UBIFS authentication support" select [31mCONFIG_KEYS[0m select [31mCONFIG_CRYPTO_HMAC[0m select [31mCONFIG_SYSTEM_DATA_VERIFICATION[0m help Enable authentication support for UBIFS. This feature offers protection against offline changes for both data and metadata of the filesystem. If you say yes here you should also select a hashing algorithm such as sha256, these are not selected automatically since there are many different options. endif # [31mCONFIG_UBIFS_FS[0m |