Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[linux-2.6.git] / fs / Kconfig
blobc229f828eb012ea32a13c306cf1953ae85e3ca2a
2 # File system configuration
5 menu "File systems"
7 # Use unaligned word dcache accesses
8 config DCACHE_WORD_ACCESS
9        bool
11 if BLOCK
13 source "fs/ext2/Kconfig"
14 source "fs/ext3/Kconfig"
15 source "fs/ext4/Kconfig"
17 config FS_XIP
18 # execute in place
19         bool
20         depends on EXT2_FS_XIP
21         default y
23 source "fs/jbd/Kconfig"
24 source "fs/jbd2/Kconfig"
26 config FS_MBCACHE
27 # Meta block cache for Extended Attributes (ext2/ext3/ext4)
28         tristate
29         default y if EXT2_FS=y && EXT2_FS_XATTR
30         default y if EXT3_FS=y && EXT3_FS_XATTR
31         default y if EXT4_FS=y
32         default m if EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS
34 source "fs/reiserfs/Kconfig"
35 source "fs/jfs/Kconfig"
37 source "fs/xfs/Kconfig"
38 source "fs/gfs2/Kconfig"
39 source "fs/ocfs2/Kconfig"
40 source "fs/btrfs/Kconfig"
41 source "fs/nilfs2/Kconfig"
43 endif # BLOCK
45 # Posix ACL utility routines
47 # Note: Posix ACLs can be implemented without these helpers.  Never use
48 # this symbol for ifdefs in core code.
50 config FS_POSIX_ACL
51         def_bool n
53 config EXPORTFS
54         tristate
56 config FILE_LOCKING
57         bool "Enable POSIX file locking API" if EXPERT
58         default y
59         help
60           This option enables standard file locking support, required
61           for filesystems like NFS and for the flock() system
62           call. Disabling this option saves about 11k.
64 source "fs/notify/Kconfig"
66 source "fs/quota/Kconfig"
68 source "fs/autofs4/Kconfig"
69 source "fs/fuse/Kconfig"
71 config GENERIC_ACL
72         bool
73         select FS_POSIX_ACL
75 menu "Caches"
77 source "fs/fscache/Kconfig"
78 source "fs/cachefiles/Kconfig"
80 endmenu
82 if BLOCK
83 menu "CD-ROM/DVD Filesystems"
85 source "fs/isofs/Kconfig"
86 source "fs/udf/Kconfig"
88 endmenu
89 endif # BLOCK
91 if BLOCK
92 menu "DOS/FAT/NT Filesystems"
94 source "fs/fat/Kconfig"
95 source "fs/ntfs/Kconfig"
97 endmenu
98 endif # BLOCK
100 menu "Pseudo filesystems"
102 source "fs/proc/Kconfig"
103 source "fs/sysfs/Kconfig"
105 config TMPFS
106         bool "Tmpfs virtual memory file system support (former shm fs)"
107         depends on SHMEM
108         help
109           Tmpfs is a file system which keeps all files in virtual memory.
111           Everything in tmpfs is temporary in the sense that no files will be
112           created on your hard drive. The files live in memory and swap
113           space. If you unmount a tmpfs instance, everything stored therein is
114           lost.
116           See <file:Documentation/filesystems/tmpfs.txt> for details.
118 config TMPFS_POSIX_ACL
119         bool "Tmpfs POSIX Access Control Lists"
120         depends on TMPFS
121         select TMPFS_XATTR
122         select GENERIC_ACL
123         help
124           POSIX Access Control Lists (ACLs) support additional access rights
125           for users and groups beyond the standard owner/group/world scheme,
126           and this option selects support for ACLs specifically for tmpfs
127           filesystems.
129           If you've selected TMPFS, it's possible that you'll also need
130           this option as there are a number of Linux distros that require
131           POSIX ACL support under /dev for certain features to work properly.
132           For example, some distros need this feature for ALSA-related /dev
133           files for sound to work properly.  In short, if you're not sure,
134           say Y.
136           To learn more about Access Control Lists, visit the POSIX ACLs for
137           Linux website <http://acl.bestbits.at/>.
139 config TMPFS_XATTR
140         bool "Tmpfs extended attributes"
141         depends on TMPFS
142         default n
143         help
144           Extended attributes are name:value pairs associated with inodes by
145           the kernel or by users (see the attr(5) manual page, or visit
146           <http://acl.bestbits.at/> for details).
148           Currently this enables support for the trusted.* and
149           security.* namespaces.
151           You need this for POSIX ACL support on tmpfs.
153           If unsure, say N.
155 config HUGETLBFS
156         bool "HugeTLB file system support"
157         depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
158                    SYS_SUPPORTS_HUGETLBFS || BROKEN
159         help
160           hugetlbfs is a filesystem backing for HugeTLB pages, based on
161           ramfs. For architectures that support it, say Y here and read
162           <file:Documentation/vm/hugetlbpage.txt> for details.
164           If unsure, say N.
166 config HUGETLB_PAGE
167         def_bool HUGETLBFS
169 source "fs/configfs/Kconfig"
171 endmenu
173 menuconfig MISC_FILESYSTEMS
174         bool "Miscellaneous filesystems"
175         default y
176         ---help---
177           Say Y here to get to see options for various miscellaneous
178           filesystems, such as filesystems that came from other
179           operating systems.
181           This option alone does not add any kernel code.
183           If you say N, all options in this submenu will be skipped and
184           disabled; if unsure, say Y here.
186 if MISC_FILESYSTEMS
188 source "fs/adfs/Kconfig"
189 source "fs/affs/Kconfig"
190 source "fs/ecryptfs/Kconfig"
191 source "fs/hfs/Kconfig"
192 source "fs/hfsplus/Kconfig"
193 source "fs/befs/Kconfig"
194 source "fs/bfs/Kconfig"
195 source "fs/efs/Kconfig"
196 source "fs/jffs2/Kconfig"
197 # UBIFS File system configuration
198 source "fs/ubifs/Kconfig"
199 source "fs/logfs/Kconfig"
200 source "fs/cramfs/Kconfig"
201 source "fs/squashfs/Kconfig"
202 source "fs/freevxfs/Kconfig"
203 source "fs/minix/Kconfig"
204 source "fs/omfs/Kconfig"
205 source "fs/hpfs/Kconfig"
206 source "fs/qnx4/Kconfig"
207 source "fs/qnx6/Kconfig"
208 source "fs/romfs/Kconfig"
209 source "fs/pstore/Kconfig"
210 source "fs/sysv/Kconfig"
211 source "fs/ufs/Kconfig"
212 source "fs/exofs/Kconfig"
213 source "fs/f2fs/Kconfig"
214 source "fs/efivarfs/Kconfig"
216 endif # MISC_FILESYSTEMS
218 source "fs/exofs/Kconfig.ore"
220 menuconfig NETWORK_FILESYSTEMS
221         bool "Network File Systems"
222         default y
223         depends on NET
224         ---help---
225           Say Y here to get to see options for network filesystems and
226           filesystem-related networking code, such as NFS daemon and
227           RPCSEC security modules.
229           This option alone does not add any kernel code.
231           If you say N, all options in this submenu will be skipped and
232           disabled; if unsure, say Y here.
234 if NETWORK_FILESYSTEMS
236 source "fs/nfs/Kconfig"
237 source "fs/nfsd/Kconfig"
239 config LOCKD
240         tristate
241         depends on FILE_LOCKING
243 config LOCKD_V4
244         bool
245         depends on NFSD_V3 || NFS_V3
246         depends on FILE_LOCKING
247         default y
249 config NFS_ACL_SUPPORT
250         tristate
251         select FS_POSIX_ACL
253 config NFS_COMMON
254         bool
255         depends on NFSD || NFS_FS
256         default y
258 source "net/sunrpc/Kconfig"
259 source "fs/ceph/Kconfig"
260 source "fs/cifs/Kconfig"
261 source "fs/ncpfs/Kconfig"
262 source "fs/coda/Kconfig"
263 source "fs/afs/Kconfig"
264 source "fs/9p/Kconfig"
266 endif # NETWORK_FILESYSTEMS
268 source "fs/nls/Kconfig"
269 source "fs/dlm/Kconfig"
271 endmenu