fs/Kconfig: move sysv 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
225 config UFS_FS
226         tristate "UFS file system support (read only)"
227         depends on BLOCK
228         help
229           BSD and derivate versions of Unix (such as SunOS, FreeBSD, NetBSD,
230           OpenBSD and NeXTstep) use a file system called UFS. Some System V
231           Unixes can create and mount hard disk partitions and diskettes using
232           this file system as well. Saying Y here will allow you to read from
233           these partitions; if you also want to write to them, say Y to the
234           experimental "UFS file system write support", below. Please read the
235           file <file:Documentation/filesystems/ufs.txt> for more information.
236
237           The recently released UFS2 variant (used in FreeBSD 5.x) is
238           READ-ONLY supported.
239
240           Note that this option is generally not needed for floppies, since a
241           good portable way to transport files and directories between unixes
242           (and even other operating systems) is given by the tar program ("man
243           tar" or preferably "info tar").
244
245           When accessing NeXTstep files, you may need to convert them from the
246           NeXT character set to the Latin1 character set; use the program
247           recode ("info recode") for this purpose.
248
249           To compile the UFS file system support as a module, choose M here: the
250           module will be called ufs.
251
252           If you haven't heard about all of this before, it's safe to say N.
253
254 config UFS_FS_WRITE
255         bool "UFS file system write support (DANGEROUS)"
256         depends on UFS_FS && EXPERIMENTAL
257         help
258           Say Y here if you want to try writing to UFS partitions. This is
259           experimental, so you should back up your UFS partitions beforehand.
260
261 config UFS_DEBUG
262         bool "UFS debugging"
263         depends on UFS_FS
264         help
265           If you are experiencing any problems with the UFS filesystem, say
266           Y here.  This will result in _many_ additional debugging messages to be
267           written to the system log.
268
269 endif # MISC_FILESYSTEMS
270
271 menuconfig NETWORK_FILESYSTEMS
272         bool "Network File Systems"
273         default y
274         depends on NET
275         ---help---
276           Say Y here to get to see options for network filesystems and
277           filesystem-related networking code, such as NFS daemon and
278           RPCSEC security modules.
279
280           This option alone does not add any kernel code.
281
282           If you say N, all options in this submenu will be skipped and
283           disabled; if unsure, say Y here.
284
285 if NETWORK_FILESYSTEMS
286
287 config NFS_FS
288         tristate "NFS client support"
289         depends on INET
290         select LOCKD
291         select SUNRPC
292         select NFS_ACL_SUPPORT if NFS_V3_ACL
293         help
294           Choose Y here if you want to access files residing on other
295           computers using Sun's Network File System protocol.  To compile
296           this file system support as a module, choose M here: the module
297           will be called nfs.
298
299           To mount file systems exported by NFS servers, you also need to
300           install the user space mount.nfs command which can be found in
301           the Linux nfs-utils package, available from http://linux-nfs.org/.
302           Information about using the mount command is available in the
303           mount(8) man page.  More detail about the Linux NFS client
304           implementation is available via the nfs(5) man page.
305
306           Below you can choose which versions of the NFS protocol are
307           available in the kernel to mount NFS servers.  Support for NFS
308           version 2 (RFC 1094) is always available when NFS_FS is selected.
309
310           To configure a system which mounts its root file system via NFS
311           at boot time, say Y here, select "Kernel level IP
312           autoconfiguration" in the NETWORK menu, and select "Root file
313           system on NFS" below.  You cannot compile this file system as a
314           module in this case.
315
316           If unsure, say N.
317
318 config NFS_V3
319         bool "NFS client support for NFS version 3"
320         depends on NFS_FS
321         help
322           This option enables support for version 3 of the NFS protocol
323           (RFC 1813) in the kernel's NFS client.
324
325           If unsure, say Y.
326
327 config NFS_V3_ACL
328         bool "NFS client support for the NFSv3 ACL protocol extension"
329         depends on NFS_V3
330         help
331           Some NFS servers support an auxiliary NFSv3 ACL protocol that
332           Sun added to Solaris but never became an official part of the
333           NFS version 3 protocol.  This protocol extension allows
334           applications on NFS clients to manipulate POSIX Access Control
335           Lists on files residing on NFS servers.  NFS servers enforce
336           ACLs on local files whether this protocol is available or not.
337
338           Choose Y here if your NFS server supports the Solaris NFSv3 ACL
339           protocol extension and you want your NFS client to allow
340           applications to access and modify ACLs on files on the server.
341
342           Most NFS servers don't support the Solaris NFSv3 ACL protocol
343           extension.  You can choose N here or specify the "noacl" mount
344           option to prevent your NFS client from trying to use the NFSv3
345           ACL protocol.
346
347           If unsure, say N.
348
349 config NFS_V4
350         bool "NFS client support for NFS version 4 (EXPERIMENTAL)"
351         depends on NFS_FS && EXPERIMENTAL
352         select RPCSEC_GSS_KRB5
353         help
354           This option enables support for version 4 of the NFS protocol
355           (RFC 3530) in the kernel's NFS client.
356
357           To mount NFS servers using NFSv4, you also need to install user
358           space programs which can be found in the Linux nfs-utils package,
359           available from http://linux-nfs.org/.
360
361           If unsure, say N.
362
363 config ROOT_NFS
364         bool "Root file system on NFS"
365         depends on NFS_FS=y && IP_PNP
366         help
367           If you want your system to mount its root file system via NFS,
368           choose Y here.  This is common practice for managing systems
369           without local permanent storage.  For details, read
370           <file:Documentation/filesystems/nfsroot.txt>.
371
372           Most people say N here.
373
374 config NFSD
375         tristate "NFS server support"
376         depends on INET
377         select LOCKD
378         select SUNRPC
379         select EXPORTFS
380         select NFS_ACL_SUPPORT if NFSD_V2_ACL
381         help
382           Choose Y here if you want to allow other computers to access
383           files residing on this system using Sun's Network File System
384           protocol.  To compile the NFS server support as a module,
385           choose M here: the module will be called nfsd.
386
387           You may choose to use a user-space NFS server instead, in which
388           case you can choose N here.
389
390           To export local file systems using NFS, you also need to install
391           user space programs which can be found in the Linux nfs-utils
392           package, available from http://linux-nfs.org/.  More detail about
393           the Linux NFS server implementation is available via the
394           exports(5) man page.
395
396           Below you can choose which versions of the NFS protocol are
397           available to clients mounting the NFS server on this system.
398           Support for NFS version 2 (RFC 1094) is always available when
399           CONFIG_NFSD is selected.
400
401           If unsure, say N.
402
403 config NFSD_V2_ACL
404         bool
405         depends on NFSD
406
407 config NFSD_V3
408         bool "NFS server support for NFS version 3"
409         depends on NFSD
410         help
411           This option enables support in your system's NFS server for
412           version 3 of the NFS protocol (RFC 1813).
413
414           If unsure, say Y.
415
416 config NFSD_V3_ACL
417         bool "NFS server support for the NFSv3 ACL protocol extension"
418         depends on NFSD_V3
419         select NFSD_V2_ACL
420         help
421           Solaris NFS servers support an auxiliary NFSv3 ACL protocol that
422           never became an official part of the NFS version 3 protocol.
423           This protocol extension allows applications on NFS clients to
424           manipulate POSIX Access Control Lists on files residing on NFS
425           servers.  NFS servers enforce POSIX ACLs on local files whether
426           this protocol is available or not.
427
428           This option enables support in your system's NFS server for the
429           NFSv3 ACL protocol extension allowing NFS clients to manipulate
430           POSIX ACLs on files exported by your system's NFS server.  NFS
431           clients which support the Solaris NFSv3 ACL protocol can then
432           access and modify ACLs on your NFS server.
433
434           To store ACLs on your NFS server, you also need to enable ACL-
435           related CONFIG options for your local file systems of choice.
436
437           If unsure, say N.
438
439 config NFSD_V4
440         bool "NFS server support for NFS version 4 (EXPERIMENTAL)"
441         depends on NFSD && PROC_FS && EXPERIMENTAL
442         select NFSD_V3
443         select FS_POSIX_ACL
444         select RPCSEC_GSS_KRB5
445         help
446           This option enables support in your system's NFS server for
447           version 4 of the NFS protocol (RFC 3530).
448
449           To export files using NFSv4, you need to install additional user
450           space programs which can be found in the Linux nfs-utils package,
451           available from http://linux-nfs.org/.
452
453           If unsure, say N.
454
455 config LOCKD
456         tristate
457
458 config LOCKD_V4
459         bool
460         depends on NFSD_V3 || NFS_V3
461         default y
462
463 config EXPORTFS
464         tristate
465
466 config NFS_ACL_SUPPORT
467         tristate
468         select FS_POSIX_ACL
469
470 config NFS_COMMON
471         bool
472         depends on NFSD || NFS_FS
473         default y
474
475 config SUNRPC
476         tristate
477
478 config SUNRPC_GSS
479         tristate
480
481 config SUNRPC_XPRT_RDMA
482         tristate
483         depends on SUNRPC && INFINIBAND && EXPERIMENTAL
484         default SUNRPC && INFINIBAND
485         help
486           This option enables an RPC client transport capability that
487           allows the NFS client to mount servers via an RDMA-enabled
488           transport.
489
490           To compile RPC client RDMA transport support as a module,
491           choose M here: the module will be called xprtrdma.
492
493           If unsure, say N.
494
495 config SUNRPC_REGISTER_V4
496         bool "Register local RPC services via rpcbind v4 (EXPERIMENTAL)"
497         depends on SUNRPC && EXPERIMENTAL
498         default n
499         help
500           Sun added support for registering RPC services at an IPv6
501           address by creating two new versions of the rpcbind protocol
502           (RFC 1833).
503
504           This option enables support in the kernel RPC server for
505           registering kernel RPC services via version 4 of the rpcbind
506           protocol.  If you enable this option, you must run a portmapper
507           daemon that supports rpcbind protocol version 4.
508
509           Serving NFS over IPv6 from knfsd (the kernel's NFS server)
510           requires that you enable this option and use a portmapper that
511           supports rpcbind version 4.
512
513           If unsure, say N to get traditional behavior (register kernel
514           RPC services using only rpcbind version 2).  Distributions
515           using the legacy Linux portmapper daemon must say N here.
516
517 config RPCSEC_GSS_KRB5
518         tristate "Secure RPC: Kerberos V mechanism (EXPERIMENTAL)"
519         depends on SUNRPC && EXPERIMENTAL
520         select SUNRPC_GSS
521         select CRYPTO
522         select CRYPTO_MD5
523         select CRYPTO_DES
524         select CRYPTO_CBC
525         help
526           Choose Y here to enable Secure RPC using the Kerberos version 5
527           GSS-API mechanism (RFC 1964).
528
529           Secure RPC calls with Kerberos require an auxiliary user-space
530           daemon which may be found in the Linux nfs-utils package
531           available from http://linux-nfs.org/.  In addition, user-space
532           Kerberos support should be installed.
533
534           If unsure, say N.
535
536 config RPCSEC_GSS_SPKM3
537         tristate "Secure RPC: SPKM3 mechanism (EXPERIMENTAL)"
538         depends on SUNRPC && EXPERIMENTAL
539         select SUNRPC_GSS
540         select CRYPTO
541         select CRYPTO_MD5
542         select CRYPTO_DES
543         select CRYPTO_CAST5
544         select CRYPTO_CBC
545         help
546           Choose Y here to enable Secure RPC using the SPKM3 public key
547           GSS-API mechansim (RFC 2025).
548
549           Secure RPC calls with SPKM3 require an auxiliary userspace
550           daemon which may be found in the Linux nfs-utils package
551           available from http://linux-nfs.org/.
552
553           If unsure, say N.
554
555 config SMB_FS
556         tristate "SMB file system support (OBSOLETE, please use CIFS)"
557         depends on INET
558         select NLS
559         help
560           SMB (Server Message Block) is the protocol Windows for Workgroups
561           (WfW), Windows 95/98, Windows NT and OS/2 Lan Manager use to share
562           files and printers over local networks.  Saying Y here allows you to
563           mount their file systems (often called "shares" in this context) and
564           access them just like any other Unix directory.  Currently, this
565           works only if the Windows machines use TCP/IP as the underlying
566           transport protocol, and not NetBEUI.  For details, read
567           <file:Documentation/filesystems/smbfs.txt> and the SMB-HOWTO,
568           available from <http://www.tldp.org/docs.html#howto>.
569
570           Note: if you just want your box to act as an SMB *server* and make
571           files and printing services available to Windows clients (which need
572           to have a TCP/IP stack), you don't need to say Y here; you can use
573           the program SAMBA (available from <ftp://ftp.samba.org/pub/samba/>)
574           for that.
575
576           General information about how to connect Linux, Windows machines and
577           Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>.
578
579           To compile the SMB support as a module, choose M here:
580           the module will be called smbfs.  Most people say N, however.
581
582 config SMB_NLS_DEFAULT
583         bool "Use a default NLS"
584         depends on SMB_FS
585         help
586           Enabling this will make smbfs use nls translations by default. You
587           need to specify the local charset (CONFIG_NLS_DEFAULT) in the nls
588           settings and you need to give the default nls for the SMB server as
589           CONFIG_SMB_NLS_REMOTE.
590
591           The nls settings can be changed at mount time, if your smbmount
592           supports that, using the codepage and iocharset parameters.
593
594           smbmount from samba 2.2.0 or later supports this.
595
596 config SMB_NLS_REMOTE
597         string "Default Remote NLS Option"
598         depends on SMB_NLS_DEFAULT
599         default "cp437"
600         help
601           This setting allows you to specify a default value for which
602           codepage the server uses. If this field is left blank no
603           translations will be done by default. The local codepage/charset
604           default to CONFIG_NLS_DEFAULT.
605
606           The nls settings can be changed at mount time, if your smbmount
607           supports that, using the codepage and iocharset parameters.
608
609           smbmount from samba 2.2.0 or later supports this.
610
611 source "fs/cifs/Kconfig"
612
613 config NCP_FS
614         tristate "NCP file system support (to mount NetWare volumes)"
615         depends on IPX!=n || INET
616         help
617           NCP (NetWare Core Protocol) is a protocol that runs over IPX and is
618           used by Novell NetWare clients to talk to file servers.  It is to
619           IPX what NFS is to TCP/IP, if that helps.  Saying Y here allows you
620           to mount NetWare file server volumes and to access them just like
621           any other Unix directory.  For details, please read the file
622           <file:Documentation/filesystems/ncpfs.txt> in the kernel source and
623           the IPX-HOWTO from <http://www.tldp.org/docs.html#howto>.
624
625           You do not have to say Y here if you want your Linux box to act as a
626           file *server* for Novell NetWare clients.
627
628           General information about how to connect Linux, Windows machines and
629           Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>.
630
631           To compile this as a module, choose M here: the module will be called
632           ncpfs.  Say N unless you are connected to a Novell network.
633
634 source "fs/ncpfs/Kconfig"
635
636 config CODA_FS
637         tristate "Coda file system support (advanced network fs)"
638         depends on INET
639         help
640           Coda is an advanced network file system, similar to NFS in that it
641           enables you to mount file systems of a remote server and access them
642           with regular Unix commands as if they were sitting on your hard
643           disk.  Coda has several advantages over NFS: support for
644           disconnected operation (e.g. for laptops), read/write server
645           replication, security model for authentication and encryption,
646           persistent client caches and write back caching.
647
648           If you say Y here, your Linux box will be able to act as a Coda
649           *client*.  You will need user level code as well, both for the
650           client and server.  Servers are currently user level, i.e. they need
651           no kernel support.  Please read
652           <file:Documentation/filesystems/coda.txt> and check out the Coda
653           home page <http://www.coda.cs.cmu.edu/>.
654
655           To compile the coda client support as a module, choose M here: the
656           module will be called coda.
657
658 config AFS_FS
659         tristate "Andrew File System support (AFS) (EXPERIMENTAL)"
660         depends on INET && EXPERIMENTAL
661         select AF_RXRPC
662         help
663           If you say Y here, you will get an experimental Andrew File System
664           driver. It currently only supports unsecured read-only AFS access.
665
666           See <file:Documentation/filesystems/afs.txt> for more information.
667
668           If unsure, say N.
669
670 config AFS_DEBUG
671         bool "AFS dynamic debugging"
672         depends on AFS_FS
673         help
674           Say Y here to make runtime controllable debugging messages appear.
675
676           See <file:Documentation/filesystems/afs.txt> for more information.
677
678           If unsure, say N.
679
680 config 9P_FS
681         tristate "Plan 9 Resource Sharing Support (9P2000) (Experimental)"
682         depends on INET && NET_9P && EXPERIMENTAL
683         help
684           If you say Y here, you will get experimental support for
685           Plan 9 resource sharing via the 9P2000 protocol.
686
687           See <http://v9fs.sf.net> for more information.
688
689           If unsure, say N.
690
691 endif # NETWORK_FILESYSTEMS
692
693 if BLOCK
694 menu "Partition Types"
695
696 source "fs/partitions/Kconfig"
697
698 endmenu
699 endif
700
701 source "fs/nls/Kconfig"
702 source "fs/dlm/Kconfig"
703
704 endmenu