This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / fs / Kconfig
index 27c9018..234fa74 100644 (file)
@@ -7,47 +7,14 @@ menu "File systems"
 config EXT2_FS
        tristate "Second extended fs support"
        help
-         This is the de facto standard Linux file system (method to organize
-         files on a storage device) for hard disks.
-
-         You want to say Y here, unless you intend to use Linux exclusively
-         from inside a DOS partition using the UMSDOS file system. The
-         advantage of the latter is that you can get away without
-         repartitioning your hard drive (which often implies backing
-         everything up and restoring afterwards); the disadvantage is that
-         Linux becomes susceptible to DOS viruses and that UMSDOS is somewhat
-         slower than ext2fs. Even if you want to run Linux in this fashion,
-         it might be a good idea to have ext2fs around: it enables you to
-         read more floppy disks and facilitates the transition to a *real*
-         Linux partition later. Another (rare) case which doesn't require
-         ext2fs is a diskless Linux box which mounts all files over the
-         network using NFS (in this case it's sufficient to say Y to "NFS
-         file system support" below). Saying Y here will enlarge your kernel
-         by about 44 KB.
-
-         The Ext2fs-Undeletion mini-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>, gives information about
-         how to retrieve deleted files on ext2fs file systems.
-
-         To change the behavior of ext2 file systems, you can use the tune2fs
-         utility ("man tune2fs"). To modify attributes of files and
-         directories on ext2 file systems, use chattr ("man chattr").
-
-         Ext2fs partitions can be read from within DOS using the ext2tool
-         command line tool package (available from
-         <ftp://ibiblio.org/pub/Linux/system/filesystems/ext2/>) and from
-         within Windows NT using the ext2nt command line tool package from
-         <ftp://ibiblio.org/pub/Linux/utils/dos/>.  Explore2fs is a
-         graphical explorer for ext2fs partitions which runs on Windows 95
-         and Windows NT and includes experimental write support; it is
-         available from
-         <http://jnewbigin-pc.it.swin.edu.au/Linux/Explore2fs.htm>.
+         Ext2 is a standard Linux file system for hard disks.
 
          To compile this file system support as a module, choose M here: the
          module will be called ext2.  Be aware however that the file system
          of your root partition (the one containing the directory /) cannot
-         be compiled as a module, and so this could be dangerous.  Most
-         everyone wants to say Y here.
+         be compiled as a module, and so this could be dangerous.
+
+         If unsure, say Y.
 
 config EXT2_FS_XATTR
        bool "Ext2 extended attributes"
@@ -322,7 +289,7 @@ config FS_POSIX_ACL
 #      Never use this symbol for ifdefs.
 #
        bool
-       depends on EXT2_FS_POSIX_ACL || EXT3_FS_POSIX_ACL || JFS_POSIX_ACL || REISERFS_FS_POSIX_ACL
+       depends on EXT2_FS_POSIX_ACL || EXT3_FS_POSIX_ACL || JFS_POSIX_ACL || REISERFS_FS_POSIX_ACL || NFSD_V4
        default y
 
 config XFS_FS
@@ -471,6 +438,17 @@ config QUOTACTL
        depends on XFS_QUOTA || QUOTA
        default y
 
+config DNOTIFY
+       bool "Dnotify support" if EMBEDDED
+       default y
+       help
+         Dnotify is a directory-based per-fd file change notification system
+         that uses signals to communicate events to user-space.  There exist
+         superior alternatives, but some applications may still rely on
+         dnotify.
+
+         Because of this, if unsure, say Y.
+
 config AUTOFS_FS
        tristate "Kernel automounter support"
        help
@@ -575,12 +553,17 @@ config UDF_FS
 
          If unsure, say N.
 
+config UDF_NLS
+       bool
+       default y
+       depends on (UDF_FS=m && NLS) || (UDF_FS=y && NLS=y)
+
 endmenu
 
 menu "DOS/FAT/NT Filesystems"
 
 config FAT_FS
-       tristate "DOS FAT fs support"
+       tristate
        select NLS
        help
          If you want to use one of the FAT-based file systems (the MS-DOS,
@@ -623,7 +606,7 @@ config FAT_FS
 
 config MSDOS_FS
        tristate "MSDOS fs support"
-       depends on FAT_FS
+       select FAT_FS
        help
          This allows you to mount MSDOS partitions of your hard drive (unless
          they are compressed; to access compressed MSDOS partitions under
@@ -652,7 +635,7 @@ config MSDOS_FS
 
 config VFAT_FS
        tristate "VFAT (Windows-95) fs support"
-       depends on FAT_FS
+       select FAT_FS
        help
          This option provides support for normal Windows file systems with
          long filenames.  That includes non-compressed FAT-based file systems
@@ -672,6 +655,28 @@ config VFAT_FS
          To compile this as a module, choose M here: the module will be called
          vfat.
 
+config FAT_DEFAULT_CODEPAGE
+       int "Default codepage for FAT"
+       depends on MSDOS_FS || VFAT_FS
+       default 437
+       help
+         This option should be set to the codepage of your FAT filesystems.
+         It can be overridden with the "codepage" mount option.
+         See <file:Documentation/filesystems/vfat.txt> for more information.
+
+config FAT_DEFAULT_IOCHARSET
+       string "Default iocharset for FAT"
+       depends on VFAT_FS
+       default "iso8859-1"
+       help
+         Set this to the default input/output character set you'd
+         like FAT to use. It should probably match the character set
+         that most of your FAT filesystems use, and can be overridden
+         with the "iocharset" mount option for FAT filesystems.
+         Note that "utf8" is not recommended for FAT filesystems.
+         If unsure, you shouldn't set "utf8" here.
+         See <file:Documentation/filesystems/vfat.txt> for more information.
+
 config UMSDOS_FS
 #dep_tristate '    UMSDOS: Unix-like file system on top of standard MSDOS fs' CONFIG_UMSDOS_FS $CONFIG_MSDOS_FS
 # UMSDOS is temprory broken
@@ -814,8 +819,8 @@ config PROC_FS
          programs depend on this, so everyone should say Y here.
 
 config PROC_KCORE
-       bool
-       default y if !ARM
+       bool "/proc/kcore support" if !ARM
+       depends on PROC_FS && MMU
 
 config SYSFS
        bool "sysfs file system support" if EMBEDDED
@@ -925,6 +930,27 @@ config TMPFS
 
          See <file:Documentation/filesystems/tmpfs.txt> for details.
 
+config TMPFS_XATTR
+       bool "tmpfs Extended Attributes"
+       depends on TMPFS
+       help
+         Extended attributes are name:value pairs associated with inodes by
+         the kernel or by users (see the attr(5) manual page, or visit
+         <http://acl.bestbits.at/> for details).
+
+         If unsure, say N.
+
+config TMPFS_SECURITY
+       bool "tmpfs Security Labels"
+       depends on TMPFS_XATTR
+       help
+         Security labels support alternative access control models
+         implemented by security modules like SELinux.  This option
+         enables an extended attribute handler for file security
+         labels in the tmpfs filesystem.
+         If you are not using a security module that requires using
+         extended attributes for file security labels, say N.
+
 config HUGETLBFS
        bool "HugeTLB file system support"
        depends X86 || IA64 || PPC64 || SPARC64 || SUPERH || X86_64 || BROKEN
@@ -946,6 +972,56 @@ config RAMFS
          To compile this as a module, choose M here: the module will be called
          ramfs.
 
+config RELAYFS_FS
+       tristate "Relayfs file system support"
+       ---help---
+         Relayfs is a high-speed data relay filesystem designed to provide
+         an efficient mechanism for tools and facilities to relay large
+         amounts of data from kernel space to user space.  It's not useful
+         on its own, and should only be enabled if other facilities that
+         need it are enabled, such as for example klog or the Linux Trace
+         Toolkit.
+
+         See <file:Documentation/filesystems/relayfs.txt> for further
+         information.
+
+         This file system is also available as a module ( = code which can be
+         inserted in and removed from the running kernel whenever you want).
+         The module is called relayfs.  If you want to compile it as a
+         module, say M here and read <file:Documentation/modules.txt>.
+
+         If unsure, say N.
+
+config KLOG_CHANNEL
+       bool "Enable klog debugging support"
+       depends on RELAYFS_FS
+       help
+         If you say Y to this, a relayfs channel named klog will be created
+         in the root of the relayfs file system.  You can write to the klog
+         channel using klog() or klog_raw() from within the kernel or
+         kernel modules, and read from the klog channel by mounting relayfs
+         and using read(2) to read from it (or using cat).  If you're not  
+         sure, say N.
+
+config KLOG_CHANNEL_AUTOENABLE
+       bool "Enable klog logging on startup"
+       depends on KLOG_CHANNEL
+       default y
+       help
+         If you say Y to this, the klog channel will be automatically enabled
+         on startup.  Otherwise, to turn klog logging on, you need use
+         sysctl (fs.relayfs.klog_enabled).  This option is used in cases where
+         you don't actually want the channel to be written to until it's
+         enabled.  If you're not sure, say Y.
+
+config KLOG_CHANNEL_SHIFT
+       depends on KLOG_CHANNEL
+       int "klog debugging channel size (14 => 16KB, 22 => 4MB)"
+       range 14 22
+       default 21
+       help
+         Select klog debugging channel size as a power of 2.
+
 endmenu
 
 menu "Miscellaneous filesystems"
@@ -1106,17 +1182,15 @@ config JFFS_FS_VERBOSE
 
 config JFFS_PROC_FS
        bool "JFFS stats available in /proc filesystem"
-       depends on JFFS_FS && PROC
+       depends on JFFS_FS && PROC_FS
        help
          Enabling this option will cause statistics from mounted JFFS file systems
          to be made available to the user in the /proc/fs/jffs/ directory.
 
 config JFFS2_FS
        tristate "Journalling Flash File System v2 (JFFS2) support"
-       depends on MTD
        select CRC32
-       select ZLIB_INFLATE
-       select ZLIB_DEFLATE
+       depends on MTD
        help
          JFFS2 is the second generation of the Journalling Flash File System
          for use on diskless embedded devices. It provides improved wear
@@ -1144,24 +1218,87 @@ config JFFS2_FS_DEBUG
          messages at debug level 1 while the misbehaviour was occurring.
 
 config JFFS2_FS_NAND
-       bool "JFFS2 support for NAND flash (EXPERIMENTAL)"
-       depends on JFFS2_FS && EXPERIMENTAL
+       bool "JFFS2 support for NAND flash"
+       depends on JFFS2_FS
        default n
        help
-         This enables the experimental support for NAND flash in JFFS2. NAND
-         is a newer type of flash chip design than the traditional NOR flash,
-         with higher density but a handful of characteristics which make it
-         more interesting for the file system to use. Support for NAND flash
-         is not yet complete and may corrupt data. For further information,
-         including a link to the mailing list where details of the remaining
-         work to be completed for NAND flash support can be found, see the 
-         JFFS2 web site at <http://sources.redhat.com/jffs2>.
+         This enables the support for NAND flash in JFFS2. NAND is a newer
+         type of flash chip design than the traditional NOR flash, with
+         higher density but a handful of characteristics which make it more
+         interesting for the file system to use.
 
-         Say 'N' unless you have NAND flash and you are willing to test and
-         develop JFFS2 support for it.
+         Say 'N' unless you have NAND flash.
+
+config JFFS2_COMPRESSION_OPTIONS
+       bool "Advanced compression options for JFFS2"
+       depends on JFFS2_FS
+       default n
+       help
+         Enabling this option allows you to explicitly choose which
+         compression modules, if any, are enabled in JFFS2. Removing
+         compressors and mean you cannot read existing file systems,
+         and enabling experimental compressors can mean that you
+         write a file system which cannot be read by a standard kernel.
+
+         If unsure, you should _definitely_ say 'N'.
+
+config JFFS2_ZLIB
+       bool "JFFS2 ZLIB compression support" if JFFS2_COMPRESSION_OPTIONS
+       select ZLIB_INFLATE
+       select ZLIB_DEFLATE
+       depends on JFFS2_FS
+       default y
+        help
+          Zlib is designed to be a free, general-purpose, legally unencumbered,
+          lossless data-compression library for use on virtually any computer 
+          hardware and operating system. See http://www.gzip.org/zlib/ for
+          further information.
+          
+          Say 'Y' if unsure.
+
+config JFFS2_RTIME
+       bool "JFFS2 RTIME compression support" if JFFS2_COMPRESSION_OPTIONS
+       depends on JFFS2_FS
+       default y
+        help
+          Rtime does manage to recompress already-compressed data. Say 'Y' if unsure.
+
+config JFFS2_RUBIN
+       bool "JFFS2 RUBIN compression support" if JFFS2_COMPRESSION_OPTIONS
+       depends on JFFS2_FS
+       default n
+        help
+          RUBINMIPS and DYNRUBIN compressors. Say 'N' if unsure.
+
+choice
+        prompt "JFFS2 default compression mode" if JFFS2_COMPRESSION_OPTIONS
+        default JFFS2_CMODE_PRIORITY
+        depends on JFFS2_FS
+        help
+          You can set here the default compression mode of JFFS2 from 
+          the avaiable compression modes. Don't touch if unsure.
+
+config JFFS2_CMODE_NONE
+        bool "no compression"
+        help
+          Uses no compression.
+
+config JFFS2_CMODE_PRIORITY
+        bool "priority"
+        help
+          Tries the compressors in a predefinied order and chooses the first 
+          successful one.
+
+config JFFS2_CMODE_SIZE
+        bool "size (EXPERIMENTAL)"
+        help
+          Tries all compressors and chooses the one which has the smallest 
+          result.
+
+endchoice
 
 config CRAMFS
-       tristate "Compressed ROM file system support"
+       tristate "Compressed ROM file system support (cramfs)"
        select ZLIB_INFLATE
        help
          Saying Y here includes support for CramFs (Compressed ROM File
@@ -1210,8 +1347,6 @@ config HPFS_FS
          To compile this file system support as a module, choose M here: the
          module will be called hpfs.  If unsure, say N.
 
-
-
 config QNX4FS_FS
        tristate "QNX4 file system support (read only)"
        help
@@ -1237,8 +1372,6 @@ config QNX4FS_RW
          It's currently broken, so for now:
          answer N.
 
-
-
 config SYSV_FS
        tristate "System V/Xenix/V7/Coherent file system support"
        help
@@ -1275,8 +1408,6 @@ config SYSV_FS
 
          If you haven't heard about all of this before, it's safe to say N.
 
-
-
 config UFS_FS
        tristate "UFS file system support (read only)"
        help
@@ -1363,8 +1494,8 @@ config NFS_V3
        bool "Provide NFSv3 client support"
        depends on NFS_FS
        help
-         Say Y here if you want your NFS client to be able to speak the newer
-         version 3 of the NFS protocol.
+         Say Y here if you want your NFS client to be able to speak version
+         3 of the NFS protocol.
 
          If unsure, say Y.
 
@@ -1443,6 +1574,7 @@ config NFSD_V3
 config NFSD_V4
        bool "Provide NFSv4 server support (EXPERIMENTAL)"
        depends on NFSD_V3 && EXPERIMENTAL
+       select NFSD_TCP
        help
          If you would like to include the NFSv4 server as well as the NFSv2
          and NFSv3 servers, say Y here.  This feature is experimental, and
@@ -1450,11 +1582,13 @@ config NFSD_V4
          If unsure, say N.
 
 config NFSD_TCP
-       bool "Provide NFS server over TCP support (EXPERIMENTAL)"
-       depends on NFSD && EXPERIMENTAL
+       bool "Provide NFS server over TCP support"
+       depends on NFSD
+       default y
        help
-         Enable NFS service over TCP connections.  This the officially
-         still experimental, but seems to work well.
+         If you want your NFS server to support TCP connections, say Y here.
+         TCP connections usually perform better than the default UDP when
+         the network is lossy or congested.  If unsure, say Y.
 
 config ROOT_NFS
        bool "Root file system on NFS"
@@ -1505,6 +1639,22 @@ config RPCSEC_GSS_KRB5
 
          If unsure, say N.
 
+config RPCSEC_GSS_SPKM3
+       tristate "Secure RPC: SPKM3 mechanism (EXPERIMENTAL)"
+       depends on SUNRPC && EXPERIMENTAL
+       select SUNRPC_GSS
+       select CRYPTO
+       select CRYPTO_MD5
+       select CRYPTO_DES
+       help
+         Provides for secure RPC calls by means of a gss-api
+         mechanism based on the SPKM3 public-key mechanism.
+
+         Note: Requires an auxiliary userspace daemon which may be found on
+               http://www.citi.umich.edu/projects/nfsv4/
+
+         If unsure, say N.
+
 config SMB_FS
        tristate "SMB file system support (to mount Windows shares etc.)"
        depends on INET
@@ -1562,7 +1712,7 @@ config SMB_NLS_REMOTE
          smbmount from samba 2.2.0 or later supports this.
 
 config CIFS
-       tristate "CIFS support (advanced network filesystem for Samba, Window and other CIFS compliant servers)(EXPERIMENTAL)"
+       tristate "CIFS support (advanced network filesystem for Samba, Window and other CIFS compliant servers)"
        depends on INET
        select NLS
        help
@@ -1592,7 +1742,42 @@ config CIFS_STATS
         depends on CIFS
         help
           Enabling this option will cause statistics for each server share
-         mounted by the cifs client to be displayed in /proc/fs/cifs/DebugData
+         mounted by the cifs client to be displayed in /proc/fs/cifs/Stats
+
+config CIFS_XATTR
+        bool "CIFS extended attributes (EXPERIMENTAL)"
+        depends on CIFS
+        help
+          Extended attributes are name:value pairs associated with inodes by
+          the kernel or by users (see the attr(5) manual page, or visit
+          <http://acl.bestbits.at/> for details).  CIFS maps the name of
+          extended attributes beginning with the user namespace prefix
+          to SMB/CIFS EAs. EAs are stored on Windows servers without the
+          user namespace prefix, but their names are seen by Linux cifs clients
+          prefaced by the user namespace prefix. The system namespace
+          (used by some filesystems to store ACLs) is not supported at
+          this time.
+                                                                                                    
+          If unsure, say N.
+
+config CIFS_POSIX
+        bool "CIFS POSIX Extensions (EXPERIMENTAL)"
+        depends on CIFS_XATTR
+        help
+          Enabling this option will cause the cifs client to attempt to
+         negotiate a newer dialect with servers, such as Samba 3.0.5
+         or later, that optionally can handle more POSIX like (rather
+         than Windows like) file behavior.  It also enables
+         support for POSIX ACLs (getfacl and setfacl) to servers
+         (such as Samba 3.10 and later) which can negotiate
+         CIFS POSIX ACL support.  If unsure, say N.
+
+config CIFS_EXPERIMENTAL
+         bool "CIFS Experimental Features (EXPERIMENTAL)"
+         depends on CIFS
+         help
+           Enables cifs features under testing. These features
+           are highly experimental.  If unsure, say N.
 
 config NCP_FS
        tristate "NCP file system support (to mount NetWare volumes)"