blob: 25ce2dc1c6d42beb909c4f3aa0317c5fd96a5e2f [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
33config FS_POSIX_ACL
Chuck Lever89206952008-02-11 17:12:24 -050034# Posix ACL utility routines (for now, only ext2/ext3/jfs/reiserfs/nfs4)
Linus Torvalds1da177e2005-04-16 15:20:36 -070035#
36# NOTE: you can implement Posix ACLs without these helpers (XFS does).
37# Never use this symbol for ifdefs.
38#
39 bool
Andreas Gruenbacherb84c2152005-07-07 17:56:57 -070040 default n
Linus Torvalds1da177e2005-04-16 15:20:36 -070041
Tomas Szepe69050ee2009-06-16 15:33:56 -070042source "fs/xfs/Kconfig"
43source "fs/gfs2/Kconfig"
44source "fs/ocfs2/Kconfig"
45source "fs/btrfs/Kconfig"
Ryusuke Konishi41f4db02009-08-08 16:09:46 +090046source "fs/nilfs2/Kconfig"
Tomas Szepe69050ee2009-06-16 15:33:56 -070047
48endif # BLOCK
49
Thomas Petazzonibfcd17a2008-08-06 15:12:22 +020050config FILE_LOCKING
51 bool "Enable POSIX file locking API" if EMBEDDED
52 default y
53 help
54 This option enables standard file locking support, required
55 for filesystems like NFS and for the flock() system
56 call. Disabling this option saves about 11k.
57
Eric Paris272eb012008-12-17 13:59:41 -050058source "fs/notify/Kconfig"
Amy Griffis2d9048e2006-06-01 13:10:59 -070059
Jan Kara884d1792009-01-26 15:28:09 +010060source "fs/quota/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -070061
Alexey Dobriyan90ffd462009-01-22 10:31:56 +030062source "fs/autofs4/Kconfig"
Alexey Dobriyan3ef77842009-01-22 10:33:25 +030063source "fs/fuse/Kconfig"
Miklos Szeredi04578f12005-09-09 13:10:22 -070064
Tejun Heo151060a2009-04-14 10:54:54 +090065config CUSE
Stephen Boyd59b48562010-07-16 09:46:44 -070066 tristate "Character device in Userspace support"
Tejun Heo151060a2009-04-14 10:54:54 +090067 depends on FUSE_FS
68 help
69 This FUSE extension allows character devices to be
70 implemented in userspace.
71
72 If you want to develop or use userspace character device
73 based on CUSE, answer Y or M.
74
Randy Dunlapf2fbc6c2006-10-19 23:28:35 -070075config GENERIC_ACL
76 bool
77 select FS_POSIX_ACL
78
David Howells06b3db12009-04-03 16:42:36 +010079menu "Caches"
80
81source "fs/fscache/Kconfig"
David Howells9ae326a2009-04-03 16:42:41 +010082source "fs/cachefiles/Kconfig"
David Howells06b3db12009-04-03 16:42:36 +010083
84endmenu
85
David Howells93614012006-09-30 20:45:40 +020086if BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -070087menu "CD-ROM/DVD Filesystems"
88
Alexey Dobriyanddfaccd2009-01-22 10:35:21 +030089source "fs/isofs/Kconfig"
90source "fs/udf/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -070091
92endmenu
Randy Dunlap25fad942008-02-07 00:15:16 -080093endif # BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -070094
David Howells93614012006-09-30 20:45:40 +020095if BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -070096menu "DOS/FAT/NT Filesystems"
97
Alexey Dobriyan1c6ace02009-01-22 10:37:59 +030098source "fs/fat/Kconfig"
Alexey Dobriyan9d73ac92009-01-22 10:39:20 +030099source "fs/ntfs/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100
101endmenu
Randy Dunlap25fad942008-02-07 00:15:16 -0800102endif # BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103
104menu "Pseudo filesystems"
105
Alexey Dobriyan6eedf8d2008-07-25 01:48:30 -0700106source "fs/proc/Kconfig"
Alexey Dobriyan5f3a2112009-01-22 10:40:58 +0300107source "fs/sysfs/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700108
Linus Torvalds1da177e2005-04-16 15:20:36 -0700109config TMPFS
110 bool "Virtual memory file system support (former shm fs)"
Hugh Dickins3f96b792009-09-21 17:03:37 -0700111 depends on SHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -0700112 help
113 Tmpfs is a file system which keeps all files in virtual memory.
114
115 Everything in tmpfs is temporary in the sense that no files will be
116 created on your hard drive. The files live in memory and swap
117 space. If you unmount a tmpfs instance, everything stored therein is
118 lost.
119
120 See <file:Documentation/filesystems/tmpfs.txt> for details.
121
Andreas Gruenbacher39f02472006-09-29 02:01:35 -0700122config TMPFS_POSIX_ACL
123 bool "Tmpfs POSIX Access Control Lists"
124 depends on TMPFS
125 select GENERIC_ACL
126 help
127 POSIX Access Control Lists (ACLs) support permissions for users and
128 groups beyond the owner/group/world scheme.
129
130 To learn more about Access Control Lists, visit the POSIX ACLs for
131 Linux website <http://acl.bestbits.at/>.
132
133 If you don't know what Access Control Lists are, say N.
134
Linus Torvalds1da177e2005-04-16 15:20:36 -0700135config HUGETLBFS
136 bool "HugeTLB file system support"
Benjamin Herrenschmidt5a1eb5c2009-10-30 15:03:54 +1100137 depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
Paul Mundtffb4a732009-10-27 07:22:37 +0900138 SYS_SUPPORTS_HUGETLBFS || BROKEN
Arthur Othienodda27d12006-04-18 22:20:57 -0700139 help
140 hugetlbfs is a filesystem backing for HugeTLB pages, based on
141 ramfs. For architectures that support it, say Y here and read
142 <file:Documentation/vm/hugetlbpage.txt> for details.
143
144 If unsure, say N.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700145
146config HUGETLB_PAGE
147 def_bool HUGETLBFS
148
Alexey Dobriyan4591dab2009-01-22 10:42:52 +0300149source "fs/configfs/Kconfig"
Joel Becker7063fbf2005-12-15 14:29:43 -0800150
Linus Torvalds1da177e2005-04-16 15:20:36 -0700151endmenu
152
Randy Dunlap67ec7d32009-01-06 14:40:57 -0800153menuconfig MISC_FILESYSTEMS
154 bool "Miscellaneous filesystems"
155 default y
156 ---help---
157 Say Y here to get to see options for various miscellaneous
158 filesystems, such as filesystems that came from other
159 operating systems.
160
161 This option alone does not add any kernel code.
162
163 If you say N, all options in this submenu will be skipped and
164 disabled; if unsure, say Y here.
165
166if MISC_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167
Alexey Dobriyanbc2de2a2009-01-22 10:48:46 +0300168source "fs/adfs/Kconfig"
Alexey Dobriyan10951bf2009-01-22 10:49:44 +0300169source "fs/affs/Kconfig"
Alexey Dobriyan295c8962009-01-22 10:50:50 +0300170source "fs/ecryptfs/Kconfig"
Alexey Dobriyanb08bac12009-01-22 10:53:24 +0300171source "fs/hfs/Kconfig"
172source "fs/hfsplus/Kconfig"
Alexey Dobriyan0b09eb32009-01-22 10:54:16 +0300173source "fs/befs/Kconfig"
Alexey Dobriyan0ff42382009-01-22 10:55:13 +0300174source "fs/bfs/Kconfig"
Alexey Dobriyan571f0a02009-01-22 10:56:07 +0300175source "fs/efs/Kconfig"
Alexey Dobriyan31db6e92008-08-29 07:19:50 +0400176source "fs/jffs2/Kconfig"
Artem Bityutskiy0d7eff82008-07-14 19:08:38 +0300177# UBIFS File system configuration
178source "fs/ubifs/Kconfig"
Joern Engel5db53f32009-11-20 20:13:39 +0100179source "fs/logfs/Kconfig"
Alexey Dobriyan2a227832009-01-22 10:56:54 +0300180source "fs/cramfs/Kconfig"
Alexey Dobriyan22635ec2009-01-22 10:57:46 +0300181source "fs/squashfs/Kconfig"
Alexey Dobriyan22135162009-01-22 10:58:51 +0300182source "fs/freevxfs/Kconfig"
Alexey Dobriyan8b1cd7d2009-01-22 10:59:49 +0300183source "fs/minix/Kconfig"
Alexey Dobriyanda55e6f2009-01-22 11:00:41 +0300184source "fs/omfs/Kconfig"
Alexey Dobriyan928ea192009-01-22 11:01:26 +0300185source "fs/hpfs/Kconfig"
Alexey Dobriyan4c741582009-01-22 11:02:21 +0300186source "fs/qnx4/Kconfig"
Alexey Dobriyan41810242009-01-22 11:03:34 +0300187source "fs/romfs/Kconfig"
Alexey Dobriyan8af915b2009-01-22 11:04:23 +0300188source "fs/sysv/Kconfig"
Alexey Dobriyana276a522009-01-22 11:05:02 +0300189source "fs/ufs/Kconfig"
Boaz Harrosh0d8fe322008-12-15 12:53:08 +0200190source "fs/exofs/Kconfig"
Ryusuke Konishi0c4fb872009-04-06 19:01:41 -0700191
Randy Dunlap67ec7d32009-01-06 14:40:57 -0800192endif # MISC_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700193
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700194menuconfig NETWORK_FILESYSTEMS
195 bool "Network File Systems"
196 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700197 depends on NET
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700198 ---help---
199 Say Y here to get to see options for network filesystems and
200 filesystem-related networking code, such as NFS daemon and
201 RPCSEC security modules.
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400202
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700203 This option alone does not add any kernel code.
204
205 If you say N, all options in this submenu will be skipped and
206 disabled; if unsure, say Y here.
207
208if NETWORK_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700209
Alexey Dobriyan97afe472009-01-22 11:07:41 +0300210source "fs/nfs/Kconfig"
Alexey Dobriyane2b329e2009-01-22 11:08:58 +0300211source "fs/nfsd/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700212
Linus Torvalds1da177e2005-04-16 15:20:36 -0700213config LOCKD
214 tristate
Randy Dunlapdd4dc822009-05-12 13:28:09 -0700215 depends on FILE_LOCKING
Linus Torvalds1da177e2005-04-16 15:20:36 -0700216
217config LOCKD_V4
218 bool
219 depends on NFSD_V3 || NFS_V3
Randy Dunlapdd4dc822009-05-12 13:28:09 -0700220 depends on FILE_LOCKING
Linus Torvalds1da177e2005-04-16 15:20:36 -0700221 default y
222
223config EXPORTFS
224 tristate
225
Andreas Gruenbachera257cdd2005-06-22 17:16:26 +0000226config NFS_ACL_SUPPORT
227 tristate
228 select FS_POSIX_ACL
229
230config NFS_COMMON
231 bool
232 depends on NFSD || NFS_FS
233 default y
234
Alexey Dobriyan9098c242009-01-22 11:11:56 +0300235source "net/sunrpc/Kconfig"
Sage Weil9030aaf2009-10-06 11:31:15 -0700236source "fs/ceph/Kconfig"
Alexey Dobriyanbb26b962008-10-18 20:28:49 -0700237source "fs/cifs/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700238source "fs/ncpfs/Kconfig"
Alexey Dobriyan33a1a6f2009-01-22 11:15:06 +0300239source "fs/coda/Kconfig"
Alexey Dobriyanb2480c72009-01-22 11:16:02 +0300240source "fs/afs/Kconfig"
Alexey Dobriyan0fcb4402009-01-22 11:16:42 +0300241source "fs/9p/Kconfig"
Eric Van Hensbergen93fa58c2005-09-09 13:04:18 -0700242
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700243endif # NETWORK_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700244
David Howells93614012006-09-30 20:45:40 +0200245if BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700246menu "Partition Types"
247
248source "fs/partitions/Kconfig"
249
250endmenu
David Howells93614012006-09-30 20:45:40 +0200251endif
Linus Torvalds1da177e2005-04-16 15:20:36 -0700252
253source "fs/nls/Kconfig"
David Teiglande7fd4172006-01-18 09:30:29 +0000254source "fs/dlm/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700255
256endmenu