diff options
Diffstat (limited to 'fs/Kconfig')
-rw-r--r-- | fs/Kconfig | 190 |
1 files changed, 1 insertions, 189 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index d3873583360b..5831f9c38841 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -1136,195 +1136,7 @@ config EFS_FS | |||
1136 | To compile the EFS file system support as a module, choose M here: the | 1136 | To compile the EFS file system support as a module, choose M here: the |
1137 | module will be called efs. | 1137 | module will be called efs. |
1138 | 1138 | ||
1139 | config JFFS2_FS | 1139 | source "fs/jffs2/Kconfig" |
1140 | tristate "Journalling Flash File System v2 (JFFS2) support" | ||
1141 | select CRC32 | ||
1142 | depends on MTD | ||
1143 | help | ||
1144 | JFFS2 is the second generation of the Journalling Flash File System | ||
1145 | for use on diskless embedded devices. It provides improved wear | ||
1146 | levelling, compression and support for hard links. You cannot use | ||
1147 | this on normal block devices, only on 'MTD' devices. | ||
1148 | |||
1149 | Further information on the design and implementation of JFFS2 is | ||
1150 | available at <http://sources.redhat.com/jffs2/>. | ||
1151 | |||
1152 | config JFFS2_FS_DEBUG | ||
1153 | int "JFFS2 debugging verbosity (0 = quiet, 2 = noisy)" | ||
1154 | depends on JFFS2_FS | ||
1155 | default "0" | ||
1156 | help | ||
1157 | This controls the amount of debugging messages produced by the JFFS2 | ||
1158 | code. Set it to zero for use in production systems. For evaluation, | ||
1159 | testing and debugging, it's advisable to set it to one. This will | ||
1160 | enable a few assertions and will print debugging messages at the | ||
1161 | KERN_DEBUG loglevel, where they won't normally be visible. Level 2 | ||
1162 | is unlikely to be useful - it enables extra debugging in certain | ||
1163 | areas which at one point needed debugging, but when the bugs were | ||
1164 | located and fixed, the detailed messages were relegated to level 2. | ||
1165 | |||
1166 | If reporting bugs, please try to have available a full dump of the | ||
1167 | messages at debug level 1 while the misbehaviour was occurring. | ||
1168 | |||
1169 | config JFFS2_FS_WRITEBUFFER | ||
1170 | bool "JFFS2 write-buffering support" | ||
1171 | depends on JFFS2_FS | ||
1172 | default y | ||
1173 | help | ||
1174 | This enables the write-buffering support in JFFS2. | ||
1175 | |||
1176 | This functionality is required to support JFFS2 on the following | ||
1177 | types of flash devices: | ||
1178 | - NAND flash | ||
1179 | - NOR flash with transparent ECC | ||
1180 | - DataFlash | ||
1181 | |||
1182 | config JFFS2_FS_WBUF_VERIFY | ||
1183 | bool "Verify JFFS2 write-buffer reads" | ||
1184 | depends on JFFS2_FS_WRITEBUFFER | ||
1185 | default n | ||
1186 | help | ||
1187 | This causes JFFS2 to read back every page written through the | ||
1188 | write-buffer, and check for errors. | ||
1189 | |||
1190 | config JFFS2_SUMMARY | ||
1191 | bool "JFFS2 summary support (EXPERIMENTAL)" | ||
1192 | depends on JFFS2_FS && EXPERIMENTAL | ||
1193 | default n | ||
1194 | help | ||
1195 | This feature makes it possible to use summary information | ||
1196 | for faster filesystem mount. | ||
1197 | |||
1198 | The summary information can be inserted into a filesystem image | ||
1199 | by the utility 'sumtool'. | ||
1200 | |||
1201 | If unsure, say 'N'. | ||
1202 | |||
1203 | config JFFS2_FS_XATTR | ||
1204 | bool "JFFS2 XATTR support (EXPERIMENTAL)" | ||
1205 | depends on JFFS2_FS && EXPERIMENTAL | ||
1206 | default n | ||
1207 | help | ||
1208 | Extended attributes are name:value pairs associated with inodes by | ||
1209 | the kernel or by users (see the attr(5) manual page, or visit | ||
1210 | <http://acl.bestbits.at/> for details). | ||
1211 | |||
1212 | If unsure, say N. | ||
1213 | |||
1214 | config JFFS2_FS_POSIX_ACL | ||
1215 | bool "JFFS2 POSIX Access Control Lists" | ||
1216 | depends on JFFS2_FS_XATTR | ||
1217 | default y | ||
1218 | select FS_POSIX_ACL | ||
1219 | help | ||
1220 | Posix Access Control Lists (ACLs) support permissions for users and | ||
1221 | groups beyond the owner/group/world scheme. | ||
1222 | |||
1223 | To learn more about Access Control Lists, visit the Posix ACLs for | ||
1224 | Linux website <http://acl.bestbits.at/>. | ||
1225 | |||
1226 | If you don't know what Access Control Lists are, say N | ||
1227 | |||
1228 | config JFFS2_FS_SECURITY | ||
1229 | bool "JFFS2 Security Labels" | ||
1230 | depends on JFFS2_FS_XATTR | ||
1231 | default y | ||
1232 | help | ||
1233 | Security labels support alternative access control models | ||
1234 | implemented by security modules like SELinux. This option | ||
1235 | enables an extended attribute handler for file security | ||
1236 | labels in the jffs2 filesystem. | ||
1237 | |||
1238 | If you are not using a security module that requires using | ||
1239 | extended attributes for file security labels, say N. | ||
1240 | |||
1241 | config JFFS2_COMPRESSION_OPTIONS | ||
1242 | bool "Advanced compression options for JFFS2" | ||
1243 | depends on JFFS2_FS | ||
1244 | default n | ||
1245 | help | ||
1246 | Enabling this option allows you to explicitly choose which | ||
1247 | compression modules, if any, are enabled in JFFS2. Removing | ||
1248 | compressors can mean you cannot read existing file systems, | ||
1249 | and enabling experimental compressors can mean that you | ||
1250 | write a file system which cannot be read by a standard kernel. | ||
1251 | |||
1252 | If unsure, you should _definitely_ say 'N'. | ||
1253 | |||
1254 | config JFFS2_ZLIB | ||
1255 | bool "JFFS2 ZLIB compression support" if JFFS2_COMPRESSION_OPTIONS | ||
1256 | select ZLIB_INFLATE | ||
1257 | select ZLIB_DEFLATE | ||
1258 | depends on JFFS2_FS | ||
1259 | default y | ||
1260 | help | ||
1261 | Zlib is designed to be a free, general-purpose, legally unencumbered, | ||
1262 | lossless data-compression library for use on virtually any computer | ||
1263 | hardware and operating system. See <http://www.gzip.org/zlib/> for | ||
1264 | further information. | ||
1265 | |||
1266 | Say 'Y' if unsure. | ||
1267 | |||
1268 | config JFFS2_LZO | ||
1269 | bool "JFFS2 LZO compression support" if JFFS2_COMPRESSION_OPTIONS | ||
1270 | select LZO_COMPRESS | ||
1271 | select LZO_DECOMPRESS | ||
1272 | depends on JFFS2_FS | ||
1273 | default n | ||
1274 | help | ||
1275 | minilzo-based compression. Generally works better than Zlib. | ||
1276 | |||
1277 | This feature was added in July, 2007. Say 'N' if you need | ||
1278 | compatibility with older bootloaders or kernels. | ||
1279 | |||
1280 | config JFFS2_RTIME | ||
1281 | bool "JFFS2 RTIME compression support" if JFFS2_COMPRESSION_OPTIONS | ||
1282 | depends on JFFS2_FS | ||
1283 | default y | ||
1284 | help | ||
1285 | Rtime does manage to recompress already-compressed data. Say 'Y' if unsure. | ||
1286 | |||
1287 | config JFFS2_RUBIN | ||
1288 | bool "JFFS2 RUBIN compression support" if JFFS2_COMPRESSION_OPTIONS | ||
1289 | depends on JFFS2_FS | ||
1290 | default n | ||
1291 | help | ||
1292 | RUBINMIPS and DYNRUBIN compressors. Say 'N' if unsure. | ||
1293 | |||
1294 | choice | ||
1295 | prompt "JFFS2 default compression mode" if JFFS2_COMPRESSION_OPTIONS | ||
1296 | default JFFS2_CMODE_PRIORITY | ||
1297 | depends on JFFS2_FS | ||
1298 | help | ||
1299 | You can set here the default compression mode of JFFS2 from | ||
1300 | the available compression modes. Don't touch if unsure. | ||
1301 | |||
1302 | config JFFS2_CMODE_NONE | ||
1303 | bool "no compression" | ||
1304 | help | ||
1305 | Uses no compression. | ||
1306 | |||
1307 | config JFFS2_CMODE_PRIORITY | ||
1308 | bool "priority" | ||
1309 | help | ||
1310 | Tries the compressors in a predefined order and chooses the first | ||
1311 | successful one. | ||
1312 | |||
1313 | config JFFS2_CMODE_SIZE | ||
1314 | bool "size (EXPERIMENTAL)" | ||
1315 | help | ||
1316 | Tries all compressors and chooses the one which has the smallest | ||
1317 | result. | ||
1318 | |||
1319 | config JFFS2_CMODE_FAVOURLZO | ||
1320 | bool "Favour LZO" | ||
1321 | help | ||
1322 | Tries all compressors and chooses the one which has the smallest | ||
1323 | result but gives some preference to LZO (which has faster | ||
1324 | decompression) at the expense of size. | ||
1325 | |||
1326 | endchoice | ||
1327 | |||
1328 | # UBIFS File system configuration | 1140 | # UBIFS File system configuration |
1329 | source "fs/ubifs/Kconfig" | 1141 | source "fs/ubifs/Kconfig" |
1330 | 1142 | ||