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