]> bbs.cooldavid.org Git - net-next-2.6.git/blame - fs/Kconfig
fs/Kconfig: move nfsd 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"
e2b329e2 245source "fs/nfsd/Kconfig"
1da177e4 246
1da177e4
LT
247config LOCKD
248 tristate
249
250config LOCKD_V4
251 bool
252 depends on NFSD_V3 || NFS_V3
253 default y
254
255config EXPORTFS
256 tristate
257
a257cdd0
AG
258config NFS_ACL_SUPPORT
259 tristate
260 select FS_POSIX_ACL
261
262config NFS_COMMON
263 bool
264 depends on NFSD || NFS_FS
265 default y
266
1da177e4
LT
267config SUNRPC
268 tristate
269
270config SUNRPC_GSS
271 tristate
272
c3a57ed7 273config SUNRPC_XPRT_RDMA
3211e4eb 274 tristate
113632d0 275 depends on SUNRPC && INFINIBAND && EXPERIMENTAL
3211e4eb 276 default SUNRPC && INFINIBAND
327a299d
CL
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.
c3a57ed7 286
a26cfad6
CL
287config 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
1da177e4
LT
309config 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
bcbaecbb 316 select CRYPTO_CBC
1da177e4 317 help
327a299d
CL
318 Choose Y here to enable Secure RPC using the Kerberos version 5
319 GSS-API mechanism (RFC 1964).
1da177e4 320
327a299d
CL
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.
1da177e4
LT
325
326 If unsure, say N.
327
328config 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
df6db302 335 select CRYPTO_CAST5
bcbaecbb 336 select CRYPTO_CBC
1da177e4 337 help
327a299d
CL
338 Choose Y here to enable Secure RPC using the SPKM3 public key
339 GSS-API mechansim (RFC 2025).
1da177e4 340
327a299d
CL
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/.
1da177e4
LT
344
345 If unsure, say N.
346
347config SMB_FS
c7736339 348 tristate "SMB file system support (OBSOLETE, please use CIFS)"
1da177e4
LT
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
c7736339
AM
371 To compile the SMB support as a module, choose M here:
372 the module will be called smbfs. Most people say N, however.
1da177e4
LT
373
374config 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
388config 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
bb26b963 403source "fs/cifs/Kconfig"
6103335d 404
1da177e4
LT
405config 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
426source "fs/ncpfs/Kconfig"
427
428config 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
1da177e4 450config AFS_FS
64aaa4f8 451 tristate "Andrew File System support (AFS) (EXPERIMENTAL)"
1da177e4 452 depends on INET && EXPERIMENTAL
08e0e7c8 453 select AF_RXRPC
1da177e4
LT
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
cc2e2767 458 See <file:Documentation/filesystems/afs.txt> for more information.
1da177e4
LT
459
460 If unsure, say N.
461
08e0e7c8
DH
462config 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
93fa58cb
EVH
472config 9P_FS
473 tristate "Plan 9 Resource Sharing Support (9P2000) (Experimental)"
bd238fb4 474 depends on INET && NET_9P && EXPERIMENTAL
93fa58cb
EVH
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
ea0985ad 483endif # NETWORK_FILESYSTEMS
1da177e4 484
9361401e 485if BLOCK
1da177e4
LT
486menu "Partition Types"
487
488source "fs/partitions/Kconfig"
489
490endmenu
9361401e 491endif
1da177e4
LT
492
493source "fs/nls/Kconfig"
e7fd4179 494source "fs/dlm/Kconfig"
1da177e4
LT
495
496endmenu