]>
Commit | Line | Data |
---|---|---|
0d7eff87 AB |
1 | config UBIFS_FS |
2 | tristate "UBIFS file system support" | |
3 | select CRC16 | |
4 | select CRC32 | |
5 | select CRYPTO if UBIFS_FS_ADVANCED_COMPR | |
6 | select CRYPTO if UBIFS_FS_LZO | |
7 | select CRYPTO if UBIFS_FS_ZLIB | |
8 | select CRYPTO_LZO if UBIFS_FS_LZO | |
9 | select CRYPTO_DEFLATE if UBIFS_FS_ZLIB | |
49525e5e | 10 | select CRYPTO_HASH_INFO |
643fa961 | 11 | select UBIFS_FS_XATTR if FS_ENCRYPTION |
0d7eff87 AB |
12 | depends on MTD_UBI |
13 | help | |
14 | UBIFS is a file system for flash devices which works on top of UBI. | |
15 | ||
aa3d31e0 GU |
16 | if UBIFS_FS |
17 | ||
0d7eff87 AB |
18 | config UBIFS_FS_ADVANCED_COMPR |
19 | bool "Advanced compression options" | |
0d7eff87 AB |
20 | help |
21 | This option allows to explicitly choose which compressions, if any, | |
692105b8 | 22 | are enabled in UBIFS. Removing compressors means inability to read |
0d7eff87 AB |
23 | existing file systems. |
24 | ||
25 | If unsure, say 'N'. | |
26 | ||
27 | config UBIFS_FS_LZO | |
28 | bool "LZO compression support" if UBIFS_FS_ADVANCED_COMPR | |
0d7eff87 AB |
29 | default y |
30 | help | |
692105b8 | 31 | LZO compressor is generally faster than zlib but compresses worse. |
0d7eff87 AB |
32 | Say 'Y' if unsure. |
33 | ||
34 | config UBIFS_FS_ZLIB | |
35 | bool "ZLIB compression support" if UBIFS_FS_ADVANCED_COMPR | |
0d7eff87 AB |
36 | default y |
37 | help | |
025dfdaf | 38 | Zlib compresses better than LZO but it is slower. Say 'Y' if unsure. |
8c1c5f26 DY |
39 | |
40 | config UBIFS_ATIME_SUPPORT | |
aa3d31e0 | 41 | bool "Access time support" |
8c1c5f26 DY |
42 | default n |
43 | help | |
44 | Originally UBIFS did not support atime, because it looked like a bad idea due | |
45 | increased flash wear. This option adds atime support and it is disabled by default | |
46 | to preserve the old behavior. If you enable this option, UBIFS starts updating atime, | |
47 | which means that file-system read operations will cause writes (inode atime | |
48 | updates). This may affect file-system performance and increase flash device wear, | |
49 | so be careful. How often atime is updated depends on the selected strategy: | |
50 | strictatime is the "heavy", relatime is "lighter", etc. | |
51 | ||
52 | If unsure, say 'N' | |
d475a507 | 53 | |
7e5471ce SA |
54 | config UBIFS_FS_XATTR |
55 | bool "UBIFS XATTR support" | |
7e5471ce SA |
56 | default y |
57 | help | |
58 | Saying Y here includes support for extended attributes (xattrs). | |
59 | Xattrs are name:value pairs associated with inodes by | |
60 | the kernel or by users (see the attr(5) manual page). | |
61 | ||
62 | If unsure, say Y. | |
63 | ||
8326c1ee HL |
64 | config UBIFS_FS_SECURITY |
65 | bool "UBIFS Security Labels" | |
aa3d31e0 | 66 | depends on UBIFS_FS_XATTR |
8326c1ee HL |
67 | default y |
68 | help | |
69 | Security labels provide an access control facility to support Linux | |
70 | Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO | |
71 | Linux. This option enables an extended attribute handler for file | |
72 | security labels in the ubifs filesystem, so that it requires enabling | |
73 | the extended attribute support in advance. | |
74 | ||
75 | If you are not using a security module, say N. | |
d8a22773 SH |
76 | |
77 | config UBIFS_FS_AUTHENTICATION | |
78 | bool "UBIFS authentication support" | |
60eb5da2 | 79 | depends on KEYS |
d8a22773 SH |
80 | select CRYPTO_HMAC |
81 | help | |
82 | Enable authentication support for UBIFS. This feature offers protection | |
83 | against offline changes for both data and metadata of the filesystem. | |
84 | If you say yes here you should also select a hashing algorithm such as | |
85 | sha256, these are not selected automatically since there are many | |
86 | different options. | |
aa3d31e0 GU |
87 | |
88 | endif # UBIFS_FS |