147e4937aSGao Xiang# SPDX-License-Identifier: GPL-2.0-only 247e4937aSGao Xiang 347e4937aSGao Xiangconfig EROFS_FS 447e4937aSGao Xiang tristate "EROFS filesystem support" 547e4937aSGao Xiang depends on BLOCK 6*a08e67a0SHuang Jianan select FS_IOMAP 7b858a484SPratik Shinde select LIBCRC32C 847e4937aSGao Xiang help 947e4937aSGao Xiang EROFS (Enhanced Read-Only File System) is a lightweight 1047e4937aSGao Xiang read-only file system with modern designs (eg. page-sized 1147e4937aSGao Xiang blocks, inline xattrs/data, etc.) for scenarios which need 1247e4937aSGao Xiang high-performance read-only requirements, e.g. Android OS 1347e4937aSGao Xiang for mobile phones and LIVECDs. 1447e4937aSGao Xiang 1547e4937aSGao Xiang It also provides fixed-sized output compression support, 1647e4937aSGao Xiang which improves storage density, keeps relatively higher 1747e4937aSGao Xiang compression ratios, which is more useful to achieve high 1847e4937aSGao Xiang performance for embedded devices with limited memory. 1947e4937aSGao Xiang 2047e4937aSGao Xiang If unsure, say N. 2147e4937aSGao Xiang 2247e4937aSGao Xiangconfig EROFS_FS_DEBUG 2347e4937aSGao Xiang bool "EROFS debugging feature" 2447e4937aSGao Xiang depends on EROFS_FS 2547e4937aSGao Xiang help 2647e4937aSGao Xiang Print debugging messages and enable more BUG_ONs which check 2747e4937aSGao Xiang filesystem consistency and find potential issues aggressively, 2847e4937aSGao Xiang which can be used for Android eng build, for example. 2947e4937aSGao Xiang 3047e4937aSGao Xiang For daily use, say N. 3147e4937aSGao Xiang 3247e4937aSGao Xiangconfig EROFS_FS_XATTR 3347e4937aSGao Xiang bool "EROFS extended attributes" 3447e4937aSGao Xiang depends on EROFS_FS 3547e4937aSGao Xiang default y 3647e4937aSGao Xiang help 3747e4937aSGao Xiang Extended attributes are name:value pairs associated with inodes by 3847e4937aSGao Xiang the kernel or by users (see the attr(5) manual page, or visit 3947e4937aSGao Xiang <http://acl.bestbits.at/> for details). 4047e4937aSGao Xiang 4147e4937aSGao Xiang If unsure, say N. 4247e4937aSGao Xiang 4347e4937aSGao Xiangconfig EROFS_FS_POSIX_ACL 4447e4937aSGao Xiang bool "EROFS Access Control Lists" 4547e4937aSGao Xiang depends on EROFS_FS_XATTR 4647e4937aSGao Xiang select FS_POSIX_ACL 4747e4937aSGao Xiang default y 4847e4937aSGao Xiang help 4947e4937aSGao Xiang Posix Access Control Lists (ACLs) support permissions for users and 5047e4937aSGao Xiang groups beyond the owner/group/world scheme. 5147e4937aSGao Xiang 5247e4937aSGao Xiang To learn more about Access Control Lists, visit the POSIX ACLs for 5347e4937aSGao Xiang Linux website <http://acl.bestbits.at/>. 5447e4937aSGao Xiang 5547e4937aSGao Xiang If you don't know what Access Control Lists are, say N. 5647e4937aSGao Xiang 5747e4937aSGao Xiangconfig EROFS_FS_SECURITY 5847e4937aSGao Xiang bool "EROFS Security Labels" 5947e4937aSGao Xiang depends on EROFS_FS_XATTR 6047e4937aSGao Xiang default y 6147e4937aSGao Xiang help 6247e4937aSGao Xiang Security labels provide an access control facility to support Linux 6347e4937aSGao Xiang Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO 6447e4937aSGao Xiang Linux. This option enables an extended attribute handler for file 6547e4937aSGao Xiang security labels in the erofs filesystem, so that it requires enabling 6647e4937aSGao Xiang the extended attribute support in advance. 6747e4937aSGao Xiang 6847e4937aSGao Xiang If you are not using a security module, say N. 6947e4937aSGao Xiang 7047e4937aSGao Xiangconfig EROFS_FS_ZIP 7147e4937aSGao Xiang bool "EROFS Data Compression Support" 7247e4937aSGao Xiang depends on EROFS_FS 7347e4937aSGao Xiang select LZ4_DECOMPRESS 7447e4937aSGao Xiang default y 7547e4937aSGao Xiang help 7647e4937aSGao Xiang Enable fixed-sized output compression for EROFS. 7747e4937aSGao Xiang 7847e4937aSGao Xiang If you don't want to enable compression feature, say N. 79