blob: 6ad58a59cf5bde46a65150fbde18cb461446ae48 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# File system configuration
3#
4
5menu "File systems"
6
David Howells93614012006-09-30 20:45:40 +02007if BLOCK
8
Alexey Dobriyan6da0b382008-10-20 22:28:45 +04009source "fs/ext2/Kconfig"
10source "fs/ext3/Kconfig"
11source "fs/ext4/Kconfig"
Carsten Otte6d791252005-06-23 22:05:26 -070012
13config FS_XIP
14# execute in place
15 bool
16 depends on EXT2_FS_XIP
17 default y
18
Alexey Dobriyan6da0b382008-10-20 22:28:45 +040019source "fs/jbd/Kconfig"
20source "fs/jbd2/Kconfig"
Mingming Caodab291a2006-10-11 01:21:01 -070021
Linus Torvalds1da177e2005-04-16 15:20:36 -070022config FS_MBCACHE
Mingming Cao02ea2102006-10-11 01:20:56 -070023# Meta block cache for Extended Attributes (ext2/ext3/ext4)
Linus Torvalds1da177e2005-04-16 15:20:36 -070024 tristate
Adrian Bunk2c512392008-08-20 16:56:22 -070025 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070029
Alexey Dobriyanb16ecfe2009-01-22 10:22:31 +030030source "fs/reiserfs/Kconfig"
Alexey Dobriyanf5c77962009-01-22 10:24:27 +030031source "fs/jfs/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -070032
Tomas Szepe69050ee2009-06-16 15:33:56 -070033source "fs/xfs/Kconfig"
34source "fs/gfs2/Kconfig"
35source "fs/ocfs2/Kconfig"
36source "fs/btrfs/Kconfig"
Ryusuke Konishi41f4db02009-08-08 16:09:46 +090037source "fs/nilfs2/Kconfig"
Tomas Szepe69050ee2009-06-16 15:33:56 -070038
39endif # BLOCK
40
Randy Dunlap16ebe912011-01-02 14:44:00 -080041# Posix ACL utility routines
42#
43# Note: Posix ACLs can be implemented without these helpers. Never use
44# this symbol for ifdefs in core code.
45#
46config FS_POSIX_ACL
47 def_bool n
48
Randy Dunlap4199ca72010-10-26 14:22:32 -070049config EXPORTFS
Jonas Gorski79fead42011-05-24 20:12:08 +020050 tristate
Randy Dunlap4199ca72010-10-26 14:22:32 -070051
Thomas Petazzonibfcd17a2008-08-06 15:12:22 +020052config FILE_LOCKING
David Rientjes6a108a12011-01-20 14:44:16 -080053 bool "Enable POSIX file locking API" if EXPERT
Thomas Petazzonibfcd17a2008-08-06 15:12:22 +020054 default y
55 help
56 This option enables standard file locking support, required
57 for filesystems like NFS and for the flock() system
58 call. Disabling this option saves about 11k.
59
Eric Paris272eb012008-12-17 13:59:41 -050060source "fs/notify/Kconfig"
Amy Griffis2d9048e2006-06-01 13:10:59 -070061
Jan Kara884d1792009-01-26 15:28:09 +010062source "fs/quota/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -070063
Alexey Dobriyan90ffd462009-01-22 10:31:56 +030064source "fs/autofs4/Kconfig"
Alexey Dobriyan3ef77842009-01-22 10:33:25 +030065source "fs/fuse/Kconfig"
Miklos Szeredi04578f12005-09-09 13:10:22 -070066
Tejun Heo151060a2009-04-14 10:54:54 +090067config CUSE
Stephen Boyd59b48562010-07-16 09:46:44 -070068 tristate "Character device in Userspace support"
Tejun Heo151060a2009-04-14 10:54:54 +090069 depends on FUSE_FS
70 help
71 This FUSE extension allows character devices to be
72 implemented in userspace.
73
74 If you want to develop or use userspace character device
75 based on CUSE, answer Y or M.
76
Randy Dunlapf2fbc6c2006-10-19 23:28:35 -070077config GENERIC_ACL
78 bool
79 select FS_POSIX_ACL
80
David Howells06b3db12009-04-03 16:42:36 +010081menu "Caches"
82
83source "fs/fscache/Kconfig"
David Howells9ae326a2009-04-03 16:42:41 +010084source "fs/cachefiles/Kconfig"
David Howells06b3db12009-04-03 16:42:36 +010085
86endmenu
87
David Howells93614012006-09-30 20:45:40 +020088if BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -070089menu "CD-ROM/DVD Filesystems"
90
Alexey Dobriyanddfaccd2009-01-22 10:35:21 +030091source "fs/isofs/Kconfig"
92source "fs/udf/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -070093
94endmenu
Randy Dunlap25fad942008-02-07 00:15:16 -080095endif # BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -070096
David Howells93614012006-09-30 20:45:40 +020097if BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -070098menu "DOS/FAT/NT Filesystems"
99
Alexey Dobriyan1c6ace02009-01-22 10:37:59 +0300100source "fs/fat/Kconfig"
Alexey Dobriyan9d73ac92009-01-22 10:39:20 +0300101source "fs/ntfs/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102
103endmenu
Randy Dunlap25fad942008-02-07 00:15:16 -0800104endif # BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105
106menu "Pseudo filesystems"
107
Alexey Dobriyan6eedf8d2008-07-25 01:48:30 -0700108source "fs/proc/Kconfig"
Alexey Dobriyan5f3a2112009-01-22 10:40:58 +0300109source "fs/sysfs/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110
Linus Torvalds1da177e2005-04-16 15:20:36 -0700111config TMPFS
Robert P. J. Dayf5fc8702011-10-31 17:07:21 -0700112 bool "Tmpfs virtual memory file system support (former shm fs)"
Hugh Dickins3f96b792009-09-21 17:03:37 -0700113 depends on SHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -0700114 help
115 Tmpfs is a file system which keeps all files in virtual memory.
116
117 Everything in tmpfs is temporary in the sense that no files will be
118 created on your hard drive. The files live in memory and swap
119 space. If you unmount a tmpfs instance, everything stored therein is
120 lost.
121
122 See <file:Documentation/filesystems/tmpfs.txt> for details.
123
Eric Paris4db70f72011-05-25 19:49:18 -0700124config TMPFS_POSIX_ACL
125 bool "Tmpfs POSIX Access Control Lists"
126 depends on TMPFS
127 select TMPFS_XATTR
128 select GENERIC_ACL
129 help
Robert P. J. Day206506c2011-08-03 16:21:29 -0700130 POSIX Access Control Lists (ACLs) support additional access rights
131 for users and groups beyond the standard owner/group/world scheme,
132 and this option selects support for ACLs specifically for tmpfs
133 filesystems.
134
135 If you've selected TMPFS, it's possible that you'll also need
136 this option as there are a number of Linux distros that require
137 POSIX ACL support under /dev for certain features to work properly.
138 For example, some distros need this feature for ALSA-related /dev
139 files for sound to work properly. In short, if you're not sure,
140 say Y.
Eric Paris4db70f72011-05-25 19:49:18 -0700141
142 To learn more about Access Control Lists, visit the POSIX ACLs for
143 Linux website <http://acl.bestbits.at/>.
144
Eric Parisb09e0fa2011-05-24 17:12:39 -0700145config TMPFS_XATTR
146 bool "Tmpfs extended attributes"
147 depends on TMPFS
148 default n
149 help
150 Extended attributes are name:value pairs associated with inodes by
151 the kernel or by users (see the attr(5) manual page, or visit
152 <http://acl.bestbits.at/> for details).
153
154 Currently this enables support for the trusted.* and
155 security.* namespaces.
156
Eric Parisb09e0fa2011-05-24 17:12:39 -0700157 You need this for POSIX ACL support on tmpfs.
158
Eric Paris4db70f72011-05-25 19:49:18 -0700159 If unsure, say N.
Andreas Gruenbacher39f02472006-09-29 02:01:35 -0700160
Linus Torvalds1da177e2005-04-16 15:20:36 -0700161config HUGETLBFS
162 bool "HugeTLB file system support"
Benjamin Herrenschmidt5a1eb5c2009-10-30 15:03:54 +1100163 depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
Paul Mundtffb4a732009-10-27 07:22:37 +0900164 SYS_SUPPORTS_HUGETLBFS || BROKEN
Arthur Othienodda27d12006-04-18 22:20:57 -0700165 help
166 hugetlbfs is a filesystem backing for HugeTLB pages, based on
167 ramfs. For architectures that support it, say Y here and read
168 <file:Documentation/vm/hugetlbpage.txt> for details.
169
170 If unsure, say N.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700171
172config HUGETLB_PAGE
173 def_bool HUGETLBFS
174
Alexey Dobriyan4591dab2009-01-22 10:42:52 +0300175source "fs/configfs/Kconfig"
Joel Becker7063fbf2005-12-15 14:29:43 -0800176
Linus Torvalds1da177e2005-04-16 15:20:36 -0700177endmenu
178
Randy Dunlap67ec7d32009-01-06 14:40:57 -0800179menuconfig MISC_FILESYSTEMS
180 bool "Miscellaneous filesystems"
181 default y
182 ---help---
183 Say Y here to get to see options for various miscellaneous
184 filesystems, such as filesystems that came from other
185 operating systems.
186
187 This option alone does not add any kernel code.
188
189 If you say N, all options in this submenu will be skipped and
190 disabled; if unsure, say Y here.
191
192if MISC_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700193
Alexey Dobriyanbc2de2a2009-01-22 10:48:46 +0300194source "fs/adfs/Kconfig"
Alexey Dobriyan10951bf2009-01-22 10:49:44 +0300195source "fs/affs/Kconfig"
Alexey Dobriyan295c8962009-01-22 10:50:50 +0300196source "fs/ecryptfs/Kconfig"
Alexey Dobriyanb08bac12009-01-22 10:53:24 +0300197source "fs/hfs/Kconfig"
198source "fs/hfsplus/Kconfig"
Alexey Dobriyan0b09eb32009-01-22 10:54:16 +0300199source "fs/befs/Kconfig"
Alexey Dobriyan0ff42382009-01-22 10:55:13 +0300200source "fs/bfs/Kconfig"
Alexey Dobriyan571f0a02009-01-22 10:56:07 +0300201source "fs/efs/Kconfig"
Alexey Dobriyan31db6e92008-08-29 07:19:50 +0400202source "fs/jffs2/Kconfig"
Artem Bityutskiy0d7eff82008-07-14 19:08:38 +0300203# UBIFS File system configuration
204source "fs/ubifs/Kconfig"
Joern Engel5db53f32009-11-20 20:13:39 +0100205source "fs/logfs/Kconfig"
Alexey Dobriyan2a227832009-01-22 10:56:54 +0300206source "fs/cramfs/Kconfig"
Alexey Dobriyan22635ec2009-01-22 10:57:46 +0300207source "fs/squashfs/Kconfig"
Alexey Dobriyan22135162009-01-22 10:58:51 +0300208source "fs/freevxfs/Kconfig"
Alexey Dobriyan8b1cd7d2009-01-22 10:59:49 +0300209source "fs/minix/Kconfig"
Alexey Dobriyanda55e6f2009-01-22 11:00:41 +0300210source "fs/omfs/Kconfig"
Alexey Dobriyan928ea192009-01-22 11:01:26 +0300211source "fs/hpfs/Kconfig"
Alexey Dobriyan4c741582009-01-22 11:02:21 +0300212source "fs/qnx4/Kconfig"
Alexey Dobriyan41810242009-01-22 11:03:34 +0300213source "fs/romfs/Kconfig"
Tony Luckca01d6d2010-12-28 14:25:21 -0800214source "fs/pstore/Kconfig"
Alexey Dobriyan8af915b2009-01-22 11:04:23 +0300215source "fs/sysv/Kconfig"
Alexey Dobriyana276a522009-01-22 11:05:02 +0300216source "fs/ufs/Kconfig"
Boaz Harrosh0d8fe322008-12-15 12:53:08 +0200217source "fs/exofs/Kconfig"
Ryusuke Konishi0c4fb872009-04-06 19:01:41 -0700218
Randy Dunlap67ec7d32009-01-06 14:40:57 -0800219endif # MISC_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700220
Boaz Harrosh831c2dc2011-11-29 15:35:53 -0800221source "fs/exofs/Kconfig.ore"
222
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700223menuconfig NETWORK_FILESYSTEMS
224 bool "Network File Systems"
225 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700226 depends on NET
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700227 ---help---
228 Say Y here to get to see options for network filesystems and
229 filesystem-related networking code, such as NFS daemon and
230 RPCSEC security modules.
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400231
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700232 This option alone does not add any kernel code.
233
234 If you say N, all options in this submenu will be skipped and
235 disabled; if unsure, say Y here.
236
237if NETWORK_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700238
Alexey Dobriyan97afe472009-01-22 11:07:41 +0300239source "fs/nfs/Kconfig"
Alexey Dobriyane2b329e2009-01-22 11:08:58 +0300240source "fs/nfsd/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700241
Linus Torvalds1da177e2005-04-16 15:20:36 -0700242config LOCKD
243 tristate
Randy Dunlapdd4dc822009-05-12 13:28:09 -0700244 depends on FILE_LOCKING
Linus Torvalds1da177e2005-04-16 15:20:36 -0700245
246config LOCKD_V4
247 bool
248 depends on NFSD_V3 || NFS_V3
Randy Dunlapdd4dc822009-05-12 13:28:09 -0700249 depends on FILE_LOCKING
Linus Torvalds1da177e2005-04-16 15:20:36 -0700250 default y
251
Andreas Gruenbachera257cdd2005-06-22 17:16:26 +0000252config NFS_ACL_SUPPORT
253 tristate
254 select FS_POSIX_ACL
255
256config NFS_COMMON
257 bool
258 depends on NFSD || NFS_FS
259 default y
260
Alexey Dobriyan9098c242009-01-22 11:11:56 +0300261source "net/sunrpc/Kconfig"
Sage Weil9030aaf2009-10-06 11:31:15 -0700262source "fs/ceph/Kconfig"
Alexey Dobriyanbb26b962008-10-18 20:28:49 -0700263source "fs/cifs/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700264source "fs/ncpfs/Kconfig"
Alexey Dobriyan33a1a6f2009-01-22 11:15:06 +0300265source "fs/coda/Kconfig"
Alexey Dobriyanb2480c72009-01-22 11:16:02 +0300266source "fs/afs/Kconfig"
Alexey Dobriyan0fcb4402009-01-22 11:16:42 +0300267source "fs/9p/Kconfig"
Eric Van Hensbergen93fa58c2005-09-09 13:04:18 -0700268
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700269endif # NETWORK_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700270
David Howells93614012006-09-30 20:45:40 +0200271if BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700272menu "Partition Types"
273
274source "fs/partitions/Kconfig"
275
276endmenu
David Howells93614012006-09-30 20:45:40 +0200277endif
Linus Torvalds1da177e2005-04-16 15:20:36 -0700278
279source "fs/nls/Kconfig"
David Teiglande7fd4172006-01-18 09:30:29 +0000280source "fs/dlm/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700281
282endmenu