Artem Bityutskiy | 0d7eff8 | 2008-07-14 19:08:38 +0300 | [diff] [blame] | 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 |
| 10 | depends on MTD_UBI |
| 11 | help |
| 12 | UBIFS is a file system for flash devices which works on top of UBI. |
| 13 | |
| 14 | config UBIFS_FS_XATTR |
| 15 | bool "Extended attributes support" |
| 16 | depends on UBIFS_FS |
| 17 | help |
| 18 | This option enables support of extended attributes. |
| 19 | |
| 20 | config UBIFS_FS_ADVANCED_COMPR |
| 21 | bool "Advanced compression options" |
| 22 | depends on UBIFS_FS |
| 23 | help |
| 24 | This option allows to explicitly choose which compressions, if any, |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 25 | are enabled in UBIFS. Removing compressors means inability to read |
Artem Bityutskiy | 0d7eff8 | 2008-07-14 19:08:38 +0300 | [diff] [blame] | 26 | existing file systems. |
| 27 | |
| 28 | If unsure, say 'N'. |
| 29 | |
| 30 | config UBIFS_FS_LZO |
| 31 | bool "LZO compression support" if UBIFS_FS_ADVANCED_COMPR |
| 32 | depends on UBIFS_FS |
| 33 | default y |
| 34 | help |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 35 | LZO compressor is generally faster than zlib but compresses worse. |
Artem Bityutskiy | 0d7eff8 | 2008-07-14 19:08:38 +0300 | [diff] [blame] | 36 | Say 'Y' if unsure. |
| 37 | |
| 38 | config UBIFS_FS_ZLIB |
| 39 | bool "ZLIB compression support" if UBIFS_FS_ADVANCED_COMPR |
| 40 | depends on UBIFS_FS |
| 41 | default y |
| 42 | help |
Frederik Schwarzer | 025dfda | 2008-10-16 19:02:37 +0200 | [diff] [blame] | 43 | Zlib compresses better than LZO but it is slower. Say 'Y' if unsure. |
Artem Bityutskiy | 0d7eff8 | 2008-07-14 19:08:38 +0300 | [diff] [blame] | 44 | |
| 45 | # Debugging-related stuff |
| 46 | config UBIFS_FS_DEBUG |
Artem Bityutskiy | cce3f61 | 2011-03-09 13:36:23 +0200 | [diff] [blame] | 47 | bool "Enable debugging support" |
Artem Bityutskiy | 0d7eff8 | 2008-07-14 19:08:38 +0300 | [diff] [blame] | 48 | depends on UBIFS_FS |
| 49 | select DEBUG_FS |
Artem Bityutskiy | 81354de | 2011-03-30 11:18:54 +0300 | [diff] [blame] | 50 | select KALLSYMS |
Artem Bityutskiy | 0d7eff8 | 2008-07-14 19:08:38 +0300 | [diff] [blame] | 51 | help |
Artem Bityutskiy | cce3f61 | 2011-03-09 13:36:23 +0200 | [diff] [blame] | 52 | This option enables UBIFS debugging support. It makes sure various |
| 53 | assertions, self-checks, debugging messages and test modes are compiled |
| 54 | in (this all is compiled out otherwise). Assertions are light-weight |
| 55 | and this option also enables them. Self-checks, debugging messages and |
| 56 | test modes are switched off by default. Thus, it is safe and actually |
| 57 | recommended to have debugging support enabled, and it should not slow |
| 58 | down UBIFS. You can then further enable / disable individual debugging |
| 59 | features using UBIFS module parameters and the corresponding sysfs |
| 60 | interfaces. |