]> bbs.cooldavid.org Git - net-next-2.6.git/blame - fs/Kconfig
fs/Kconfig: move nfs out
[net-next-2.6.git] / fs / Kconfig
CommitLineData
1da177e4
LT
1#
2# File system configuration
3#
4
5menu "File systems"
6
9361401e
DH
7if BLOCK
8
6da0b38f
AD
9source "fs/ext2/Kconfig"
10source "fs/ext3/Kconfig"
11source "fs/ext4/Kconfig"
6d79125b
CO
12
13config FS_XIP
14# execute in place
15 bool
16 depends on EXT2_FS_XIP
17 default y
18
6da0b38f
AD
19source "fs/jbd/Kconfig"
20source "fs/jbd2/Kconfig"
dab291af 21
1da177e4 22config FS_MBCACHE
02ea2104 23# Meta block cache for Extended Attributes (ext2/ext3/ext4)
1da177e4 24 tristate
2c512397
AB
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
1da177e4 29
b16ecfe2 30source "fs/reiserfs/Kconfig"
f5c77969 31source "fs/jfs/Kconfig"
1da177e4
LT
32
33config FS_POSIX_ACL
89206955 34# Posix ACL utility routines (for now, only ext2/ext3/jfs/reiserfs/nfs4)
1da177e4
LT
35#
36# NOTE: you can implement Posix ACLs without these helpers (XFS does).
37# Never use this symbol for ifdefs.
38#
39 bool
b84c2157 40 default n
1da177e4 41
bfcd17a6
TP
42config 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
1da177e4 50source "fs/xfs/Kconfig"
f7825dcf 51source "fs/gfs2/Kconfig"
2fe4371d 52source "fs/ocfs2/Kconfig"
335debee 53source "fs/btrfs/Kconfig"
60582d1e 54
25fad945 55endif # BLOCK
1da177e4 56
272eb014 57source "fs/notify/Kconfig"
0eeca283 58
1da177e4
LT
59config 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
919532a5
AB
66 shutdown.
67 For further details, read the Quota mini-HOWTO, available from
1da177e4
LT
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
8e893469
JK
72config 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
80config 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
1ccd14b9
JK
90# Generic support for tree structured quota files. Seleted when needed.
91config QUOTA_TREE
92 tristate
93
1da177e4
LT
94config 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
102config QFMT_V2
103 tristate "Quota format v2 support"
104 depends on QUOTA
1ccd14b9 105 select QUOTA_TREE
1da177e4
LT
106 help
107 This quota format allows using quotas with 32-bit UIDs/GIDs. If you
919532a5 108 need this functionality say Y here.
1da177e4
LT
109
110config QUOTACTL
111 bool
112 depends on XFS_QUOTA || QUOTA
113 default y
114
90ffd467
AD
115source "fs/autofs/Kconfig"
116source "fs/autofs4/Kconfig"
3ef7784e 117source "fs/fuse/Kconfig"
04578f17 118
f2fbc6c2
RD
119config GENERIC_ACL
120 bool
121 select FS_POSIX_ACL
122
9361401e 123if BLOCK
1da177e4
LT
124menu "CD-ROM/DVD Filesystems"
125
ddfaccd9
AD
126source "fs/isofs/Kconfig"
127source "fs/udf/Kconfig"
1da177e4
LT
128
129endmenu
25fad945 130endif # BLOCK
1da177e4 131
9361401e 132if BLOCK
1da177e4
LT
133menu "DOS/FAT/NT Filesystems"
134
1c6ace01 135source "fs/fat/Kconfig"
9d73ac9e 136source "fs/ntfs/Kconfig"
1da177e4
LT
137
138endmenu
25fad945 139endif # BLOCK
1da177e4
LT
140
141menu "Pseudo filesystems"
142
6eedf8d3 143source "fs/proc/Kconfig"
5f3a211a 144source "fs/sysfs/Kconfig"
1da177e4 145
1da177e4
LT
146config 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
39f0247d
AG
158config 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
1da177e4
LT
171config HUGETLBFS
172 bool "HugeTLB file system support"
53492b1d
GS
173 depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
174 (S390 && 64BIT) || BROKEN
dda27d1a
AO
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.
1da177e4
LT
181
182config HUGETLB_PAGE
183 def_bool HUGETLBFS
184
4591dabe 185source "fs/configfs/Kconfig"
7063fbf2 186
1da177e4
LT
187endmenu
188
67ec7d3a
RD
189menuconfig 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
202if MISC_FILESYSTEMS
1da177e4 203
bc2de2ae 204source "fs/adfs/Kconfig"
10951bf0 205source "fs/affs/Kconfig"
295c896c 206source "fs/ecryptfs/Kconfig"
b08bac1f
AD
207source "fs/hfs/Kconfig"
208source "fs/hfsplus/Kconfig"
0b09eb32 209source "fs/befs/Kconfig"
0ff42384 210source "fs/bfs/Kconfig"
571f0a0b 211source "fs/efs/Kconfig"
31db6e9e 212source "fs/jffs2/Kconfig"
0d7eff87
AB
213# UBIFS File system configuration
214source "fs/ubifs/Kconfig"
2a22783b 215source "fs/cramfs/Kconfig"
22635ec9 216source "fs/squashfs/Kconfig"
22135169 217source "fs/freevxfs/Kconfig"
8b1cd7d3 218source "fs/minix/Kconfig"
da55e6f9 219source "fs/omfs/Kconfig"
928ea192 220source "fs/hpfs/Kconfig"
4c741583 221source "fs/qnx4/Kconfig"
41810246 222source "fs/romfs/Kconfig"
8af915ba 223source "fs/sysv/Kconfig"
a276a52f 224source "fs/ufs/Kconfig"
abf5d15f 225
67ec7d3a 226endif # MISC_FILESYSTEMS
1da177e4 227
ea0985ad
JE
228menuconfig NETWORK_FILESYSTEMS
229 bool "Network File Systems"
230 default y
1da177e4 231 depends on NET
ea0985ad
JE
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.
6fb1bc10 236
ea0985ad
JE
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
242if NETWORK_FILESYSTEMS
1da177e4 243
97afe47a 244source "fs/nfs/Kconfig"
6fb1bc10 245
1da177e4
LT
246config NFSD
247 tristate "NFS server support"
248 depends on INET
249 select LOCKD
250 select SUNRPC
251 select EXPORTFS
f05e15b5 252 select NFS_ACL_SUPPORT if NFSD_V2_ACL
1da177e4 253 help
d24455b5
CL
254 Choose Y here if you want to allow other computers to access
255 files residing on this system using Sun's Network File System
256 protocol. To compile the NFS server support as a module,
257 choose M here: the module will be called nfsd.
1da177e4 258
d24455b5
CL
259 You may choose to use a user-space NFS server instead, in which
260 case you can choose N here.
1da177e4 261
d24455b5
CL
262 To export local file systems using NFS, you also need to install
263 user space programs which can be found in the Linux nfs-utils
264 package, available from http://linux-nfs.org/. More detail about
265 the Linux NFS server implementation is available via the
266 exports(5) man page.
1da177e4 267
d24455b5
CL
268 Below you can choose which versions of the NFS protocol are
269 available to clients mounting the NFS server on this system.
270 Support for NFS version 2 (RFC 1094) is always available when
271 CONFIG_NFSD is selected.
1da177e4 272
d24455b5 273 If unsure, say N.
1da177e4 274
a257cdd0
AG
275config NFSD_V2_ACL
276 bool
277 depends on NFSD
278
1da177e4 279config NFSD_V3
d24455b5 280 bool "NFS server support for NFS version 3"
1da177e4
LT
281 depends on NFSD
282 help
d24455b5
CL
283 This option enables support in your system's NFS server for
284 version 3 of the NFS protocol (RFC 1813).
285
286 If unsure, say Y.
1da177e4 287
a257cdd0 288config NFSD_V3_ACL
d24455b5 289 bool "NFS server support for the NFSv3 ACL protocol extension"
a257cdd0 290 depends on NFSD_V3
78dd0992 291 select NFSD_V2_ACL
a257cdd0 292 help
d24455b5
CL
293 Solaris NFS servers support an auxiliary NFSv3 ACL protocol that
294 never became an official part of the NFS version 3 protocol.
295 This protocol extension allows applications on NFS clients to
296 manipulate POSIX Access Control Lists on files residing on NFS
297 servers. NFS servers enforce POSIX ACLs on local files whether
298 this protocol is available or not.
299
300 This option enables support in your system's NFS server for the
301 NFSv3 ACL protocol extension allowing NFS clients to manipulate
302 POSIX ACLs on files exported by your system's NFS server. NFS
303 clients which support the Solaris NFSv3 ACL protocol can then
304 access and modify ACLs on your NFS server.
305
306 To store ACLs on your NFS server, you also need to enable ACL-
307 related CONFIG options for your local file systems of choice.
308
309 If unsure, say N.
a257cdd0 310
1da177e4 311config NFSD_V4
d24455b5 312 bool "NFS server support for NFS version 4 (EXPERIMENTAL)"
1a448fdb
CL
313 depends on NFSD && PROC_FS && EXPERIMENTAL
314 select NFSD_V3
89206955 315 select FS_POSIX_ACL
42ed95c4 316 select RPCSEC_GSS_KRB5
1da177e4 317 help
d24455b5
CL
318 This option enables support in your system's NFS server for
319 version 4 of the NFS protocol (RFC 3530).
320
321 To export files using NFSv4, you need to install additional user
322 space programs which can be found in the Linux nfs-utils package,
323 available from http://linux-nfs.org/.
324
1da177e4
LT
325 If unsure, say N.
326
1da177e4
LT
327config LOCKD
328 tristate
329
330config LOCKD_V4
331 bool
332 depends on NFSD_V3 || NFS_V3
333 default y
334
335config EXPORTFS
336 tristate
337
a257cdd0
AG
338config NFS_ACL_SUPPORT
339 tristate
340 select FS_POSIX_ACL
341
342config NFS_COMMON
343 bool
344 depends on NFSD || NFS_FS
345 default y
346
1da177e4
LT
347config SUNRPC
348 tristate
349
350config SUNRPC_GSS
351 tristate
352
c3a57ed7 353config SUNRPC_XPRT_RDMA
3211e4eb 354 tristate
113632d0 355 depends on SUNRPC && INFINIBAND && EXPERIMENTAL
3211e4eb 356 default SUNRPC && INFINIBAND
327a299d
CL
357 help
358 This option enables an RPC client transport capability that
359 allows the NFS client to mount servers via an RDMA-enabled
360 transport.
361
362 To compile RPC client RDMA transport support as a module,
363 choose M here: the module will be called xprtrdma.
364
365 If unsure, say N.
c3a57ed7 366
a26cfad6
CL
367config SUNRPC_REGISTER_V4
368 bool "Register local RPC services via rpcbind v4 (EXPERIMENTAL)"
369 depends on SUNRPC && EXPERIMENTAL
370 default n
371 help
372 Sun added support for registering RPC services at an IPv6
373 address by creating two new versions of the rpcbind protocol
374 (RFC 1833).
375
376 This option enables support in the kernel RPC server for
377 registering kernel RPC services via version 4 of the rpcbind
378 protocol. If you enable this option, you must run a portmapper
379 daemon that supports rpcbind protocol version 4.
380
381 Serving NFS over IPv6 from knfsd (the kernel's NFS server)
382 requires that you enable this option and use a portmapper that
383 supports rpcbind version 4.
384
385 If unsure, say N to get traditional behavior (register kernel
386 RPC services using only rpcbind version 2). Distributions
387 using the legacy Linux portmapper daemon must say N here.
388
1da177e4
LT
389config RPCSEC_GSS_KRB5
390 tristate "Secure RPC: Kerberos V mechanism (EXPERIMENTAL)"
391 depends on SUNRPC && EXPERIMENTAL
392 select SUNRPC_GSS
393 select CRYPTO
394 select CRYPTO_MD5
395 select CRYPTO_DES
bcbaecbb 396 select CRYPTO_CBC
1da177e4 397 help
327a299d
CL
398 Choose Y here to enable Secure RPC using the Kerberos version 5
399 GSS-API mechanism (RFC 1964).
1da177e4 400
327a299d
CL
401 Secure RPC calls with Kerberos require an auxiliary user-space
402 daemon which may be found in the Linux nfs-utils package
403 available from http://linux-nfs.org/. In addition, user-space
404 Kerberos support should be installed.
1da177e4
LT
405
406 If unsure, say N.
407
408config RPCSEC_GSS_SPKM3
409 tristate "Secure RPC: SPKM3 mechanism (EXPERIMENTAL)"
410 depends on SUNRPC && EXPERIMENTAL
411 select SUNRPC_GSS
412 select CRYPTO
413 select CRYPTO_MD5
414 select CRYPTO_DES
df6db302 415 select CRYPTO_CAST5
bcbaecbb 416 select CRYPTO_CBC
1da177e4 417 help
327a299d
CL
418 Choose Y here to enable Secure RPC using the SPKM3 public key
419 GSS-API mechansim (RFC 2025).
1da177e4 420
327a299d
CL
421 Secure RPC calls with SPKM3 require an auxiliary userspace
422 daemon which may be found in the Linux nfs-utils package
423 available from http://linux-nfs.org/.
1da177e4
LT
424
425 If unsure, say N.
426
427config SMB_FS
c7736339 428 tristate "SMB file system support (OBSOLETE, please use CIFS)"
1da177e4
LT
429 depends on INET
430 select NLS
431 help
432 SMB (Server Message Block) is the protocol Windows for Workgroups
433 (WfW), Windows 95/98, Windows NT and OS/2 Lan Manager use to share
434 files and printers over local networks. Saying Y here allows you to
435 mount their file systems (often called "shares" in this context) and
436 access them just like any other Unix directory. Currently, this
437 works only if the Windows machines use TCP/IP as the underlying
438 transport protocol, and not NetBEUI. For details, read
439 <file:Documentation/filesystems/smbfs.txt> and the SMB-HOWTO,
440 available from <http://www.tldp.org/docs.html#howto>.
441
442 Note: if you just want your box to act as an SMB *server* and make
443 files and printing services available to Windows clients (which need
444 to have a TCP/IP stack), you don't need to say Y here; you can use
445 the program SAMBA (available from <ftp://ftp.samba.org/pub/samba/>)
446 for that.
447
448 General information about how to connect Linux, Windows machines and
449 Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>.
450
c7736339
AM
451 To compile the SMB support as a module, choose M here:
452 the module will be called smbfs. Most people say N, however.
1da177e4
LT
453
454config SMB_NLS_DEFAULT
455 bool "Use a default NLS"
456 depends on SMB_FS
457 help
458 Enabling this will make smbfs use nls translations by default. You
459 need to specify the local charset (CONFIG_NLS_DEFAULT) in the nls
460 settings and you need to give the default nls for the SMB server as
461 CONFIG_SMB_NLS_REMOTE.
462
463 The nls settings can be changed at mount time, if your smbmount
464 supports that, using the codepage and iocharset parameters.
465
466 smbmount from samba 2.2.0 or later supports this.
467
468config SMB_NLS_REMOTE
469 string "Default Remote NLS Option"
470 depends on SMB_NLS_DEFAULT
471 default "cp437"
472 help
473 This setting allows you to specify a default value for which
474 codepage the server uses. If this field is left blank no
475 translations will be done by default. The local codepage/charset
476 default to CONFIG_NLS_DEFAULT.
477
478 The nls settings can be changed at mount time, if your smbmount
479 supports that, using the codepage and iocharset parameters.
480
481 smbmount from samba 2.2.0 or later supports this.
482
bb26b963 483source "fs/cifs/Kconfig"
6103335d 484
1da177e4
LT
485config NCP_FS
486 tristate "NCP file system support (to mount NetWare volumes)"
487 depends on IPX!=n || INET
488 help
489 NCP (NetWare Core Protocol) is a protocol that runs over IPX and is
490 used by Novell NetWare clients to talk to file servers. It is to
491 IPX what NFS is to TCP/IP, if that helps. Saying Y here allows you
492 to mount NetWare file server volumes and to access them just like
493 any other Unix directory. For details, please read the file
494 <file:Documentation/filesystems/ncpfs.txt> in the kernel source and
495 the IPX-HOWTO from <http://www.tldp.org/docs.html#howto>.
496
497 You do not have to say Y here if you want your Linux box to act as a
498 file *server* for Novell NetWare clients.
499
500 General information about how to connect Linux, Windows machines and
501 Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>.
502
503 To compile this as a module, choose M here: the module will be called
504 ncpfs. Say N unless you are connected to a Novell network.
505
506source "fs/ncpfs/Kconfig"
507
508config CODA_FS
509 tristate "Coda file system support (advanced network fs)"
510 depends on INET
511 help
512 Coda is an advanced network file system, similar to NFS in that it
513 enables you to mount file systems of a remote server and access them
514 with regular Unix commands as if they were sitting on your hard
515 disk. Coda has several advantages over NFS: support for
516 disconnected operation (e.g. for laptops), read/write server
517 replication, security model for authentication and encryption,
518 persistent client caches and write back caching.
519
520 If you say Y here, your Linux box will be able to act as a Coda
521 *client*. You will need user level code as well, both for the
522 client and server. Servers are currently user level, i.e. they need
523 no kernel support. Please read
524 <file:Documentation/filesystems/coda.txt> and check out the Coda
525 home page <http://www.coda.cs.cmu.edu/>.
526
527 To compile the coda client support as a module, choose M here: the
528 module will be called coda.
529
1da177e4 530config AFS_FS
64aaa4f8 531 tristate "Andrew File System support (AFS) (EXPERIMENTAL)"
1da177e4 532 depends on INET && EXPERIMENTAL
08e0e7c8 533 select AF_RXRPC
1da177e4
LT
534 help
535 If you say Y here, you will get an experimental Andrew File System
536 driver. It currently only supports unsecured read-only AFS access.
537
cc2e2767 538 See <file:Documentation/filesystems/afs.txt> for more information.
1da177e4
LT
539
540 If unsure, say N.
541
08e0e7c8
DH
542config AFS_DEBUG
543 bool "AFS dynamic debugging"
544 depends on AFS_FS
545 help
546 Say Y here to make runtime controllable debugging messages appear.
547
548 See <file:Documentation/filesystems/afs.txt> for more information.
549
550 If unsure, say N.
551
93fa58cb
EVH
552config 9P_FS
553 tristate "Plan 9 Resource Sharing Support (9P2000) (Experimental)"
bd238fb4 554 depends on INET && NET_9P && EXPERIMENTAL
93fa58cb
EVH
555 help
556 If you say Y here, you will get experimental support for
557 Plan 9 resource sharing via the 9P2000 protocol.
558
559 See <http://v9fs.sf.net> for more information.
560
561 If unsure, say N.
562
ea0985ad 563endif # NETWORK_FILESYSTEMS
1da177e4 564
9361401e 565if BLOCK
1da177e4
LT
566menu "Partition Types"
567
568source "fs/partitions/Kconfig"
569
570endmenu
9361401e 571endif
1da177e4
LT
572
573source "fs/nls/Kconfig"
e7fd4179 574source "fs/dlm/Kconfig"
1da177e4
LT
575
576endmenu