fs/Kconfig: move nfsd out
[safe/jmp/linux-2.6] / 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_POSIX_ACL
34 # Posix ACL utility routines (for now, only ext2/ext3/jfs/reiserfs/nfs4)
35 #
36 # NOTE: you can implement Posix ACLs without these helpers (XFS does).
37 #       Never use this symbol for ifdefs.
38 #
39         bool
40         default n
41
42 config FILE_LOCKING
43         bool "Enable POSIX file locking API" if EMBEDDED
44         default y
45         help
46           This option enables standard file locking support, required
47           for filesystems like NFS and for the flock() system
48           call. Disabling this option saves about 11k.
49
50 source "fs/xfs/Kconfig"
51 source "fs/gfs2/Kconfig"
52 source "fs/ocfs2/Kconfig"
53 source "fs/btrfs/Kconfig"
54
55 endif # BLOCK
56
57 source "fs/notify/Kconfig"
58
59 config QUOTA
60         bool "Quota support"
61         help
62           If you say Y here, you will be able to set per user limits for disk
63           usage (also called disk quotas). Currently, it works for the
64           ext2, ext3, and reiserfs file system. ext3 also supports journalled
65           quotas for which you don't need to run quotacheck(8) after an unclean
66           shutdown.
67           For further details, read the Quota mini-HOWTO, available from
68           <http://www.tldp.org/docs.html#howto>, or the documentation provided
69           with the quota tools. Probably the quota support is only useful for
70           multi user systems. If unsure, say N.
71
72 config QUOTA_NETLINK_INTERFACE
73         bool "Report quota messages through netlink interface"
74         depends on QUOTA && NET
75         help
76           If you say Y here, quota warnings (about exceeding softlimit, reaching
77           hardlimit, etc.) will be reported through netlink interface. If unsure,
78           say Y.
79
80 config PRINT_QUOTA_WARNING
81         bool "Print quota warnings to console (OBSOLETE)"
82         depends on QUOTA
83         default y
84         help
85           If you say Y here, quota warnings (about exceeding softlimit, reaching
86           hardlimit, etc.) will be printed to the process' controlling terminal.
87           Note that this behavior is currently deprecated and may go away in
88           future. Please use notification via netlink socket instead.
89
90 # Generic support for tree structured quota files. Seleted when needed.
91 config QUOTA_TREE
92          tristate
93
94 config QFMT_V1
95         tristate "Old quota format support"
96         depends on QUOTA
97         help
98           This quota format was (is) used by kernels earlier than 2.4.22. If
99           you have quota working and you don't want to convert to new quota
100           format say Y here.
101
102 config QFMT_V2
103         tristate "Quota format v2 support"
104         depends on QUOTA
105         select QUOTA_TREE
106         help
107           This quota format allows using quotas with 32-bit UIDs/GIDs. If you
108           need this functionality say Y here.
109
110 config QUOTACTL
111         bool
112         depends on XFS_QUOTA || QUOTA
113         default y
114
115 source "fs/autofs/Kconfig"
116 source "fs/autofs4/Kconfig"
117 source "fs/fuse/Kconfig"
118
119 config GENERIC_ACL
120         bool
121         select FS_POSIX_ACL
122
123 if BLOCK
124 menu "CD-ROM/DVD Filesystems"
125
126 source "fs/isofs/Kconfig"
127 source "fs/udf/Kconfig"
128
129 endmenu
130 endif # BLOCK
131
132 if BLOCK
133 menu "DOS/FAT/NT Filesystems"
134
135 source "fs/fat/Kconfig"
136 source "fs/ntfs/Kconfig"
137
138 endmenu
139 endif # BLOCK
140
141 menu "Pseudo filesystems"
142
143 source "fs/proc/Kconfig"
144 source "fs/sysfs/Kconfig"
145
146 config TMPFS
147         bool "Virtual memory file system support (former shm fs)"
148         help
149           Tmpfs is a file system which keeps all files in virtual memory.
150
151           Everything in tmpfs is temporary in the sense that no files will be
152           created on your hard drive. The files live in memory and swap
153           space. If you unmount a tmpfs instance, everything stored therein is
154           lost.
155
156           See <file:Documentation/filesystems/tmpfs.txt> for details.
157
158 config TMPFS_POSIX_ACL
159         bool "Tmpfs POSIX Access Control Lists"
160         depends on TMPFS
161         select GENERIC_ACL
162         help
163           POSIX Access Control Lists (ACLs) support permissions for users and
164           groups beyond the owner/group/world scheme.
165
166           To learn more about Access Control Lists, visit the POSIX ACLs for
167           Linux website <http://acl.bestbits.at/>.
168
169           If you don't know what Access Control Lists are, say N.
170
171 config HUGETLBFS
172         bool "HugeTLB file system support"
173         depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
174                    (S390 && 64BIT) || BROKEN
175         help
176           hugetlbfs is a filesystem backing for HugeTLB pages, based on
177           ramfs. For architectures that support it, say Y here and read
178           <file:Documentation/vm/hugetlbpage.txt> for details.
179
180           If unsure, say N.
181
182 config HUGETLB_PAGE
183         def_bool HUGETLBFS
184
185 source "fs/configfs/Kconfig"
186
187 endmenu
188
189 menuconfig MISC_FILESYSTEMS
190         bool "Miscellaneous filesystems"
191         default y
192         ---help---
193           Say Y here to get to see options for various miscellaneous
194           filesystems, such as filesystems that came from other
195           operating systems.
196
197           This option alone does not add any kernel code.
198
199           If you say N, all options in this submenu will be skipped and
200           disabled; if unsure, say Y here.
201
202 if MISC_FILESYSTEMS
203
204 source "fs/adfs/Kconfig"
205 source "fs/affs/Kconfig"
206 source "fs/ecryptfs/Kconfig"
207 source "fs/hfs/Kconfig"
208 source "fs/hfsplus/Kconfig"
209 source "fs/befs/Kconfig"
210 source "fs/bfs/Kconfig"
211 source "fs/efs/Kconfig"
212 source "fs/jffs2/Kconfig"
213 # UBIFS File system configuration
214 source "fs/ubifs/Kconfig"
215 source "fs/cramfs/Kconfig"
216 source "fs/squashfs/Kconfig"
217 source "fs/freevxfs/Kconfig"
218 source "fs/minix/Kconfig"
219 source "fs/omfs/Kconfig"
220 source "fs/hpfs/Kconfig"
221 source "fs/qnx4/Kconfig"
222 source "fs/romfs/Kconfig"
223 source "fs/sysv/Kconfig"
224 source "fs/ufs/Kconfig"
225
226 endif # MISC_FILESYSTEMS
227
228 menuconfig NETWORK_FILESYSTEMS
229         bool "Network File Systems"
230         default y
231         depends on NET
232         ---help---
233           Say Y here to get to see options for network filesystems and
234           filesystem-related networking code, such as NFS daemon and
235           RPCSEC security modules.
236
237           This option alone does not add any kernel code.
238
239           If you say N, all options in this submenu will be skipped and
240           disabled; if unsure, say Y here.
241
242 if NETWORK_FILESYSTEMS
243
244 source "fs/nfs/Kconfig"
245 source "fs/nfsd/Kconfig"
246
247 config LOCKD
248         tristate
249
250 config LOCKD_V4
251         bool
252         depends on NFSD_V3 || NFS_V3
253         default y
254
255 config EXPORTFS
256         tristate
257
258 config NFS_ACL_SUPPORT
259         tristate
260         select FS_POSIX_ACL
261
262 config NFS_COMMON
263         bool
264         depends on NFSD || NFS_FS
265         default y
266
267 config SUNRPC
268         tristate
269
270 config SUNRPC_GSS
271         tristate
272
273 config SUNRPC_XPRT_RDMA
274         tristate
275         depends on SUNRPC && INFINIBAND && EXPERIMENTAL
276         default SUNRPC && INFINIBAND
277         help
278           This option enables an RPC client transport capability that
279           allows the NFS client to mount servers via an RDMA-enabled
280           transport.
281
282           To compile RPC client RDMA transport support as a module,
283           choose M here: the module will be called xprtrdma.
284
285           If unsure, say N.
286
287 config SUNRPC_REGISTER_V4
288         bool "Register local RPC services via rpcbind v4 (EXPERIMENTAL)"
289         depends on SUNRPC && EXPERIMENTAL
290         default n
291         help
292           Sun added support for registering RPC services at an IPv6
293           address by creating two new versions of the rpcbind protocol
294           (RFC 1833).
295
296           This option enables support in the kernel RPC server for
297           registering kernel RPC services via version 4 of the rpcbind
298           protocol.  If you enable this option, you must run a portmapper
299           daemon that supports rpcbind protocol version 4.
300
301           Serving NFS over IPv6 from knfsd (the kernel's NFS server)
302           requires that you enable this option and use a portmapper that
303           supports rpcbind version 4.
304
305           If unsure, say N to get traditional behavior (register kernel
306           RPC services using only rpcbind version 2).  Distributions
307           using the legacy Linux portmapper daemon must say N here.
308
309 config RPCSEC_GSS_KRB5
310         tristate "Secure RPC: Kerberos V mechanism (EXPERIMENTAL)"
311         depends on SUNRPC && EXPERIMENTAL
312         select SUNRPC_GSS
313         select CRYPTO
314         select CRYPTO_MD5
315         select CRYPTO_DES
316         select CRYPTO_CBC
317         help
318           Choose Y here to enable Secure RPC using the Kerberos version 5
319           GSS-API mechanism (RFC 1964).
320
321           Secure RPC calls with Kerberos require an auxiliary user-space
322           daemon which may be found in the Linux nfs-utils package
323           available from http://linux-nfs.org/.  In addition, user-space
324           Kerberos support should be installed.
325
326           If unsure, say N.
327
328 config RPCSEC_GSS_SPKM3
329         tristate "Secure RPC: SPKM3 mechanism (EXPERIMENTAL)"
330         depends on SUNRPC && EXPERIMENTAL
331         select SUNRPC_GSS
332         select CRYPTO
333         select CRYPTO_MD5
334         select CRYPTO_DES
335         select CRYPTO_CAST5
336         select CRYPTO_CBC
337         help
338           Choose Y here to enable Secure RPC using the SPKM3 public key
339           GSS-API mechansim (RFC 2025).
340
341           Secure RPC calls with SPKM3 require an auxiliary userspace
342           daemon which may be found in the Linux nfs-utils package
343           available from http://linux-nfs.org/.
344
345           If unsure, say N.
346
347 config SMB_FS
348         tristate "SMB file system support (OBSOLETE, please use CIFS)"
349         depends on INET
350         select NLS
351         help
352           SMB (Server Message Block) is the protocol Windows for Workgroups
353           (WfW), Windows 95/98, Windows NT and OS/2 Lan Manager use to share
354           files and printers over local networks.  Saying Y here allows you to
355           mount their file systems (often called "shares" in this context) and
356           access them just like any other Unix directory.  Currently, this
357           works only if the Windows machines use TCP/IP as the underlying
358           transport protocol, and not NetBEUI.  For details, read
359           <file:Documentation/filesystems/smbfs.txt> and the SMB-HOWTO,
360           available from <http://www.tldp.org/docs.html#howto>.
361
362           Note: if you just want your box to act as an SMB *server* and make
363           files and printing services available to Windows clients (which need
364           to have a TCP/IP stack), you don't need to say Y here; you can use
365           the program SAMBA (available from <ftp://ftp.samba.org/pub/samba/>)
366           for that.
367
368           General information about how to connect Linux, Windows machines and
369           Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>.
370
371           To compile the SMB support as a module, choose M here:
372           the module will be called smbfs.  Most people say N, however.
373
374 config SMB_NLS_DEFAULT
375         bool "Use a default NLS"
376         depends on SMB_FS
377         help
378           Enabling this will make smbfs use nls translations by default. You
379           need to specify the local charset (CONFIG_NLS_DEFAULT) in the nls
380           settings and you need to give the default nls for the SMB server as
381           CONFIG_SMB_NLS_REMOTE.
382
383           The nls settings can be changed at mount time, if your smbmount
384           supports that, using the codepage and iocharset parameters.
385
386           smbmount from samba 2.2.0 or later supports this.
387
388 config SMB_NLS_REMOTE
389         string "Default Remote NLS Option"
390         depends on SMB_NLS_DEFAULT
391         default "cp437"
392         help
393           This setting allows you to specify a default value for which
394           codepage the server uses. If this field is left blank no
395           translations will be done by default. The local codepage/charset
396           default to CONFIG_NLS_DEFAULT.
397
398           The nls settings can be changed at mount time, if your smbmount
399           supports that, using the codepage and iocharset parameters.
400
401           smbmount from samba 2.2.0 or later supports this.
402
403 source "fs/cifs/Kconfig"
404
405 config NCP_FS
406         tristate "NCP file system support (to mount NetWare volumes)"
407         depends on IPX!=n || INET
408         help
409           NCP (NetWare Core Protocol) is a protocol that runs over IPX and is
410           used by Novell NetWare clients to talk to file servers.  It is to
411           IPX what NFS is to TCP/IP, if that helps.  Saying Y here allows you
412           to mount NetWare file server volumes and to access them just like
413           any other Unix directory.  For details, please read the file
414           <file:Documentation/filesystems/ncpfs.txt> in the kernel source and
415           the IPX-HOWTO from <http://www.tldp.org/docs.html#howto>.
416
417           You do not have to say Y here if you want your Linux box to act as a
418           file *server* for Novell NetWare clients.
419
420           General information about how to connect Linux, Windows machines and
421           Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>.
422
423           To compile this as a module, choose M here: the module will be called
424           ncpfs.  Say N unless you are connected to a Novell network.
425
426 source "fs/ncpfs/Kconfig"
427
428 config CODA_FS
429         tristate "Coda file system support (advanced network fs)"
430         depends on INET
431         help
432           Coda is an advanced network file system, similar to NFS in that it
433           enables you to mount file systems of a remote server and access them
434           with regular Unix commands as if they were sitting on your hard
435           disk.  Coda has several advantages over NFS: support for
436           disconnected operation (e.g. for laptops), read/write server
437           replication, security model for authentication and encryption,
438           persistent client caches and write back caching.
439
440           If you say Y here, your Linux box will be able to act as a Coda
441           *client*.  You will need user level code as well, both for the
442           client and server.  Servers are currently user level, i.e. they need
443           no kernel support.  Please read
444           <file:Documentation/filesystems/coda.txt> and check out the Coda
445           home page <http://www.coda.cs.cmu.edu/>.
446
447           To compile the coda client support as a module, choose M here: the
448           module will be called coda.
449
450 config AFS_FS
451         tristate "Andrew File System support (AFS) (EXPERIMENTAL)"
452         depends on INET && EXPERIMENTAL
453         select AF_RXRPC
454         help
455           If you say Y here, you will get an experimental Andrew File System
456           driver. It currently only supports unsecured read-only AFS access.
457
458           See <file:Documentation/filesystems/afs.txt> for more information.
459
460           If unsure, say N.
461
462 config AFS_DEBUG
463         bool "AFS dynamic debugging"
464         depends on AFS_FS
465         help
466           Say Y here to make runtime controllable debugging messages appear.
467
468           See <file:Documentation/filesystems/afs.txt> for more information.
469
470           If unsure, say N.
471
472 config 9P_FS
473         tristate "Plan 9 Resource Sharing Support (9P2000) (Experimental)"
474         depends on INET && NET_9P && EXPERIMENTAL
475         help
476           If you say Y here, you will get experimental support for
477           Plan 9 resource sharing via the 9P2000 protocol.
478
479           See <http://v9fs.sf.net> for more information.
480
481           If unsure, say N.
482
483 endif # NETWORK_FILESYSTEMS
484
485 if BLOCK
486 menu "Partition Types"
487
488 source "fs/partitions/Kconfig"
489
490 endmenu
491 endif
492
493 source "fs/nls/Kconfig"
494 source "fs/dlm/Kconfig"
495
496 endmenu