Kconfig

CONFIG_UBIFS_FS UBIFS file system support

  • Off
  • Module
  • Built in

UBIFS is a file system for flash devices which works on top of UBI.

If UBIFS_FS

CONFIG_UBIFS_FS_ADVANCED_COMPR Advanced compression options

On

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_UBIFS_ATIME_SUPPORT Access time support

On

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_UBIFS_FS_XATTR UBIFS XATTR support

On

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.

If UBIFS_FS_XATTR

CONFIG_UBIFS_FS_SECURITY UBIFS Security Labels

On

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_UBIFS_FS_AUTHENTICATION UBIFS authentication support

On

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.