blob: 1d7c0f6fade44ced6d270f0d179102e5b811609c [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"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700268
269config SMB_FS
Andrew Mortonc7736332008-02-05 14:22:58 -0800270 tristate "SMB file system support (OBSOLETE, please use CIFS)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700271 depends on INET
272 select NLS
273 help
274 SMB (Server Message Block) is the protocol Windows for Workgroups
275 (WfW), Windows 95/98, Windows NT and OS/2 Lan Manager use to share
276 files and printers over local networks. Saying Y here allows you to
277 mount their file systems (often called "shares" in this context) and
278 access them just like any other Unix directory. Currently, this
279 works only if the Windows machines use TCP/IP as the underlying
280 transport protocol, and not NetBEUI. For details, read
281 <file:Documentation/filesystems/smbfs.txt> and the SMB-HOWTO,
282 available from <http://www.tldp.org/docs.html#howto>.
283
284 Note: if you just want your box to act as an SMB *server* and make
285 files and printing services available to Windows clients (which need
286 to have a TCP/IP stack), you don't need to say Y here; you can use
287 the program SAMBA (available from <ftp://ftp.samba.org/pub/samba/>)
288 for that.
289
290 General information about how to connect Linux, Windows machines and
291 Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>.
292
Andrew Mortonc7736332008-02-05 14:22:58 -0800293 To compile the SMB support as a module, choose M here:
294 the module will be called smbfs. Most people say N, however.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700295
296config SMB_NLS_DEFAULT
297 bool "Use a default NLS"
298 depends on SMB_FS
299 help
300 Enabling this will make smbfs use nls translations by default. You
301 need to specify the local charset (CONFIG_NLS_DEFAULT) in the nls
302 settings and you need to give the default nls for the SMB server as
303 CONFIG_SMB_NLS_REMOTE.
304
305 The nls settings can be changed at mount time, if your smbmount
306 supports that, using the codepage and iocharset parameters.
307
308 smbmount from samba 2.2.0 or later supports this.
309
310config SMB_NLS_REMOTE
311 string "Default Remote NLS Option"
312 depends on SMB_NLS_DEFAULT
313 default "cp437"
314 help
315 This setting allows you to specify a default value for which
316 codepage the server uses. If this field is left blank no
317 translations will be done by default. The local codepage/charset
318 default to CONFIG_NLS_DEFAULT.
319
320 The nls settings can be changed at mount time, if your smbmount
321 supports that, using the codepage and iocharset parameters.
322
323 smbmount from samba 2.2.0 or later supports this.
324
Alexey Dobriyanbb26b962008-10-18 20:28:49 -0700325source "fs/cifs/Kconfig"
Steve French61033352008-01-09 16:21:36 +0000326
Linus Torvalds1da177e2005-04-16 15:20:36 -0700327config NCP_FS
328 tristate "NCP file system support (to mount NetWare volumes)"
329 depends on IPX!=n || INET
330 help
331 NCP (NetWare Core Protocol) is a protocol that runs over IPX and is
332 used by Novell NetWare clients to talk to file servers. It is to
333 IPX what NFS is to TCP/IP, if that helps. Saying Y here allows you
334 to mount NetWare file server volumes and to access them just like
335 any other Unix directory. For details, please read the file
336 <file:Documentation/filesystems/ncpfs.txt> in the kernel source and
337 the IPX-HOWTO from <http://www.tldp.org/docs.html#howto>.
338
339 You do not have to say Y here if you want your Linux box to act as a
340 file *server* for Novell NetWare clients.
341
342 General information about how to connect Linux, Windows machines and
343 Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>.
344
345 To compile this as a module, choose M here: the module will be called
346 ncpfs. Say N unless you are connected to a Novell network.
347
348source "fs/ncpfs/Kconfig"
349
350config CODA_FS
351 tristate "Coda file system support (advanced network fs)"
352 depends on INET
353 help
354 Coda is an advanced network file system, similar to NFS in that it
355 enables you to mount file systems of a remote server and access them
356 with regular Unix commands as if they were sitting on your hard
357 disk. Coda has several advantages over NFS: support for
358 disconnected operation (e.g. for laptops), read/write server
359 replication, security model for authentication and encryption,
360 persistent client caches and write back caching.
361
362 If you say Y here, your Linux box will be able to act as a Coda
363 *client*. You will need user level code as well, both for the
364 client and server. Servers are currently user level, i.e. they need
365 no kernel support. Please read
366 <file:Documentation/filesystems/coda.txt> and check out the Coda
367 home page <http://www.coda.cs.cmu.edu/>.
368
369 To compile the coda client support as a module, choose M here: the
370 module will be called coda.
371
Linus Torvalds1da177e2005-04-16 15:20:36 -0700372config AFS_FS
David Howells64aaa4f2006-11-16 01:19:27 -0800373 tristate "Andrew File System support (AFS) (EXPERIMENTAL)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700374 depends on INET && EXPERIMENTAL
David Howells08e0e7c2007-04-26 15:55:03 -0700375 select AF_RXRPC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700376 help
377 If you say Y here, you will get an experimental Andrew File System
378 driver. It currently only supports unsecured read-only AFS access.
379
Matt LaPlantecc2e2762006-10-03 22:22:29 +0200380 See <file:Documentation/filesystems/afs.txt> for more information.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700381
382 If unsure, say N.
383
David Howells08e0e7c2007-04-26 15:55:03 -0700384config AFS_DEBUG
385 bool "AFS dynamic debugging"
386 depends on AFS_FS
387 help
388 Say Y here to make runtime controllable debugging messages appear.
389
390 See <file:Documentation/filesystems/afs.txt> for more information.
391
392 If unsure, say N.
393
Eric Van Hensbergen93fa58c2005-09-09 13:04:18 -0700394config 9P_FS
395 tristate "Plan 9 Resource Sharing Support (9P2000) (Experimental)"
Latchesar Ionkovbd238fb2007-07-10 17:57:28 -0500396 depends on INET && NET_9P && EXPERIMENTAL
Eric Van Hensbergen93fa58c2005-09-09 13:04:18 -0700397 help
398 If you say Y here, you will get experimental support for
399 Plan 9 resource sharing via the 9P2000 protocol.
400
401 See <http://v9fs.sf.net> for more information.
402
403 If unsure, say N.
404
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700405endif # NETWORK_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700406
David Howells93614012006-09-30 20:45:40 +0200407if BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700408menu "Partition Types"
409
410source "fs/partitions/Kconfig"
411
412endmenu
David Howells93614012006-09-30 20:45:40 +0200413endif
Linus Torvalds1da177e2005-04-16 15:20:36 -0700414
415source "fs/nls/Kconfig"
David Teiglande7fd4172006-01-18 09:30:29 +0000416source "fs/dlm/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700417
418endmenu