~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/fs/jffs2/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /fs/jffs2/Kconfig (Version linux-6.12-rc7) and /fs/jffs2/Kconfig (Version linux-5.1.21)


  1 # SPDX-License-Identifier: GPL-2.0-only        << 
  2 config JFFS2_FS                                     1 config JFFS2_FS
  3         tristate "Journalling Flash File Syste      2         tristate "Journalling Flash File System v2 (JFFS2) support"
  4         select CRC32                                3         select CRC32
  5         depends on MTD                              4         depends on MTD
  6         help                                        5         help
  7           JFFS2 is the second generation of th      6           JFFS2 is the second generation of the Journalling Flash File System
  8           for use on diskless embedded devices      7           for use on diskless embedded devices. It provides improved wear
  9           levelling, compression and support f      8           levelling, compression and support for hard links. You cannot use
 10           this on normal block devices, only o      9           this on normal block devices, only on 'MTD' devices.
 11                                                    10 
 12           Further information on the design an     11           Further information on the design and implementation of JFFS2 is
 13           available at <http://sources.redhat.     12           available at <http://sources.redhat.com/jffs2/>.
 14                                                    13 
 15 config JFFS2_FS_DEBUG                              14 config JFFS2_FS_DEBUG
 16         int "JFFS2 debugging verbosity (0 = qu     15         int "JFFS2 debugging verbosity (0 = quiet, 2 = noisy)"
 17         depends on JFFS2_FS                        16         depends on JFFS2_FS
 18         default "0"                                17         default "0"
 19         help                                       18         help
 20           This controls the amount of debuggin     19           This controls the amount of debugging messages produced by the JFFS2
 21           code. Set it to zero for use in prod     20           code. Set it to zero for use in production systems. For evaluation,
 22           testing and debugging, it's advisabl     21           testing and debugging, it's advisable to set it to one. This will
 23           enable a few assertions and will pri     22           enable a few assertions and will print debugging messages at the
 24           KERN_DEBUG loglevel, where they won'     23           KERN_DEBUG loglevel, where they won't normally be visible. Level 2
 25           is unlikely to be useful - it enable     24           is unlikely to be useful - it enables extra debugging in certain
 26           areas which at one point needed debu     25           areas which at one point needed debugging, but when the bugs were
 27           located and fixed, the detailed mess     26           located and fixed, the detailed messages were relegated to level 2.
 28                                                    27 
 29           If reporting bugs, please try to hav     28           If reporting bugs, please try to have available a full dump of the
 30           messages at debug level 1 while the      29           messages at debug level 1 while the misbehaviour was occurring.
 31                                                    30 
 32 config JFFS2_FS_WRITEBUFFER                        31 config JFFS2_FS_WRITEBUFFER
 33         bool "JFFS2 write-buffering support"       32         bool "JFFS2 write-buffering support"
 34         depends on JFFS2_FS                        33         depends on JFFS2_FS
 35         default y                                  34         default y
 36         help                                       35         help
 37           This enables the write-buffering sup     36           This enables the write-buffering support in JFFS2.
 38                                                    37 
 39           This functionality is required to su     38           This functionality is required to support JFFS2 on the following
 40           types of flash devices:                  39           types of flash devices:
 41             - NAND flash                           40             - NAND flash
 42             - NOR flash with transparent ECC       41             - NOR flash with transparent ECC
 43             - DataFlash                            42             - DataFlash
 44                                                    43 
 45 config JFFS2_FS_WBUF_VERIFY                        44 config JFFS2_FS_WBUF_VERIFY
 46         bool "Verify JFFS2 write-buffer reads"     45         bool "Verify JFFS2 write-buffer reads"
 47         depends on JFFS2_FS_WRITEBUFFER            46         depends on JFFS2_FS_WRITEBUFFER
 48         default n                                  47         default n
 49         help                                       48         help
 50           This causes JFFS2 to read back every     49           This causes JFFS2 to read back every page written through the
 51           write-buffer, and check for errors.      50           write-buffer, and check for errors.
 52                                                    51 
 53 config JFFS2_SUMMARY                               52 config JFFS2_SUMMARY
 54         bool "JFFS2 summary support"               53         bool "JFFS2 summary support"
 55         depends on JFFS2_FS                        54         depends on JFFS2_FS
 56         default n                                  55         default n
 57         help                                       56         help
 58           This feature makes it possible to us     57           This feature makes it possible to use summary information
 59           for faster filesystem mount.             58           for faster filesystem mount.
 60                                                    59 
 61           The summary information can be inser     60           The summary information can be inserted into a filesystem image
 62           by the utility 'sumtool'.                61           by the utility 'sumtool'.
 63                                                    62 
 64           If unsure, say 'N'.                      63           If unsure, say 'N'.
 65                                                    64 
 66 config JFFS2_FS_XATTR                              65 config JFFS2_FS_XATTR
 67         bool "JFFS2 XATTR support"                 66         bool "JFFS2 XATTR support"
 68         depends on JFFS2_FS                        67         depends on JFFS2_FS
 69         default n                                  68         default n
 70         help                                       69         help
 71           Extended attributes are name:value p     70           Extended attributes are name:value pairs associated with inodes by
 72           the kernel or by users (see the attr     71           the kernel or by users (see the attr(5) manual page for details).
 73                                                    72 
 74           If unsure, say N.                        73           If unsure, say N.
 75                                                    74 
 76 config JFFS2_FS_POSIX_ACL                          75 config JFFS2_FS_POSIX_ACL
 77         bool "JFFS2 POSIX Access Control Lists     76         bool "JFFS2 POSIX Access Control Lists"
 78         depends on JFFS2_FS_XATTR                  77         depends on JFFS2_FS_XATTR
 79         default y                                  78         default y
 80         select FS_POSIX_ACL                        79         select FS_POSIX_ACL
 81         help                                       80         help
 82           Posix Access Control Lists (ACLs) su     81           Posix Access Control Lists (ACLs) support permissions for users and
 83           groups beyond the owner/group/world      82           groups beyond the owner/group/world scheme.
 84                                                    83 
 85           If you don't know what Access Contro     84           If you don't know what Access Control Lists are, say N
 86                                                    85 
 87 config JFFS2_FS_SECURITY                           86 config JFFS2_FS_SECURITY
 88         bool "JFFS2 Security Labels"               87         bool "JFFS2 Security Labels"
 89         depends on JFFS2_FS_XATTR                  88         depends on JFFS2_FS_XATTR
 90         default y                                  89         default y
 91         help                                       90         help
 92           Security labels support alternative      91           Security labels support alternative access control models
 93           implemented by security modules like     92           implemented by security modules like SELinux.  This option
 94           enables an extended attribute handle     93           enables an extended attribute handler for file security
 95           labels in the jffs2 filesystem.          94           labels in the jffs2 filesystem.
 96                                                    95 
 97           If you are not using a security modu     96           If you are not using a security module that requires using
 98           extended attributes for file securit     97           extended attributes for file security labels, say N.
 99                                                    98 
100 config JFFS2_COMPRESSION_OPTIONS                   99 config JFFS2_COMPRESSION_OPTIONS
101         bool "Advanced compression options for    100         bool "Advanced compression options for JFFS2"
102         depends on JFFS2_FS                       101         depends on JFFS2_FS
103         default n                                 102         default n
104         help                                      103         help
105           Enabling this option allows you to e    104           Enabling this option allows you to explicitly choose which
106           compression modules, if any, are ena    105           compression modules, if any, are enabled in JFFS2. Removing
107           compressors can mean you cannot read    106           compressors can mean you cannot read existing file systems,
108           and enabling experimental compressor    107           and enabling experimental compressors can mean that you
109           write a file system which cannot be     108           write a file system which cannot be read by a standard kernel.
110                                                   109 
111           If unsure, you should _definitely_ s    110           If unsure, you should _definitely_ say 'N'.
112                                                   111 
113 config JFFS2_ZLIB                                 112 config JFFS2_ZLIB
114         bool "JFFS2 ZLIB compression support"     113         bool "JFFS2 ZLIB compression support" if JFFS2_COMPRESSION_OPTIONS
115         select ZLIB_INFLATE                       114         select ZLIB_INFLATE
116         select ZLIB_DEFLATE                       115         select ZLIB_DEFLATE
117         depends on JFFS2_FS                       116         depends on JFFS2_FS
118         default y                                 117         default y
119         help                                      118         help
120           Zlib is designed to be a free, gener    119           Zlib is designed to be a free, general-purpose, legally unencumbered,
121           lossless data-compression library fo    120           lossless data-compression library for use on virtually any computer
122           hardware and operating system. See <    121           hardware and operating system. See <http://www.gzip.org/zlib/> for
123           further information.                    122           further information.
124                                                   123 
125           Say 'Y' if unsure.                      124           Say 'Y' if unsure.
126                                                   125 
127 config JFFS2_LZO                                  126 config JFFS2_LZO
128         bool "JFFS2 LZO compression support" i    127         bool "JFFS2 LZO compression support" if JFFS2_COMPRESSION_OPTIONS
129         select LZO_COMPRESS                       128         select LZO_COMPRESS
130         select LZO_DECOMPRESS                     129         select LZO_DECOMPRESS
131         depends on JFFS2_FS                       130         depends on JFFS2_FS
132         default n                                 131         default n
133         help                                      132         help
134           minilzo-based compression. Generally    133           minilzo-based compression. Generally works better than Zlib.
135                                                   134 
136           This feature was added in July, 2007    135           This feature was added in July, 2007. Say 'N' if you need
137           compatibility with older bootloaders    136           compatibility with older bootloaders or kernels.
138                                                   137 
139 config JFFS2_RTIME                                138 config JFFS2_RTIME
140         bool "JFFS2 RTIME compression support"    139         bool "JFFS2 RTIME compression support" if JFFS2_COMPRESSION_OPTIONS
141         depends on JFFS2_FS                       140         depends on JFFS2_FS
142         default y                                 141         default y
143         help                                      142         help
144           Rtime does manage to recompress alre    143           Rtime does manage to recompress already-compressed data. Say 'Y' if unsure.
145                                                   144 
146 config JFFS2_RUBIN                                145 config JFFS2_RUBIN
147         bool "JFFS2 RUBIN compression support"    146         bool "JFFS2 RUBIN compression support" if JFFS2_COMPRESSION_OPTIONS
148         depends on JFFS2_FS                       147         depends on JFFS2_FS
149         default n                                 148         default n
150         help                                      149         help
151           RUBINMIPS and DYNRUBIN compressors.     150           RUBINMIPS and DYNRUBIN compressors. Say 'N' if unsure.
152                                                   151 
153 choice                                            152 choice
154         prompt "JFFS2 default compression mode !! 153         prompt "JFFS2 default compression mode" if JFFS2_COMPRESSION_OPTIONS
155         default JFFS2_CMODE_PRIORITY              154         default JFFS2_CMODE_PRIORITY
156         depends on JFFS2_COMPRESSION_OPTIONS   << 
157         depends on JFFS2_FS                       155         depends on JFFS2_FS
158         help                                      156         help
159           You can set here the default compres    157           You can set here the default compression mode of JFFS2 from
160           the available compression modes. Don    158           the available compression modes. Don't touch if unsure.
161                                                   159 
162 config JFFS2_CMODE_NONE                           160 config JFFS2_CMODE_NONE
163         bool "no compression"                     161         bool "no compression"
164         help                                      162         help
165           Uses no compression.                    163           Uses no compression.
166                                                   164 
167 config JFFS2_CMODE_PRIORITY                       165 config JFFS2_CMODE_PRIORITY
168         bool "priority"                           166         bool "priority"
169         help                                      167         help
170           Tries the compressors in a predefine    168           Tries the compressors in a predefined order and chooses the first
171           successful one.                         169           successful one.
172                                                   170 
173 config JFFS2_CMODE_SIZE                           171 config JFFS2_CMODE_SIZE
174         bool "size"                               172         bool "size"
175         help                                      173         help
176           Tries all compressors and chooses th    174           Tries all compressors and chooses the one which has the smallest
177           result.                                 175           result.
178                                                   176 
179 config JFFS2_CMODE_FAVOURLZO                      177 config JFFS2_CMODE_FAVOURLZO
180         bool "Favour LZO"                         178         bool "Favour LZO"
181         help                                      179         help
182           Tries all compressors and chooses th    180           Tries all compressors and chooses the one which has the smallest
183           result but gives some preference to     181           result but gives some preference to LZO (which has faster
184           decompression) at the expense of siz    182           decompression) at the expense of size.
185                                                   183 
186 endchoice                                         184 endchoice
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php