Update to 3.4-final.
[linux-flexiantxendom0-3.2.10.git] / fs / Kconfig
1 #
2 # File system configuration
3 #
4
5 menu "File systems"
6
7 # Use unaligned word dcache accesses
8 config DCACHE_WORD_ACCESS
9        bool
10
11 if BLOCK
12
13 source "fs/ext2/Kconfig"
14 source "fs/ext3/Kconfig"
15 source "fs/ext4/Kconfig"
16
17 config FS_XIP
18 # execute in place
19         bool
20         depends on EXT2_FS_XIP
21         default y
22
23 source "fs/jbd/Kconfig"
24 source "fs/jbd2/Kconfig"
25
26 config FS_MBCACHE
27 # Meta block cache for Extended Attributes (ext2/ext3/ext4)
28         tristate
29         default y if EXT2_FS=y && EXT2_FS_XATTR
30         default y if EXT3_FS=y && EXT3_FS_XATTR
31         default y if EXT4_FS=y && EXT4_FS_XATTR
32         default m if EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS_XATTR
33
34 source "fs/reiserfs/Kconfig"
35 source "fs/jfs/Kconfig"
36
37 config FS_RICHACL
38         bool
39
40 source "fs/xfs/Kconfig"
41 source "fs/gfs2/Kconfig"
42 source "fs/ocfs2/Kconfig"
43 source "fs/btrfs/Kconfig"
44 source "fs/nilfs2/Kconfig"
45
46 endif # BLOCK
47
48 # Posix ACL utility routines
49 #
50 # Note: Posix ACLs can be implemented without these helpers.  Never use
51 # this symbol for ifdefs in core code.
52 #
53 config FS_POSIX_ACL
54         def_bool n
55
56 config EXPORTFS
57         tristate
58
59 config FILE_LOCKING
60         bool "Enable POSIX file locking API" if EXPERT
61         default y
62         help
63           This option enables standard file locking support, required
64           for filesystems like NFS and for the flock() system
65           call. Disabling this option saves about 11k.
66
67 source "fs/notify/Kconfig"
68
69 source "fs/quota/Kconfig"
70
71 source "fs/autofs4/Kconfig"
72 source "fs/fuse/Kconfig"
73
74 config CUSE
75         tristate "Character device in Userspace support"
76         depends on FUSE_FS
77         help
78           This FUSE extension allows character devices to be
79           implemented in userspace.
80
81           If you want to develop or use userspace character device
82           based on CUSE, answer Y or M.
83
84 config GENERIC_ACL
85         bool
86         select FS_POSIX_ACL
87
88 menu "Caches"
89
90 source "fs/fscache/Kconfig"
91 source "fs/cachefiles/Kconfig"
92
93 endmenu
94
95 if BLOCK
96 menu "CD-ROM/DVD Filesystems"
97
98 source "fs/isofs/Kconfig"
99 source "fs/udf/Kconfig"
100
101 endmenu
102 endif # BLOCK
103
104 if BLOCK
105 menu "DOS/FAT/NT Filesystems"
106
107 source "fs/fat/Kconfig"
108 source "fs/ntfs/Kconfig"
109
110 endmenu
111 endif # BLOCK
112
113 menu "Pseudo filesystems"
114
115 source "fs/proc/Kconfig"
116 source "fs/sysfs/Kconfig"
117
118 config TMPFS
119         bool "Tmpfs virtual memory file system support (former shm fs)"
120         depends on SHMEM
121         help
122           Tmpfs is a file system which keeps all files in virtual memory.
123
124           Everything in tmpfs is temporary in the sense that no files will be
125           created on your hard drive. The files live in memory and swap
126           space. If you unmount a tmpfs instance, everything stored therein is
127           lost.
128
129           See <file:Documentation/filesystems/tmpfs.txt> for details.
130
131 config TMPFS_POSIX_ACL
132         bool "Tmpfs POSIX Access Control Lists"
133         depends on TMPFS
134         select TMPFS_XATTR
135         select GENERIC_ACL
136         help
137           POSIX Access Control Lists (ACLs) support additional access rights
138           for users and groups beyond the standard owner/group/world scheme,
139           and this option selects support for ACLs specifically for tmpfs
140           filesystems.
141
142           If you've selected TMPFS, it's possible that you'll also need
143           this option as there are a number of Linux distros that require
144           POSIX ACL support under /dev for certain features to work properly.
145           For example, some distros need this feature for ALSA-related /dev
146           files for sound to work properly.  In short, if you're not sure,
147           say Y.
148
149           To learn more about Access Control Lists, visit the POSIX ACLs for
150           Linux website <http://acl.bestbits.at/>.
151
152 config TMPFS_XATTR
153         bool "Tmpfs extended attributes"
154         depends on TMPFS
155         default n
156         help
157           Extended attributes are name:value pairs associated with inodes by
158           the kernel or by users (see the attr(5) manual page, or visit
159           <http://acl.bestbits.at/> for details).
160
161           Currently this enables support for the trusted.* and
162           security.* namespaces.
163
164           You need this for POSIX ACL support on tmpfs.
165
166           If unsure, say N.
167
168 config HUGETLBFS
169         bool "HugeTLB file system support"
170         depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
171                    SYS_SUPPORTS_HUGETLBFS || BROKEN
172         depends on !XEN
173         help
174           hugetlbfs is a filesystem backing for HugeTLB pages, based on
175           ramfs. For architectures that support it, say Y here and read
176           <file:Documentation/vm/hugetlbpage.txt> for details.
177
178           If unsure, say N.
179
180 config HUGETLB_PAGE
181         def_bool HUGETLBFS
182
183 source "fs/configfs/Kconfig"
184
185 endmenu
186
187 menuconfig MISC_FILESYSTEMS
188         bool "Miscellaneous filesystems"
189         default y
190         ---help---
191           Say Y here to get to see options for various miscellaneous
192           filesystems, such as filesystems that came from other
193           operating systems.
194
195           This option alone does not add any kernel code.
196
197           If you say N, all options in this submenu will be skipped and
198           disabled; if unsure, say Y here.
199
200 if MISC_FILESYSTEMS
201
202 source "fs/adfs/Kconfig"
203 source "fs/affs/Kconfig"
204 source "fs/ecryptfs/Kconfig"
205 source "fs/hfs/Kconfig"
206 source "fs/hfsplus/Kconfig"
207 source "fs/befs/Kconfig"
208 source "fs/bfs/Kconfig"
209 source "fs/efs/Kconfig"
210 source "fs/jffs2/Kconfig"
211 # UBIFS File system configuration
212 source "fs/ubifs/Kconfig"
213 source "fs/logfs/Kconfig"
214 source "fs/cramfs/Kconfig"
215 source "fs/squashfs/Kconfig"
216 source "fs/freevxfs/Kconfig"
217 source "fs/minix/Kconfig"
218 source "fs/omfs/Kconfig"
219 source "fs/hpfs/Kconfig"
220 source "fs/qnx4/Kconfig"
221 source "fs/qnx6/Kconfig"
222 source "fs/romfs/Kconfig"
223 source "fs/pstore/Kconfig"
224 source "fs/sysv/Kconfig"
225 source "fs/ufs/Kconfig"
226 source "fs/exofs/Kconfig"
227
228 endif # MISC_FILESYSTEMS
229
230 source "fs/exofs/Kconfig.ore"
231
232 menuconfig NETWORK_FILESYSTEMS
233         bool "Network File Systems"
234         default y
235         depends on NET
236         ---help---
237           Say Y here to get to see options for network filesystems and
238           filesystem-related networking code, such as NFS daemon and
239           RPCSEC security modules.
240
241           This option alone does not add any kernel code.
242
243           If you say N, all options in this submenu will be skipped and
244           disabled; if unsure, say Y here.
245
246 if NETWORK_FILESYSTEMS
247
248 source "fs/nfs/Kconfig"
249 source "fs/nfsd/Kconfig"
250
251 config LOCKD
252         tristate
253         depends on FILE_LOCKING
254
255 config LOCKD_V4
256         bool
257         depends on NFSD_V3 || NFS_V3
258         depends on FILE_LOCKING
259         default y
260
261 config NFS_ACL_SUPPORT
262         tristate
263         select FS_POSIX_ACL
264
265 config NFS_COMMON
266         bool
267         depends on NFSD || NFS_FS
268         default y
269
270 source "net/sunrpc/Kconfig"
271 source "fs/ceph/Kconfig"
272 source "fs/cifs/Kconfig"
273 source "fs/ncpfs/Kconfig"
274 source "fs/coda/Kconfig"
275 source "fs/afs/Kconfig"
276 source "fs/9p/Kconfig"
277
278 endif # NETWORK_FILESYSTEMS
279
280 source "fs/nls/Kconfig"
281 source "fs/dlm/Kconfig"
282
283 endmenu