blob: 9f7270f36b2af4e207b26ff52f9b98ad502d8c00 [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
Jan Kara884d1792009-01-26 15:28:09 +010059source "fs/quota/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -070060
Alexey Dobriyan90ffd462009-01-22 10:31:56 +030061source "fs/autofs/Kconfig"
62source "fs/autofs4/Kconfig"
Alexey Dobriyan3ef77842009-01-22 10:33:25 +030063source "fs/fuse/Kconfig"
Miklos Szeredi04578f12005-09-09 13:10:22 -070064
Randy Dunlapf2fbc6c2006-10-19 23:28:35 -070065config GENERIC_ACL
66 bool
67 select FS_POSIX_ACL
68
David Howells06b3db12009-04-03 16:42:36 +010069menu "Caches"
70
71source "fs/fscache/Kconfig"
David Howells9ae326a2009-04-03 16:42:41 +010072source "fs/cachefiles/Kconfig"
David Howells06b3db12009-04-03 16:42:36 +010073
74endmenu
75
David Howells93614012006-09-30 20:45:40 +020076if BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -070077menu "CD-ROM/DVD Filesystems"
78
Alexey Dobriyanddfaccd2009-01-22 10:35:21 +030079source "fs/isofs/Kconfig"
80source "fs/udf/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -070081
82endmenu
Randy Dunlap25fad942008-02-07 00:15:16 -080083endif # BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -070084
David Howells93614012006-09-30 20:45:40 +020085if BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -070086menu "DOS/FAT/NT Filesystems"
87
Alexey Dobriyan1c6ace02009-01-22 10:37:59 +030088source "fs/fat/Kconfig"
Alexey Dobriyan9d73ac92009-01-22 10:39:20 +030089source "fs/ntfs/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -070090
91endmenu
Randy Dunlap25fad942008-02-07 00:15:16 -080092endif # BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -070093
94menu "Pseudo filesystems"
95
Alexey Dobriyan6eedf8d2008-07-25 01:48:30 -070096source "fs/proc/Kconfig"
Alexey Dobriyan5f3a2112009-01-22 10:40:58 +030097source "fs/sysfs/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -070098
Linus Torvalds1da177e2005-04-16 15:20:36 -070099config TMPFS
100 bool "Virtual memory file system support (former shm fs)"
101 help
102 Tmpfs is a file system which keeps all files in virtual memory.
103
104 Everything in tmpfs is temporary in the sense that no files will be
105 created on your hard drive. The files live in memory and swap
106 space. If you unmount a tmpfs instance, everything stored therein is
107 lost.
108
109 See <file:Documentation/filesystems/tmpfs.txt> for details.
110
Andreas Gruenbacher39f02472006-09-29 02:01:35 -0700111config TMPFS_POSIX_ACL
112 bool "Tmpfs POSIX Access Control Lists"
113 depends on TMPFS
114 select GENERIC_ACL
115 help
116 POSIX Access Control Lists (ACLs) support permissions for users and
117 groups beyond the owner/group/world scheme.
118
119 To learn more about Access Control Lists, visit the POSIX ACLs for
120 Linux website <http://acl.bestbits.at/>.
121
122 If you don't know what Access Control Lists are, say N.
123
Linus Torvalds1da177e2005-04-16 15:20:36 -0700124config HUGETLBFS
125 bool "HugeTLB file system support"
Gerald Schaefer53492b12008-04-30 13:38:46 +0200126 depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
127 (S390 && 64BIT) || BROKEN
Arthur Othienodda27d12006-04-18 22:20:57 -0700128 help
129 hugetlbfs is a filesystem backing for HugeTLB pages, based on
130 ramfs. For architectures that support it, say Y here and read
131 <file:Documentation/vm/hugetlbpage.txt> for details.
132
133 If unsure, say N.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700134
135config HUGETLB_PAGE
136 def_bool HUGETLBFS
137
Alexey Dobriyan4591dab2009-01-22 10:42:52 +0300138source "fs/configfs/Kconfig"
Joel Becker7063fbf2005-12-15 14:29:43 -0800139
Linus Torvalds1da177e2005-04-16 15:20:36 -0700140endmenu
141
Randy Dunlap67ec7d32009-01-06 14:40:57 -0800142menuconfig MISC_FILESYSTEMS
143 bool "Miscellaneous filesystems"
144 default y
145 ---help---
146 Say Y here to get to see options for various miscellaneous
147 filesystems, such as filesystems that came from other
148 operating systems.
149
150 This option alone does not add any kernel code.
151
152 If you say N, all options in this submenu will be skipped and
153 disabled; if unsure, say Y here.
154
155if MISC_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700156
Alexey Dobriyanbc2de2a2009-01-22 10:48:46 +0300157source "fs/adfs/Kconfig"
Alexey Dobriyan10951bf2009-01-22 10:49:44 +0300158source "fs/affs/Kconfig"
Alexey Dobriyan295c8962009-01-22 10:50:50 +0300159source "fs/ecryptfs/Kconfig"
Alexey Dobriyanb08bac12009-01-22 10:53:24 +0300160source "fs/hfs/Kconfig"
161source "fs/hfsplus/Kconfig"
Alexey Dobriyan0b09eb32009-01-22 10:54:16 +0300162source "fs/befs/Kconfig"
Alexey Dobriyan0ff42382009-01-22 10:55:13 +0300163source "fs/bfs/Kconfig"
Alexey Dobriyan571f0a02009-01-22 10:56:07 +0300164source "fs/efs/Kconfig"
Alexey Dobriyan31db6e92008-08-29 07:19:50 +0400165source "fs/jffs2/Kconfig"
Artem Bityutskiy0d7eff82008-07-14 19:08:38 +0300166# UBIFS File system configuration
167source "fs/ubifs/Kconfig"
Alexey Dobriyan2a227832009-01-22 10:56:54 +0300168source "fs/cramfs/Kconfig"
Alexey Dobriyan22635ec2009-01-22 10:57:46 +0300169source "fs/squashfs/Kconfig"
Alexey Dobriyan22135162009-01-22 10:58:51 +0300170source "fs/freevxfs/Kconfig"
Alexey Dobriyan8b1cd7d2009-01-22 10:59:49 +0300171source "fs/minix/Kconfig"
Alexey Dobriyanda55e6f2009-01-22 11:00:41 +0300172source "fs/omfs/Kconfig"
Alexey Dobriyan928ea192009-01-22 11:01:26 +0300173source "fs/hpfs/Kconfig"
Alexey Dobriyan4c741582009-01-22 11:02:21 +0300174source "fs/qnx4/Kconfig"
Alexey Dobriyan41810242009-01-22 11:03:34 +0300175source "fs/romfs/Kconfig"
Alexey Dobriyan8af915b2009-01-22 11:04:23 +0300176source "fs/sysv/Kconfig"
Alexey Dobriyana276a522009-01-22 11:05:02 +0300177source "fs/ufs/Kconfig"
Boaz Harrosh0d8fe322008-12-15 12:53:08 +0200178source "fs/exofs/Kconfig"
179
Ryusuke Konishi0c4fb872009-04-06 19:01:41 -0700180config NILFS2_FS
181 tristate "NILFS2 file system support (EXPERIMENTAL)"
182 depends on BLOCK && EXPERIMENTAL
183 select CRC32
184 help
185 NILFS2 is a log-structured file system (LFS) supporting continuous
186 snapshotting. In addition to versioning capability of the entire
187 file system, users can even restore files mistakenly overwritten or
188 destroyed just a few seconds ago. Since this file system can keep
189 consistency like conventional LFS, it achieves quick recovery after
190 system crashes.
191
192 NILFS2 creates a number of checkpoints every few seconds or per
193 synchronous write basis (unless there is no change). Users can
194 select significant versions among continuously created checkpoints,
195 and can change them into snapshots which will be preserved for long
196 periods until they are changed back to checkpoints. Each
197 snapshot is mountable as a read-only file system concurrently with
198 its writable mount, and this feature is convenient for online backup.
199
200 Some features including atime, extended attributes, and POSIX ACLs,
201 are not supported yet.
202
203 To compile this file system support as a module, choose M here: the
204 module will be called nilfs2. If unsure, say N.
205
Randy Dunlap67ec7d32009-01-06 14:40:57 -0800206endif # MISC_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700207
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700208menuconfig NETWORK_FILESYSTEMS
209 bool "Network File Systems"
210 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700211 depends on NET
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700212 ---help---
213 Say Y here to get to see options for network filesystems and
214 filesystem-related networking code, such as NFS daemon and
215 RPCSEC security modules.
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400216
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700217 This option alone does not add any kernel code.
218
219 If you say N, all options in this submenu will be skipped and
220 disabled; if unsure, say Y here.
221
222if NETWORK_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700223
Alexey Dobriyan97afe472009-01-22 11:07:41 +0300224source "fs/nfs/Kconfig"
Alexey Dobriyane2b329e2009-01-22 11:08:58 +0300225source "fs/nfsd/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700226
Linus Torvalds1da177e2005-04-16 15:20:36 -0700227config LOCKD
228 tristate
229
230config LOCKD_V4
231 bool
232 depends on NFSD_V3 || NFS_V3
233 default y
234
235config EXPORTFS
236 tristate
237
Andreas Gruenbachera257cdd2005-06-22 17:16:26 +0000238config NFS_ACL_SUPPORT
239 tristate
240 select FS_POSIX_ACL
241
242config NFS_COMMON
243 bool
244 depends on NFSD || NFS_FS
245 default y
246
Alexey Dobriyan9098c242009-01-22 11:11:56 +0300247source "net/sunrpc/Kconfig"
Alexey Dobriyan213a41d2009-01-22 11:13:16 +0300248source "fs/smbfs/Kconfig"
Alexey Dobriyanbb26b962008-10-18 20:28:49 -0700249source "fs/cifs/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700250source "fs/ncpfs/Kconfig"
Alexey Dobriyan33a1a6f2009-01-22 11:15:06 +0300251source "fs/coda/Kconfig"
Alexey Dobriyanb2480c72009-01-22 11:16:02 +0300252source "fs/afs/Kconfig"
Alexey Dobriyan0fcb4402009-01-22 11:16:42 +0300253source "fs/9p/Kconfig"
Eric Van Hensbergen93fa58c2005-09-09 13:04:18 -0700254
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700255endif # NETWORK_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700256
David Howells93614012006-09-30 20:45:40 +0200257if BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700258menu "Partition Types"
259
260source "fs/partitions/Kconfig"
261
262endmenu
David Howells93614012006-09-30 20:45:40 +0200263endif
Linus Torvalds1da177e2005-04-16 15:20:36 -0700264
265source "fs/nls/Kconfig"
David Teiglande7fd4172006-01-18 09:30:29 +0000266source "fs/dlm/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700267
268endmenu