]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - fs/Kconfig
sysfs, kobject: add sysfs wrapper for kernfs_enable_ns()
[mirror_ubuntu-artful-kernel.git] / fs / Kconfig
CommitLineData
1da177e4
LT
1#
2# File system configuration
3#
4
5menu "File systems"
6
bfcfaa77
LT
7# Use unaligned word dcache accesses
8config DCACHE_WORD_ACCESS
9 bool
10
9361401e
DH
11if BLOCK
12
6da0b38f
AD
13source "fs/ext2/Kconfig"
14source "fs/ext3/Kconfig"
15source "fs/ext4/Kconfig"
6d79125b
CO
16
17config FS_XIP
18# execute in place
19 bool
20 depends on EXT2_FS_XIP
21 default y
22
6da0b38f
AD
23source "fs/jbd/Kconfig"
24source "fs/jbd2/Kconfig"
dab291af 25
1da177e4 26config FS_MBCACHE
02ea2104 27# Meta block cache for Extended Attributes (ext2/ext3/ext4)
1da177e4 28 tristate
2c512397
AB
29 default y if EXT2_FS=y && EXT2_FS_XATTR
30 default y if EXT3_FS=y && EXT3_FS_XATTR
939da108
TM
31 default y if EXT4_FS=y
32 default m if EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS
1da177e4 33
b16ecfe2 34source "fs/reiserfs/Kconfig"
f5c77969 35source "fs/jfs/Kconfig"
1da177e4 36
69050eee
TS
37source "fs/xfs/Kconfig"
38source "fs/gfs2/Kconfig"
39source "fs/ocfs2/Kconfig"
40source "fs/btrfs/Kconfig"
41f4db0f 41source "fs/nilfs2/Kconfig"
69050eee
TS
42
43endif # BLOCK
44
16ebe911
RD
45# Posix ACL utility routines
46#
47# Note: Posix ACLs can be implemented without these helpers. Never use
48# this symbol for ifdefs in core code.
49#
50config FS_POSIX_ACL
51 def_bool n
52
4199ca77 53config EXPORTFS
79fead47 54 tristate
4199ca77 55
bfcd17a6 56config FILE_LOCKING
6a108a14 57 bool "Enable POSIX file locking API" if EXPERT
bfcd17a6
TP
58 default y
59 help
60 This option enables standard file locking support, required
61 for filesystems like NFS and for the flock() system
62 call. Disabling this option saves about 11k.
63
272eb014 64source "fs/notify/Kconfig"
0eeca283 65
884d179d 66source "fs/quota/Kconfig"
1da177e4 67
90ffd467 68source "fs/autofs4/Kconfig"
3ef7784e 69source "fs/fuse/Kconfig"
04578f17 70
06b3db1b
DH
71menu "Caches"
72
73source "fs/fscache/Kconfig"
9ae326a6 74source "fs/cachefiles/Kconfig"
06b3db1b
DH
75
76endmenu
77
9361401e 78if BLOCK
1da177e4
LT
79menu "CD-ROM/DVD Filesystems"
80
ddfaccd9
AD
81source "fs/isofs/Kconfig"
82source "fs/udf/Kconfig"
1da177e4
LT
83
84endmenu
25fad945 85endif # BLOCK
1da177e4 86
9361401e 87if BLOCK
1da177e4
LT
88menu "DOS/FAT/NT Filesystems"
89
1c6ace01 90source "fs/fat/Kconfig"
9d73ac9e 91source "fs/ntfs/Kconfig"
1da177e4
LT
92
93endmenu
25fad945 94endif # BLOCK
1da177e4
LT
95
96menu "Pseudo filesystems"
97
6eedf8d3 98source "fs/proc/Kconfig"
5f3a211a 99source "fs/sysfs/Kconfig"
1da177e4 100
1da177e4 101config TMPFS
f5fc870d 102 bool "Tmpfs virtual memory file system support (former shm fs)"
3f96b79a 103 depends on SHMEM
1da177e4
LT
104 help
105 Tmpfs is a file system which keeps all files in virtual memory.
106
107 Everything in tmpfs is temporary in the sense that no files will be
108 created on your hard drive. The files live in memory and swap
109 space. If you unmount a tmpfs instance, everything stored therein is
110 lost.
111
112 See <file:Documentation/filesystems/tmpfs.txt> for details.
113
4db70f73
EP
114config TMPFS_POSIX_ACL
115 bool "Tmpfs POSIX Access Control Lists"
116 depends on TMPFS
117 select TMPFS_XATTR
feda821e 118 select FS_POSIX_ACL
4db70f73 119 help
206506cc
RD
120 POSIX Access Control Lists (ACLs) support additional access rights
121 for users and groups beyond the standard owner/group/world scheme,
122 and this option selects support for ACLs specifically for tmpfs
123 filesystems.
124
125 If you've selected TMPFS, it's possible that you'll also need
126 this option as there are a number of Linux distros that require
127 POSIX ACL support under /dev for certain features to work properly.
128 For example, some distros need this feature for ALSA-related /dev
129 files for sound to work properly. In short, if you're not sure,
130 say Y.
4db70f73
EP
131
132 To learn more about Access Control Lists, visit the POSIX ACLs for
133 Linux website <http://acl.bestbits.at/>.
134
b09e0fa4
EP
135config TMPFS_XATTR
136 bool "Tmpfs extended attributes"
137 depends on TMPFS
138 default n
139 help
140 Extended attributes are name:value pairs associated with inodes by
141 the kernel or by users (see the attr(5) manual page, or visit
142 <http://acl.bestbits.at/> for details).
143
144 Currently this enables support for the trusted.* and
145 security.* namespaces.
146
b09e0fa4
EP
147 You need this for POSIX ACL support on tmpfs.
148
4db70f73 149 If unsure, say N.
39f0247d 150
1da177e4
LT
151config HUGETLBFS
152 bool "HugeTLB file system support"
5a1eb5c4 153 depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
ffb4a73d 154 SYS_SUPPORTS_HUGETLBFS || BROKEN
dda27d1a
AO
155 help
156 hugetlbfs is a filesystem backing for HugeTLB pages, based on
157 ramfs. For architectures that support it, say Y here and read
158 <file:Documentation/vm/hugetlbpage.txt> for details.
159
160 If unsure, say N.
1da177e4
LT
161
162config HUGETLB_PAGE
163 def_bool HUGETLBFS
164
4591dabe 165source "fs/configfs/Kconfig"
7063fbf2 166
1da177e4
LT
167endmenu
168
67ec7d3a
RD
169menuconfig MISC_FILESYSTEMS
170 bool "Miscellaneous filesystems"
171 default y
172 ---help---
173 Say Y here to get to see options for various miscellaneous
174 filesystems, such as filesystems that came from other
175 operating systems.
176
177 This option alone does not add any kernel code.
178
179 If you say N, all options in this submenu will be skipped and
180 disabled; if unsure, say Y here.
181
182if MISC_FILESYSTEMS
1da177e4 183
bc2de2ae 184source "fs/adfs/Kconfig"
10951bf0 185source "fs/affs/Kconfig"
295c896c 186source "fs/ecryptfs/Kconfig"
b08bac1f
AD
187source "fs/hfs/Kconfig"
188source "fs/hfsplus/Kconfig"
0b09eb32 189source "fs/befs/Kconfig"
0ff42384 190source "fs/bfs/Kconfig"
571f0a0b 191source "fs/efs/Kconfig"
31db6e9e 192source "fs/jffs2/Kconfig"
0d7eff87
AB
193# UBIFS File system configuration
194source "fs/ubifs/Kconfig"
5db53f3e 195source "fs/logfs/Kconfig"
2a22783b 196source "fs/cramfs/Kconfig"
22635ec9 197source "fs/squashfs/Kconfig"
22135169 198source "fs/freevxfs/Kconfig"
8b1cd7d3 199source "fs/minix/Kconfig"
da55e6f9 200source "fs/omfs/Kconfig"
928ea192 201source "fs/hpfs/Kconfig"
4c741583 202source "fs/qnx4/Kconfig"
5d026c72 203source "fs/qnx6/Kconfig"
41810246 204source "fs/romfs/Kconfig"
ca01d6dd 205source "fs/pstore/Kconfig"
8af915ba 206source "fs/sysv/Kconfig"
a276a52f 207source "fs/ufs/Kconfig"
0d8fe329 208source "fs/exofs/Kconfig"
a14d5393 209source "fs/f2fs/Kconfig"
d68772b7 210source "fs/efivarfs/Kconfig"
0c4fb877 211
67ec7d3a 212endif # MISC_FILESYSTEMS
1da177e4 213
831c2dc5
BH
214source "fs/exofs/Kconfig.ore"
215
ea0985ad
JE
216menuconfig NETWORK_FILESYSTEMS
217 bool "Network File Systems"
218 default y
1da177e4 219 depends on NET
ea0985ad
JE
220 ---help---
221 Say Y here to get to see options for network filesystems and
222 filesystem-related networking code, such as NFS daemon and
223 RPCSEC security modules.
6fb1bc10 224
ea0985ad
JE
225 This option alone does not add any kernel code.
226
227 If you say N, all options in this submenu will be skipped and
228 disabled; if unsure, say Y here.
229
230if NETWORK_FILESYSTEMS
1da177e4 231
97afe47a 232source "fs/nfs/Kconfig"
e2b329e2 233source "fs/nfsd/Kconfig"
1da177e4 234
1da177e4
LT
235config LOCKD
236 tristate
dd4dc82d 237 depends on FILE_LOCKING
1da177e4
LT
238
239config LOCKD_V4
240 bool
241 depends on NFSD_V3 || NFS_V3
dd4dc82d 242 depends on FILE_LOCKING
1da177e4
LT
243 default y
244
a257cdd0
AG
245config NFS_ACL_SUPPORT
246 tristate
247 select FS_POSIX_ACL
248
249config NFS_COMMON
250 bool
251 depends on NFSD || NFS_FS
252 default y
253
9098c24f 254source "net/sunrpc/Kconfig"
9030aaf9 255source "fs/ceph/Kconfig"
bb26b963 256source "fs/cifs/Kconfig"
1da177e4 257source "fs/ncpfs/Kconfig"
33a1a6fe 258source "fs/coda/Kconfig"
b2480c7f 259source "fs/afs/Kconfig"
0fcb4408 260source "fs/9p/Kconfig"
93fa58cb 261
ea0985ad 262endif # NETWORK_FILESYSTEMS
1da177e4 263
1da177e4 264source "fs/nls/Kconfig"
e7fd4179 265source "fs/dlm/Kconfig"
1da177e4
LT
266
267endmenu