^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) config EROFS_FS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) tristate "EROFS filesystem support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) depends on BLOCK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) select FS_IOMAP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) select LIBCRC32C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) EROFS (Enhanced Read-Only File System) is a lightweight
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) read-only file system with modern designs (eg. page-sized
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) blocks, inline xattrs/data, etc.) for scenarios which need
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) high-performance read-only requirements, e.g. Android OS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) for mobile phones and LIVECDs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) It also provides fixed-sized output compression support,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) which improves storage density, keeps relatively higher
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) compression ratios, which is more useful to achieve high
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) performance for embedded devices with limited memory.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) config EROFS_FS_DEBUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) bool "EROFS debugging feature"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) depends on EROFS_FS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Print debugging messages and enable more BUG_ONs which check
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) filesystem consistency and find potential issues aggressively,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) which can be used for Android eng build, for example.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) For daily use, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) config EROFS_FS_XATTR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) bool "EROFS extended attributes"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) depends on EROFS_FS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Extended attributes are name:value pairs associated with inodes by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) the kernel or by users (see the attr(5) manual page, or visit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) <http://acl.bestbits.at/> for details).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) config EROFS_FS_POSIX_ACL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) bool "EROFS Access Control Lists"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) depends on EROFS_FS_XATTR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) select FS_POSIX_ACL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) Posix Access Control Lists (ACLs) support permissions for users and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) groups beyond the owner/group/world scheme.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) To learn more about Access Control Lists, visit the POSIX ACLs for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) Linux website <http://acl.bestbits.at/>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) If you don't know what Access Control Lists are, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) config EROFS_FS_SECURITY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) bool "EROFS Security Labels"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) depends on EROFS_FS_XATTR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) Security labels provide an access control facility to support Linux
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) Linux. This option enables an extended attribute handler for file
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) security labels in the erofs filesystem, so that it requires enabling
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) the extended attribute support in advance.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) If you are not using a security module, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) config EROFS_FS_ZIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) bool "EROFS Data Compression Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) depends on EROFS_FS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) select LZ4_DECOMPRESS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) Enable fixed-sized output compression for EROFS.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) If you don't want to enable compression feature, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79)