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"
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"
70 Extended attributes are name:value pairs associated with inodes by
71 the kernel or by users (see the attr(5) manual page for details).
75 config JFFS2_FS_POSIX_ACL
76 bool "JFFS2 POSIX Access Control Lists"
77 depends on JFFS2_FS_XATTR
81 Posix Access Control Lists (ACLs) support permissions for users and
82 groups beyond the owner/group/world scheme.
84 If you don't know what Access Control Lists are, say N
86 config JFFS2_FS_SECURITY
87 bool "JFFS2 Security Labels"
88 depends on JFFS2_FS_XATTR
91 Security labels support alternative access control models
92 implemented by security modules like SELinux. This option
93 enables an extended attribute handler for file security
94 labels in the jffs2 filesystem.
96 If you are not using a security module that requires using
97 extended attributes for file security labels, say N.
99 config JFFS2_COMPRESSION_OPTIONS
100 bool "Advanced compression options for JFFS2"
104 Enabling this option allows you to explicitly choose which
105 compression modules, if any, are enabled in JFFS2. Removing
106 compressors can mean you cannot read existing file systems,
107 and enabling experimental compressors can mean that you
108 write a file system which cannot be read by a standard kernel.
110 If unsure, you should _definitely_ say 'N'.
113 bool "JFFS2 ZLIB compression support" if JFFS2_COMPRESSION_OPTIONS
119 Zlib is designed to be a free, general-purpose, legally unencumbered,
120 lossless data-compression library for use on virtually any computer
121 hardware and operating system. See <http://www.gzip.org/zlib/> for
127 bool "JFFS2 LZO compression support" if JFFS2_COMPRESSION_OPTIONS
129 select LZO_DECOMPRESS
133 minilzo-based compression. Generally works better than Zlib.
135 This feature was added in July, 2007. Say 'N' if you need
136 compatibility with older bootloaders or kernels.
139 bool "JFFS2 RTIME compression support" if JFFS2_COMPRESSION_OPTIONS
143 Rtime does manage to recompress already-compressed data. Say 'Y' if unsure.
146 bool "JFFS2 RUBIN compression support" if JFFS2_COMPRESSION_OPTIONS
150 RUBINMIPS and DYNRUBIN compressors. Say 'N' if unsure.
153 prompt "JFFS2 default compression mode" if JFFS2_COMPRESSION_OPTIONS
154 default JFFS2_CMODE_PRIORITY
157 You can set here the default compression mode of JFFS2 from
158 the available compression modes. Don't touch if unsure.
160 config JFFS2_CMODE_NONE
161 bool "no compression"
165 config JFFS2_CMODE_PRIORITY
168 Tries the compressors in a predefined order and chooses the first
171 config JFFS2_CMODE_SIZE
174 Tries all compressors and chooses the one which has the smallest
177 config JFFS2_CMODE_FAVOURLZO
180 Tries all compressors and chooses the one which has the smallest
181 result but gives some preference to LZO (which has faster
182 decompression) at the expense of size.