| 1 | # |
|---|
| 2 | # File system configuration |
|---|
| 3 | # |
|---|
| 4 | |
|---|
| 5 | menu "File systems" |
|---|
| 6 | |
|---|
| 7 | if BLOCK |
|---|
| 8 | |
|---|
| 9 | source "fs/ext2/Kconfig" |
|---|
| 10 | source "fs/ext3/Kconfig" |
|---|
| 11 | source "fs/ext4/Kconfig" |
|---|
| 12 | |
|---|
| 13 | config FS_XIP |
|---|
| 14 | # execute in place |
|---|
| 15 | bool |
|---|
| 16 | depends on EXT2_FS_XIP |
|---|
| 17 | default y |
|---|
| 18 | |
|---|
| 19 | source "fs/jbd/Kconfig" |
|---|
| 20 | source "fs/jbd2/Kconfig" |
|---|
| 21 | |
|---|
| 22 | config FS_MBCACHE |
|---|
| 23 | # Meta block cache for Extended Attributes (ext2/ext3/ext4) |
|---|
| 24 | tristate |
|---|
| 25 | default y if EXT2_FS=y && EXT2_FS_XATTR |
|---|
| 26 | default y if EXT3_FS=y && EXT3_FS_XATTR |
|---|
| 27 | default y if EXT4_FS=y && EXT4_FS_XATTR |
|---|
| 28 | default m if EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS_XATTR |
|---|
| 29 | |
|---|
| 30 | source "fs/reiserfs/Kconfig" |
|---|
| 31 | source "fs/jfs/Kconfig" |
|---|
| 32 | |
|---|
| 33 | source "fs/xfs/Kconfig" |
|---|
| 34 | source "fs/gfs2/Kconfig" |
|---|
| 35 | source "fs/ocfs2/Kconfig" |
|---|
| 36 | source "fs/btrfs/Kconfig" |
|---|
| 37 | source "fs/nilfs2/Kconfig" |
|---|
| 38 | |
|---|
| 39 | endif # BLOCK |
|---|
| 40 | |
|---|
| 41 | # Posix ACL utility routines |
|---|
| 42 | # |
|---|
| 43 | # Note: Posix ACLs can be implemented without these helpers. Never use |
|---|
| 44 | # this symbol for ifdefs in core code. |
|---|
| 45 | # |
|---|
| 46 | config FS_POSIX_ACL |
|---|
| 47 | def_bool n |
|---|
| 48 | |
|---|
| 49 | config EXPORTFS |
|---|
| 50 | tristate |
|---|
| 51 | |
|---|
| 52 | config FILE_LOCKING |
|---|
| 53 | bool "Enable POSIX file locking API" if EXPERT |
|---|
| 54 | default y |
|---|
| 55 | help |
|---|
| 56 | This option enables standard file locking support, required |
|---|
| 57 | for filesystems like NFS and for the flock() system |
|---|
| 58 | call. Disabling this option saves about 11k. |
|---|
| 59 | |
|---|
| 60 | source "fs/notify/Kconfig" |
|---|
| 61 | |
|---|
| 62 | source "fs/quota/Kconfig" |
|---|
| 63 | |
|---|
| 64 | source "fs/autofs4/Kconfig" |
|---|
| 65 | source "fs/fuse/Kconfig" |
|---|
| 66 | source "fs/overlayfs/Kconfig" |
|---|
| 67 | |
|---|
| 68 | config CUSE |
|---|
| 69 | tristate "Character device in Userspace support" |
|---|
| 70 | depends on FUSE_FS |
|---|
| 71 | help |
|---|
| 72 | This FUSE extension allows character devices to be |
|---|
| 73 | implemented in userspace. |
|---|
| 74 | |
|---|
| 75 | If you want to develop or use userspace character device |
|---|
| 76 | based on CUSE, answer Y or M. |
|---|
| 77 | |
|---|
| 78 | config GENERIC_ACL |
|---|
| 79 | bool |
|---|
| 80 | select FS_POSIX_ACL |
|---|
| 81 | |
|---|
| 82 | menu "Caches" |
|---|
| 83 | |
|---|
| 84 | source "fs/fscache/Kconfig" |
|---|
| 85 | source "fs/cachefiles/Kconfig" |
|---|
| 86 | |
|---|
| 87 | endmenu |
|---|
| 88 | |
|---|
| 89 | if BLOCK |
|---|
| 90 | menu "CD-ROM/DVD Filesystems" |
|---|
| 91 | |
|---|
| 92 | source "fs/isofs/Kconfig" |
|---|
| 93 | source "fs/udf/Kconfig" |
|---|
| 94 | |
|---|
| 95 | endmenu |
|---|
| 96 | endif # BLOCK |
|---|
| 97 | |
|---|
| 98 | if BLOCK |
|---|
| 99 | menu "DOS/FAT/NT Filesystems" |
|---|
| 100 | |
|---|
| 101 | source "fs/fat/Kconfig" |
|---|
| 102 | source "fs/ntfs/Kconfig" |
|---|
| 103 | |
|---|
| 104 | endmenu |
|---|
| 105 | endif # BLOCK |
|---|
| 106 | |
|---|
| 107 | menu "Pseudo filesystems" |
|---|
| 108 | |
|---|
| 109 | source "fs/proc/Kconfig" |
|---|
| 110 | source "fs/sysfs/Kconfig" |
|---|
| 111 | |
|---|
| 112 | config TMPFS |
|---|
| 113 | bool "Tmpfs virtual memory file system support (former shm fs)" |
|---|
| 114 | depends on SHMEM |
|---|
| 115 | help |
|---|
| 116 | Tmpfs is a file system which keeps all files in virtual memory. |
|---|
| 117 | |
|---|
| 118 | Everything in tmpfs is temporary in the sense that no files will be |
|---|
| 119 | created on your hard drive. The files live in memory and swap |
|---|
| 120 | space. If you unmount a tmpfs instance, everything stored therein is |
|---|
| 121 | lost. |
|---|
| 122 | |
|---|
| 123 | See <file:Documentation/filesystems/tmpfs.txt> for details. |
|---|
| 124 | |
|---|
| 125 | config TMPFS_XATTR |
|---|
| 126 | bool "Tmpfs extended attributes" |
|---|
| 127 | depends on TMPFS |
|---|
| 128 | default n |
|---|
| 129 | help |
|---|
| 130 | Extended attributes are name:value pairs associated with inodes by |
|---|
| 131 | the kernel or by users (see the attr(5) manual page, or visit |
|---|
| 132 | <http://acl.bestbits.at/> for details). |
|---|
| 133 | |
|---|
| 134 | Currently this enables support for the trusted.* and |
|---|
| 135 | security.* namespaces. |
|---|
| 136 | |
|---|
| 137 | You need this for POSIX ACL support on tmpfs. |
|---|
| 138 | |
|---|
| 139 | If unsure, say N. |
|---|
| 140 | |
|---|
| 141 | |
|---|
| 142 | config HUGETLBFS |
|---|
| 143 | bool "HugeTLB file system support" |
|---|
| 144 | depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \ |
|---|
| 145 | SYS_SUPPORTS_HUGETLBFS || BROKEN |
|---|
| 146 | help |
|---|
| 147 | hugetlbfs is a filesystem backing for HugeTLB pages, based on |
|---|
| 148 | ramfs. For architectures that support it, say Y here and read |
|---|
| 149 | <file:Documentation/vm/hugetlbpage.txt> for details. |
|---|
| 150 | |
|---|
| 151 | If unsure, say N. |
|---|
| 152 | |
|---|
| 153 | config HUGETLB_PAGE |
|---|
| 154 | def_bool HUGETLBFS |
|---|
| 155 | |
|---|
| 156 | source "fs/configfs/Kconfig" |
|---|
| 157 | |
|---|
| 158 | endmenu |
|---|
| 159 | |
|---|
| 160 | menuconfig MISC_FILESYSTEMS |
|---|
| 161 | bool "Miscellaneous filesystems" |
|---|
| 162 | default y |
|---|
| 163 | ---help--- |
|---|
| 164 | Say Y here to get to see options for various miscellaneous |
|---|
| 165 | filesystems, such as filesystems that came from other |
|---|
| 166 | operating systems. |
|---|
| 167 | |
|---|
| 168 | This option alone does not add any kernel code. |
|---|
| 169 | |
|---|
| 170 | If you say N, all options in this submenu will be skipped and |
|---|
| 171 | disabled; if unsure, say Y here. |
|---|
| 172 | |
|---|
| 173 | if MISC_FILESYSTEMS |
|---|
| 174 | |
|---|
| 175 | source "fs/adfs/Kconfig" |
|---|
| 176 | source "fs/affs/Kconfig" |
|---|
| 177 | source "fs/ecryptfs/Kconfig" |
|---|
| 178 | source "fs/hfs/Kconfig" |
|---|
| 179 | source "fs/hfsplus/Kconfig" |
|---|
| 180 | source "fs/befs/Kconfig" |
|---|
| 181 | source "fs/bfs/Kconfig" |
|---|
| 182 | source "fs/efs/Kconfig" |
|---|
| 183 | |
|---|
| 184 | # Patched by YAFFS |
|---|
| 185 | source "fs/yaffs2/Kconfig" |
|---|
| 186 | |
|---|
| 187 | source "fs/jffs2/Kconfig" |
|---|
| 188 | # UBIFS File system configuration |
|---|
| 189 | source "fs/ubifs/Kconfig" |
|---|
| 190 | source "fs/logfs/Kconfig" |
|---|
| 191 | source "fs/cramfs/Kconfig" |
|---|
| 192 | |
|---|
| 193 | config SQUASHFS |
|---|
| 194 | tristate "SquashFS 3.0 - Squashed file system support" |
|---|
| 195 | select ZLIB_INFLATE |
|---|
| 196 | help |
|---|
| 197 | Saying Y here includes support for SquashFS 3.0 (a Compressed Read-Only File |
|---|
| 198 | System). Squashfs is a highly compressed read-only filesystem for Linux. |
|---|
| 199 | It uses zlib compression to compress both files, inodes and directories. |
|---|
| 200 | Inodes in the system are very small and all blocks are packed to minimise |
|---|
| 201 | data overhead. Block sizes greater than 4K are supported up to a maximum of 64K. |
|---|
| 202 | SquashFS 3.0 supports 64 bit filesystems and files (larger than 4GB), full |
|---|
| 203 | uid/gid information, hard links and timestamps. |
|---|
| 204 | |
|---|
| 205 | Squashfs is intended for general read-only filesystem use, for archival |
|---|
| 206 | use (i.e. in cases where a .tar.gz file may be used), and in embedded |
|---|
| 207 | systems where low overhead is needed. Further information and filesystem tools |
|---|
| 208 | are available from http://squashfs.sourceforge.net. |
|---|
| 209 | |
|---|
| 210 | If you want to compile this as a module ( = code which can be |
|---|
| 211 | inserted in and removed from the running kernel whenever you want), |
|---|
| 212 | say M here and read <file:Documentation/modules.txt>. The module |
|---|
| 213 | will be called squashfs. Note that the root file system (the one |
|---|
| 214 | containing the directory /) cannot be compiled as a module. |
|---|
| 215 | |
|---|
| 216 | If unsure, say N. |
|---|
| 217 | |
|---|
| 218 | config SQUASHFS_EMBEDDED |
|---|
| 219 | |
|---|
| 220 | bool "Additional options for memory-constrained systems" |
|---|
| 221 | depends on SQUASHFS |
|---|
| 222 | default n |
|---|
| 223 | help |
|---|
| 224 | Saying Y here allows you to specify cache sizes and how Squashfs |
|---|
| 225 | allocates memory. This is only intended for memory constrained |
|---|
| 226 | systems. |
|---|
| 227 | |
|---|
| 228 | If unsure, say N. |
|---|
| 229 | |
|---|
| 230 | config SQUASHFS_FRAGMENT_CACHE_SIZE |
|---|
| 231 | int "Number of fragments cached" if SQUASHFS_EMBEDDED |
|---|
| 232 | depends on SQUASHFS |
|---|
| 233 | default "3" |
|---|
| 234 | help |
|---|
| 235 | By default SquashFS caches the last 3 fragments read from |
|---|
| 236 | the filesystem. Increasing this amount may mean SquashFS |
|---|
| 237 | has to re-read fragments less often from disk, at the expense |
|---|
| 238 | of extra system memory. Decreasing this amount will mean |
|---|
| 239 | SquashFS uses less memory at the expense of extra reads from disk. |
|---|
| 240 | |
|---|
| 241 | Note there must be at least one cached fragment. Anything |
|---|
| 242 | much more than three will probably not make much difference. |
|---|
| 243 | |
|---|
| 244 | config SQUASHFS_VMALLOC |
|---|
| 245 | bool "Use Vmalloc rather than Kmalloc" if SQUASHFS_EMBEDDED |
|---|
| 246 | depends on SQUASHFS |
|---|
| 247 | default n |
|---|
| 248 | help |
|---|
| 249 | By default SquashFS uses kmalloc to obtain fragment cache memory. |
|---|
| 250 | Kmalloc memory is the standard kernel allocator, but it can fail |
|---|
| 251 | on memory constrained systems. Because of the way Vmalloc works, |
|---|
| 252 | Vmalloc can succeed when kmalloc fails. Specifying this option |
|---|
| 253 | will make SquashFS always use Vmalloc to allocate the |
|---|
| 254 | fragment cache memory. |
|---|
| 255 | |
|---|
| 256 | If unsure, say N. |
|---|
| 257 | |
|---|
| 258 | |
|---|
| 259 | #source "fs/squashfs/Kconfig" |
|---|
| 260 | source "fs/freevxfs/Kconfig" |
|---|
| 261 | source "fs/minix/Kconfig" |
|---|
| 262 | source "fs/omfs/Kconfig" |
|---|
| 263 | source "fs/hpfs/Kconfig" |
|---|
| 264 | source "fs/qnx4/Kconfig" |
|---|
| 265 | source "fs/romfs/Kconfig" |
|---|
| 266 | source "fs/pstore/Kconfig" |
|---|
| 267 | source "fs/sysv/Kconfig" |
|---|
| 268 | source "fs/ufs/Kconfig" |
|---|
| 269 | source "fs/exofs/Kconfig" |
|---|
| 270 | |
|---|
| 271 | endif # MISC_FILESYSTEMS |
|---|
| 272 | |
|---|
| 273 | source "fs/exofs/Kconfig.ore" |
|---|
| 274 | |
|---|
| 275 | menuconfig NETWORK_FILESYSTEMS |
|---|
| 276 | bool "Network File Systems" |
|---|
| 277 | default y |
|---|
| 278 | depends on NET |
|---|
| 279 | ---help--- |
|---|
| 280 | Say Y here to get to see options for network filesystems and |
|---|
| 281 | filesystem-related networking code, such as NFS daemon and |
|---|
| 282 | RPCSEC security modules. |
|---|
| 283 | |
|---|
| 284 | This option alone does not add any kernel code. |
|---|
| 285 | |
|---|
| 286 | If you say N, all options in this submenu will be skipped and |
|---|
| 287 | disabled; if unsure, say Y here. |
|---|
| 288 | |
|---|
| 289 | if NETWORK_FILESYSTEMS |
|---|
| 290 | |
|---|
| 291 | source "fs/nfs/Kconfig" |
|---|
| 292 | source "fs/nfsd/Kconfig" |
|---|
| 293 | |
|---|
| 294 | config LOCKD |
|---|
| 295 | tristate |
|---|
| 296 | depends on FILE_LOCKING |
|---|
| 297 | |
|---|
| 298 | config LOCKD_V4 |
|---|
| 299 | bool |
|---|
| 300 | depends on NFSD_V3 || NFS_V3 |
|---|
| 301 | depends on FILE_LOCKING |
|---|
| 302 | default y |
|---|
| 303 | |
|---|
| 304 | config NFS_ACL_SUPPORT |
|---|
| 305 | tristate |
|---|
| 306 | select FS_POSIX_ACL |
|---|
| 307 | |
|---|
| 308 | config NFS_COMMON |
|---|
| 309 | bool |
|---|
| 310 | depends on NFSD || NFS_FS |
|---|
| 311 | default y |
|---|
| 312 | |
|---|
| 313 | source "net/sunrpc/Kconfig" |
|---|
| 314 | source "fs/ceph/Kconfig" |
|---|
| 315 | source "fs/cifs/Kconfig" |
|---|
| 316 | source "fs/ncpfs/Kconfig" |
|---|
| 317 | source "fs/coda/Kconfig" |
|---|
| 318 | source "fs/afs/Kconfig" |
|---|
| 319 | source "fs/9p/Kconfig" |
|---|
| 320 | |
|---|
| 321 | endif # NETWORK_FILESYSTEMS |
|---|
| 322 | |
|---|
| 323 | if BLOCK |
|---|
| 324 | menu "Partition Types" |
|---|
| 325 | |
|---|
| 326 | source "fs/partitions/Kconfig" |
|---|
| 327 | |
|---|
| 328 | endmenu |
|---|
| 329 | endif |
|---|
| 330 | |
|---|
| 331 | source "fs/nls/Kconfig" |
|---|
| 332 | source "fs/dlm/Kconfig" |
|---|
| 333 | |
|---|
| 334 | endmenu |
|---|