blob: 0563f9f1ab5e725f4d3e052488519d90b6cdc359 [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
Thomas Petazzonibfcd17a2008-08-06 15:12:22 +020042config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070050source "fs/xfs/Kconfig"
David Teiglandf7825dc2006-01-16 16:43:37 +000051source "fs/gfs2/Kconfig"
Alexey Dobriyan2fe43712009-01-22 10:26:11 +030052source "fs/ocfs2/Kconfig"
Alexey Dobriyan335debe2009-01-22 10:27:30 +030053source "fs/btrfs/Kconfig"
Chris Mason60582d12008-09-25 12:25:16 -040054
Randy Dunlap25fad942008-02-07 00:15:16 -080055endif # BLOCK
56
Eric Paris272eb012008-12-17 13:59:41 -050057source "fs/notify/Kconfig"
Amy Griffis2d9048e2006-06-01 13:10:59 -070058
Linus Torvalds1da177e2005-04-16 15:20:36 -070059config 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
Adrian Bunk919532a2005-09-06 15:17:22 -070066 shutdown.
67 For further details, read the Quota mini-HOWTO, available from
Linus Torvalds1da177e2005-04-16 15:20:36 -070068 <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
Jan Kara8e893462007-10-16 23:29:31 -070072config 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
80config 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
Jan Kara1ccd14b2008-09-22 05:54:49 +020090# Generic support for tree structured quota files. Seleted when needed.
91config QUOTA_TREE
92 tristate
93
Linus Torvalds1da177e2005-04-16 15:20:36 -070094config 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
102config QFMT_V2
103 tristate "Quota format v2 support"
104 depends on QUOTA
Jan Kara1ccd14b2008-09-22 05:54:49 +0200105 select QUOTA_TREE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106 help
107 This quota format allows using quotas with 32-bit UIDs/GIDs. If you
Adrian Bunk919532a2005-09-06 15:17:22 -0700108 need this functionality say Y here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700109
110config QUOTACTL
111 bool
112 depends on XFS_QUOTA || QUOTA
113 default y
114
Alexey Dobriyan90ffd462009-01-22 10:31:56 +0300115source "fs/autofs/Kconfig"
116source "fs/autofs4/Kconfig"
Alexey Dobriyan3ef77842009-01-22 10:33:25 +0300117source "fs/fuse/Kconfig"
Miklos Szeredi04578f12005-09-09 13:10:22 -0700118
Randy Dunlapf2fbc6c2006-10-19 23:28:35 -0700119config GENERIC_ACL
120 bool
121 select FS_POSIX_ACL
122
David Howells93614012006-09-30 20:45:40 +0200123if BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700124menu "CD-ROM/DVD Filesystems"
125
Alexey Dobriyanddfaccd2009-01-22 10:35:21 +0300126source "fs/isofs/Kconfig"
127source "fs/udf/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700128
129endmenu
Randy Dunlap25fad942008-02-07 00:15:16 -0800130endif # BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700131
David Howells93614012006-09-30 20:45:40 +0200132if BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700133menu "DOS/FAT/NT Filesystems"
134
Alexey Dobriyan1c6ace02009-01-22 10:37:59 +0300135source "fs/fat/Kconfig"
Alexey Dobriyan9d73ac92009-01-22 10:39:20 +0300136source "fs/ntfs/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700137
138endmenu
Randy Dunlap25fad942008-02-07 00:15:16 -0800139endif # BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700140
141menu "Pseudo filesystems"
142
Alexey Dobriyan6eedf8d2008-07-25 01:48:30 -0700143source "fs/proc/Kconfig"
Alexey Dobriyan5f3a2112009-01-22 10:40:58 +0300144source "fs/sysfs/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700145
Linus Torvalds1da177e2005-04-16 15:20:36 -0700146config 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
Andreas Gruenbacher39f02472006-09-29 02:01:35 -0700158config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700171config HUGETLBFS
172 bool "HugeTLB file system support"
Gerald Schaefer53492b12008-04-30 13:38:46 +0200173 depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
174 (S390 && 64BIT) || BROKEN
Arthur Othienodda27d12006-04-18 22:20:57 -0700175 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.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700181
182config HUGETLB_PAGE
183 def_bool HUGETLBFS
184
Alexey Dobriyan4591dab2009-01-22 10:42:52 +0300185source "fs/configfs/Kconfig"
Joel Becker7063fbf2005-12-15 14:29:43 -0800186
Linus Torvalds1da177e2005-04-16 15:20:36 -0700187endmenu
188
Randy Dunlap67ec7d32009-01-06 14:40:57 -0800189menuconfig 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
202if MISC_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700203
Alexey Dobriyanbc2de2a2009-01-22 10:48:46 +0300204source "fs/adfs/Kconfig"
Alexey Dobriyan10951bf2009-01-22 10:49:44 +0300205source "fs/affs/Kconfig"
Alexey Dobriyan295c8962009-01-22 10:50:50 +0300206source "fs/ecryptfs/Kconfig"
Alexey Dobriyanb08bac12009-01-22 10:53:24 +0300207source "fs/hfs/Kconfig"
208source "fs/hfsplus/Kconfig"
Alexey Dobriyan0b09eb32009-01-22 10:54:16 +0300209source "fs/befs/Kconfig"
Alexey Dobriyan0ff42382009-01-22 10:55:13 +0300210source "fs/bfs/Kconfig"
Alexey Dobriyan571f0a02009-01-22 10:56:07 +0300211source "fs/efs/Kconfig"
Alexey Dobriyan31db6e92008-08-29 07:19:50 +0400212source "fs/jffs2/Kconfig"
Artem Bityutskiy0d7eff82008-07-14 19:08:38 +0300213# UBIFS File system configuration
214source "fs/ubifs/Kconfig"
Alexey Dobriyan2a227832009-01-22 10:56:54 +0300215source "fs/cramfs/Kconfig"
Alexey Dobriyan22635ec2009-01-22 10:57:46 +0300216source "fs/squashfs/Kconfig"
Alexey Dobriyan22135162009-01-22 10:58:51 +0300217source "fs/freevxfs/Kconfig"
Alexey Dobriyan8b1cd7d2009-01-22 10:59:49 +0300218source "fs/minix/Kconfig"
Alexey Dobriyanda55e6f2009-01-22 11:00:41 +0300219source "fs/omfs/Kconfig"
Alexey Dobriyan928ea192009-01-22 11:01:26 +0300220source "fs/hpfs/Kconfig"
Alexey Dobriyan4c741582009-01-22 11:02:21 +0300221source "fs/qnx4/Kconfig"
Alexey Dobriyan41810242009-01-22 11:03:34 +0300222source "fs/romfs/Kconfig"
Alexey Dobriyan8af915b2009-01-22 11:04:23 +0300223source "fs/sysv/Kconfig"
Alexey Dobriyana276a522009-01-22 11:05:02 +0300224source "fs/ufs/Kconfig"
Evgeniy Dushistovabf5d152006-06-25 05:47:24 -0700225
Randy Dunlap67ec7d32009-01-06 14:40:57 -0800226endif # MISC_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700227
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700228menuconfig NETWORK_FILESYSTEMS
229 bool "Network File Systems"
230 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700231 depends on NET
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700232 ---help---
233 Say Y here to get to see options for network filesystems and
234 filesystem-related networking code, such as NFS daemon and
235 RPCSEC security modules.
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400236
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700237 This option alone does not add any kernel code.
238
239 If you say N, all options in this submenu will be skipped and
240 disabled; if unsure, say Y here.
241
242if NETWORK_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700243
Alexey Dobriyan97afe472009-01-22 11:07:41 +0300244source "fs/nfs/Kconfig"
Alexey Dobriyane2b329e2009-01-22 11:08:58 +0300245source "fs/nfsd/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700246
Linus Torvalds1da177e2005-04-16 15:20:36 -0700247config LOCKD
248 tristate
249
250config LOCKD_V4
251 bool
252 depends on NFSD_V3 || NFS_V3
253 default y
254
255config EXPORTFS
256 tristate
257
Andreas Gruenbachera257cdd2005-06-22 17:16:26 +0000258config NFS_ACL_SUPPORT
259 tristate
260 select FS_POSIX_ACL
261
262config NFS_COMMON
263 bool
264 depends on NFSD || NFS_FS
265 default y
266
Alexey Dobriyan9098c242009-01-22 11:11:56 +0300267source "net/sunrpc/Kconfig"
Alexey Dobriyan213a41d2009-01-22 11:13:16 +0300268source "fs/smbfs/Kconfig"
Alexey Dobriyanbb26b962008-10-18 20:28:49 -0700269source "fs/cifs/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700270source "fs/ncpfs/Kconfig"
Alexey Dobriyan33a1a6f2009-01-22 11:15:06 +0300271source "fs/coda/Kconfig"
Alexey Dobriyanb2480c72009-01-22 11:16:02 +0300272source "fs/afs/Kconfig"
David Howells08e0e7c2007-04-26 15:55:03 -0700273
Eric Van Hensbergen93fa58c2005-09-09 13:04:18 -0700274config 9P_FS
275 tristate "Plan 9 Resource Sharing Support (9P2000) (Experimental)"
Latchesar Ionkovbd238fb2007-07-10 17:57:28 -0500276 depends on INET && NET_9P && EXPERIMENTAL
Eric Van Hensbergen93fa58c2005-09-09 13:04:18 -0700277 help
278 If you say Y here, you will get experimental support for
279 Plan 9 resource sharing via the 9P2000 protocol.
280
281 See <http://v9fs.sf.net> for more information.
282
283 If unsure, say N.
284
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700285endif # NETWORK_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700286
David Howells93614012006-09-30 20:45:40 +0200287if BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700288menu "Partition Types"
289
290source "fs/partitions/Kconfig"
291
292endmenu
David Howells93614012006-09-30 20:45:40 +0200293endif
Linus Torvalds1da177e2005-04-16 15:20:36 -0700294
295source "fs/nls/Kconfig"
David Teiglande7fd4172006-01-18 09:30:29 +0000296source "fs/dlm/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700297
298endmenu