2 tristate "Journalling Flash File System v2 (JFFS2) support"
6 JFFS2 is the second generation of the Journalling Flash File System
7 for use on diskless embedded devices. It provides improved wear
8 levelling, compression and support for hard links. You cannot use
9 this on normal block devices, only on 'MTD' devices.
11 Further information on the design and implementation of JFFS2 is
12 available at <http://sources.redhat.com/jffs2/>.
15 int "JFFS2 debugging verbosity (0 = quiet, 2 = noisy)"
19 This controls the amount of debugging messages produced by the JFFS2
20 code. Set it to zero for use in production systems. For evaluation,
21 testing and debugging, it's advisable to set it to one. This will
22 enable a few assertions and will print debugging messages at the
23 KERN_DEBUG loglevel, where they won't normally be visible. Level 2
24 is unlikely to be useful - it enables extra debugging in certain
25 areas which at one point needed debugging, but when the bugs were
26 located and fixed, the detailed messages were relegated to level 2.
28 If reporting bugs, please try to have available a full dump of the
29 messages at debug level 1 while the misbehaviour was occurring.
31 config JFFS2_FS_WRITEBUFFER
32 bool "JFFS2 write-buffering support"
36 This enables the write-buffering support in JFFS2.
38 This functionality is required to support JFFS2 on the following
39 types of flash devices:
41 - NOR flash with transparent ECC
44 config JFFS2_FS_WBUF_VERIFY
45 bool "Verify JFFS2 write-buffer reads"
46 depends on JFFS2_FS_WRITEBUFFER
49 This causes JFFS2 to read back every page written through the
50 write-buffer, and check for errors.
53 bool "JFFS2 summary support (EXPERIMENTAL)"
54 depends on JFFS2_FS && EXPERIMENTAL
57 This feature makes it possible to use summary information
58 for faster filesystem mount.
60 The summary information can be inserted into a filesystem image
61 by the utility 'sumtool'.
66 bool "JFFS2 XATTR support (EXPERIMENTAL)"
67 depends on JFFS2_FS && EXPERIMENTAL
70 Extended attributes are name:value pairs associated with inodes by
71 the kernel or by users (see the attr(5) manual page, or visit
72 <http://acl.bestbits.at/> for details).
76 config JFFS2_FS_POSIX_ACL
77 bool "JFFS2 POSIX Access Control Lists"
78 depends on JFFS2_FS_XATTR
82 Posix Access Control Lists (ACLs) support permissions for users and
83 groups beyond the owner/group/world scheme.
85 To learn more about Access Control Lists, visit the Posix ACLs for
86 Linux website <http://acl.bestbits.at/>.
88 If you don't know what Access Control Lists are, say N
90 config JFFS2_FS_SECURITY
91 bool "JFFS2 Security Labels"
92 depends on JFFS2_FS_XATTR
95 Security labels support alternative access control models
96 implemented by security modules like SELinux. This option
97 enables an extended attribute handler for file security
98 labels in the jffs2 filesystem.
100 If you are not using a security module that requires using
101 extended attributes for file security labels, say N.
103 config JFFS2_COMPRESSION_OPTIONS
104 bool "Advanced compression options for JFFS2"
108 Enabling this option allows you to explicitly choose which
109 compression modules, if any, are enabled in JFFS2. Removing
110 compressors can mean you cannot read existing file systems,
111 and enabling experimental compressors can mean that you
112 write a file system which cannot be read by a standard kernel.
114 If unsure, you should _definitely_ say 'N'.
117 bool "JFFS2 ZLIB compression support" if JFFS2_COMPRESSION_OPTIONS
123 Zlib is designed to be a free, general-purpose, legally unencumbered,
124 lossless data-compression library for use on virtually any computer
125 hardware and operating system. See <http://www.gzip.org/zlib/> for
131 bool "JFFS2 LZO compression support" if JFFS2_COMPRESSION_OPTIONS
133 select LZO_DECOMPRESS
137 minilzo-based compression. Generally works better than Zlib.
139 This feature was added in July, 2007. Say 'N' if you need
140 compatibility with older bootloaders or kernels.
143 bool "JFFS2 RTIME compression support" if JFFS2_COMPRESSION_OPTIONS
147 Rtime does manage to recompress already-compressed data. Say 'Y' if unsure.
150 bool "JFFS2 RUBIN compression support" if JFFS2_COMPRESSION_OPTIONS
154 RUBINMIPS and DYNRUBIN compressors. Say 'N' if unsure.
157 prompt "JFFS2 default compression mode" if JFFS2_COMPRESSION_OPTIONS
158 default JFFS2_CMODE_PRIORITY
161 You can set here the default compression mode of JFFS2 from
162 the available compression modes. Don't touch if unsure.
164 config JFFS2_CMODE_NONE
165 bool "no compression"
169 config JFFS2_CMODE_PRIORITY
172 Tries the compressors in a predefined order and chooses the first
175 config JFFS2_CMODE_SIZE
176 bool "size (EXPERIMENTAL)"
178 Tries all compressors and chooses the one which has the smallest
181 config JFFS2_CMODE_FAVOURLZO
184 Tries all compressors and chooses the one which has the smallest
185 result but gives some preference to LZO (which has faster
186 decompression) at the expense of size.