1 # SPDX-License-Identifier: GPL-2.0-only
4 tristate "EROFS filesystem support"
7 EROFS (Enhanced Read-Only File System) is a lightweight
8 read-only file system with modern designs (eg. page-sized
9 blocks, inline xattrs/data, etc.) for scenarios which need
10 high-performance read-only requirements, e.g. Android OS
11 for mobile phones and LIVECDs.
13 It also provides fixed-sized output compression support,
14 which improves storage density, keeps relatively higher
15 compression ratios, which is more useful to achieve high
16 performance for embedded devices with limited memory.
21 bool "EROFS debugging feature"
24 Print debugging messages and enable more BUG_ONs which check
25 filesystem consistency and find potential issues aggressively,
26 which can be used for Android eng build, for example.
31 bool "EROFS extended attributes"
35 Extended attributes are name:value pairs associated with inodes by
36 the kernel or by users (see the attr(5) manual page, or visit
37 <http://acl.bestbits.at/> for details).
41 config EROFS_FS_POSIX_ACL
42 bool "EROFS Access Control Lists"
43 depends on EROFS_FS_XATTR
47 Posix Access Control Lists (ACLs) support permissions for users and
48 groups beyond the owner/group/world scheme.
50 To learn more about Access Control Lists, visit the POSIX ACLs for
51 Linux website <http://acl.bestbits.at/>.
53 If you don't know what Access Control Lists are, say N.
55 config EROFS_FS_SECURITY
56 bool "EROFS Security Labels"
57 depends on EROFS_FS_XATTR
60 Security labels provide an access control facility to support Linux
61 Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO
62 Linux. This option enables an extended attribute handler for file
63 security labels in the erofs filesystem, so that it requires enabling
64 the extended attribute support in advance.
66 If you are not using a security module, say N.
69 bool "EROFS Data Compression Support"
74 Enable fixed-sized output compression for EROFS.
76 If you don't want to enable compression feature, say N.
78 config EROFS_FS_CLUSTER_PAGE_LIMIT
79 int "EROFS Cluster Pages Hard Limit"
80 depends on EROFS_FS_ZIP
84 Indicates maximum # of pages of a compressed
87 For example, if files in a image were compressed
88 into 8k-unit, hard limit should not be configured
89 less than 2. Otherwise, the image will be refused
90 to mount on this kernel.