blob: 9bead7c680d72d15cecc046cc0f03d740fa77027 [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"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700221
Linus Torvalds1da177e2005-04-16 15:20:36 -0700222config QNX4FS_FS
223 tristate "QNX4 file system support (read only)"
David Howells93614012006-09-30 20:45:40 +0200224 depends on BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700225 help
226 This is the file system used by the real-time operating systems
227 QNX 4 and QNX 6 (the latter is also called QNX RTP).
228 Further information is available at <http://www.qnx.com/>.
229 Say Y if you intend to mount QNX hard disks or floppies.
230 Unless you say Y to "QNX4FS read-write support" below, you will
231 only be able to read these file systems.
232
233 To compile this file system support as a module, choose M here: the
234 module will be called qnx4.
235
236 If you don't know whether you need it, then you don't need it:
237 answer N.
238
239config QNX4FS_RW
240 bool "QNX4FS write support (DANGEROUS)"
241 depends on QNX4FS_FS && EXPERIMENTAL && BROKEN
242 help
243 Say Y if you want to test write support for QNX4 file systems.
244
245 It's currently broken, so for now:
246 answer N.
247
Randy Dunlap25fad942008-02-07 00:15:16 -0800248config ROMFS_FS
249 tristate "ROM file system support"
250 depends on BLOCK
251 ---help---
252 This is a very small read-only file system mainly intended for
253 initial ram disks of installation disks, but it could be used for
254 other read-only media as well. Read
255 <file:Documentation/filesystems/romfs.txt> for details.
256
257 To compile this file system support as a module, choose M here: the
258 module will be called romfs. Note that the file system of your
259 root partition (the one containing the directory /) cannot be a
260 module.
261
262 If you don't know whether you need it, then you don't need it:
263 answer N.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700264
265
266config SYSV_FS
267 tristate "System V/Xenix/V7/Coherent file system support"
David Howells93614012006-09-30 20:45:40 +0200268 depends on BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700269 help
270 SCO, Xenix and Coherent are commercial Unix systems for Intel
271 machines, and Version 7 was used on the DEC PDP-11. Saying Y
272 here would allow you to read from their floppies and hard disk
273 partitions.
274
275 If you have floppies or hard disk partitions like that, it is likely
276 that they contain binaries from those other Unix systems; in order
Matt LaPlantecab00892006-10-03 22:36:44 +0200277 to run these binaries, you will want to install linux-abi which is
Linus Torvalds1da177e2005-04-16 15:20:36 -0700278 a set of kernel modules that lets you run SCO, Xenix, Wyse,
279 UnixWare, Dell Unix and System V programs under Linux. It is
280 available via FTP (user: ftp) from
281 <ftp://ftp.openlinux.org/pub/people/hch/linux-abi/>).
282 NOTE: that will work only for binaries from Intel-based systems;
283 PDP ones will have to wait until somebody ports Linux to -11 ;-)
284
285 If you only intend to mount files from some other Unix over the
286 network using NFS, you don't need the System V file system support
287 (but you need NFS file system support obviously).
288
289 Note that this option is generally not needed for floppies, since a
290 good portable way to transport files and directories between unixes
291 (and even other operating systems) is given by the tar program ("man
292 tar" or preferably "info tar"). Note also that this option has
293 nothing whatsoever to do with the option "System V IPC". Read about
294 the System V file system in
295 <file:Documentation/filesystems/sysv-fs.txt>.
296 Saying Y here will enlarge your kernel by about 27 KB.
297
298 To compile this as a module, choose M here: the module will be called
299 sysv.
300
301 If you haven't heard about all of this before, it's safe to say N.
302
303
Linus Torvalds1da177e2005-04-16 15:20:36 -0700304config UFS_FS
305 tristate "UFS file system support (read only)"
David Howells93614012006-09-30 20:45:40 +0200306 depends on BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700307 help
308 BSD and derivate versions of Unix (such as SunOS, FreeBSD, NetBSD,
309 OpenBSD and NeXTstep) use a file system called UFS. Some System V
310 Unixes can create and mount hard disk partitions and diskettes using
311 this file system as well. Saying Y here will allow you to read from
312 these partitions; if you also want to write to them, say Y to the
313 experimental "UFS file system write support", below. Please read the
314 file <file:Documentation/filesystems/ufs.txt> for more information.
315
316 The recently released UFS2 variant (used in FreeBSD 5.x) is
317 READ-ONLY supported.
318
Linus Torvalds1da177e2005-04-16 15:20:36 -0700319 Note that this option is generally not needed for floppies, since a
320 good portable way to transport files and directories between unixes
321 (and even other operating systems) is given by the tar program ("man
322 tar" or preferably "info tar").
323
324 When accessing NeXTstep files, you may need to convert them from the
325 NeXT character set to the Latin1 character set; use the program
326 recode ("info recode") for this purpose.
327
328 To compile the UFS file system support as a module, choose M here: the
329 module will be called ufs.
330
331 If you haven't heard about all of this before, it's safe to say N.
332
333config UFS_FS_WRITE
334 bool "UFS file system write support (DANGEROUS)"
Evgeniy Dushistov5afb3142006-06-25 05:47:24 -0700335 depends on UFS_FS && EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700336 help
337 Say Y here if you want to try writing to UFS partitions. This is
338 experimental, so you should back up your UFS partitions beforehand.
339
Evgeniy Dushistovabf5d152006-06-25 05:47:24 -0700340config UFS_DEBUG
341 bool "UFS debugging"
342 depends on UFS_FS
343 help
344 If you are experiencing any problems with the UFS filesystem, say
345 Y here. This will result in _many_ additional debugging messages to be
346 written to the system log.
347
Randy Dunlap67ec7d32009-01-06 14:40:57 -0800348endif # MISC_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700349
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700350menuconfig NETWORK_FILESYSTEMS
351 bool "Network File Systems"
352 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700353 depends on NET
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700354 ---help---
355 Say Y here to get to see options for network filesystems and
356 filesystem-related networking code, such as NFS daemon and
357 RPCSEC security modules.
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400358
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700359 This option alone does not add any kernel code.
360
361 If you say N, all options in this submenu will be skipped and
362 disabled; if unsure, say Y here.
363
364if NETWORK_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700365
366config NFS_FS
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400367 tristate "NFS client support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700368 depends on INET
369 select LOCKD
370 select SUNRPC
Andreas Gruenbacherb7fa0552005-06-22 17:16:27 +0000371 select NFS_ACL_SUPPORT if NFS_V3_ACL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700372 help
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400373 Choose Y here if you want to access files residing on other
374 computers using Sun's Network File System protocol. To compile
375 this file system support as a module, choose M here: the module
376 will be called nfs.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700377
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400378 To mount file systems exported by NFS servers, you also need to
379 install the user space mount.nfs command which can be found in
380 the Linux nfs-utils package, available from http://linux-nfs.org/.
381 Information about using the mount command is available in the
382 mount(8) man page. More detail about the Linux NFS client
383 implementation is available via the nfs(5) man page.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700384
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400385 Below you can choose which versions of the NFS protocol are
386 available in the kernel to mount NFS servers. Support for NFS
387 version 2 (RFC 1094) is always available when NFS_FS is selected.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700388
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400389 To configure a system which mounts its root file system via NFS
390 at boot time, say Y here, select "Kernel level IP
391 autoconfiguration" in the NETWORK menu, and select "Root file
392 system on NFS" below. You cannot compile this file system as a
393 module in this case.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700394
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400395 If unsure, say N.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700396
397config NFS_V3
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400398 bool "NFS client support for NFS version 3"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700399 depends on NFS_FS
400 help
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400401 This option enables support for version 3 of the NFS protocol
402 (RFC 1813) in the kernel's NFS client.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700403
404 If unsure, say Y.
405
Andreas Gruenbacherb7fa0552005-06-22 17:16:27 +0000406config NFS_V3_ACL
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400407 bool "NFS client support for the NFSv3 ACL protocol extension"
Andreas Gruenbacherb7fa0552005-06-22 17:16:27 +0000408 depends on NFS_V3
409 help
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400410 Some NFS servers support an auxiliary NFSv3 ACL protocol that
411 Sun added to Solaris but never became an official part of the
412 NFS version 3 protocol. This protocol extension allows
413 applications on NFS clients to manipulate POSIX Access Control
414 Lists on files residing on NFS servers. NFS servers enforce
415 ACLs on local files whether this protocol is available or not.
416
417 Choose Y here if your NFS server supports the Solaris NFSv3 ACL
418 protocol extension and you want your NFS client to allow
419 applications to access and modify ACLs on files on the server.
420
421 Most NFS servers don't support the Solaris NFSv3 ACL protocol
422 extension. You can choose N here or specify the "noacl" mount
423 option to prevent your NFS client from trying to use the NFSv3
424 ACL protocol.
Andreas Gruenbacherb7fa0552005-06-22 17:16:27 +0000425
426 If unsure, say N.
427
Linus Torvalds1da177e2005-04-16 15:20:36 -0700428config NFS_V4
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400429 bool "NFS client support for NFS version 4 (EXPERIMENTAL)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700430 depends on NFS_FS && EXPERIMENTAL
431 select RPCSEC_GSS_KRB5
432 help
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400433 This option enables support for version 4 of the NFS protocol
434 (RFC 3530) in the kernel's NFS client.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700435
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400436 To mount NFS servers using NFSv4, you also need to install user
437 space programs which can be found in the Linux nfs-utils package,
438 available from http://linux-nfs.org/.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700439
440 If unsure, say N.
441
Chuck Lever6fb1bc12008-05-21 17:09:04 -0400442config ROOT_NFS
443 bool "Root file system on NFS"
444 depends on NFS_FS=y && IP_PNP
445 help
446 If you want your system to mount its root file system via NFS,
447 choose Y here. This is common practice for managing systems
448 without local permanent storage. For details, read
449 <file:Documentation/filesystems/nfsroot.txt>.
450
451 Most people say N here.
452
Linus Torvalds1da177e2005-04-16 15:20:36 -0700453config NFSD
454 tristate "NFS server support"
455 depends on INET
456 select LOCKD
457 select SUNRPC
458 select EXPORTFS
Herbert Xuf05e15b2006-06-26 00:25:39 -0700459 select NFS_ACL_SUPPORT if NFSD_V2_ACL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700460 help
Chuck Leverd24455b2008-02-11 17:11:54 -0500461 Choose Y here if you want to allow other computers to access
462 files residing on this system using Sun's Network File System
463 protocol. To compile the NFS server support as a module,
464 choose M here: the module will be called nfsd.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700465
Chuck Leverd24455b2008-02-11 17:11:54 -0500466 You may choose to use a user-space NFS server instead, in which
467 case you can choose N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700468
Chuck Leverd24455b2008-02-11 17:11:54 -0500469 To export local file systems using NFS, you also need to install
470 user space programs which can be found in the Linux nfs-utils
471 package, available from http://linux-nfs.org/. More detail about
472 the Linux NFS server implementation is available via the
473 exports(5) man page.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700474
Chuck Leverd24455b2008-02-11 17:11:54 -0500475 Below you can choose which versions of the NFS protocol are
476 available to clients mounting the NFS server on this system.
477 Support for NFS version 2 (RFC 1094) is always available when
478 CONFIG_NFSD is selected.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700479
Chuck Leverd24455b2008-02-11 17:11:54 -0500480 If unsure, say N.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700481
Andreas Gruenbachera257cdd2005-06-22 17:16:26 +0000482config NFSD_V2_ACL
483 bool
484 depends on NFSD
485
Linus Torvalds1da177e2005-04-16 15:20:36 -0700486config NFSD_V3
Chuck Leverd24455b2008-02-11 17:11:54 -0500487 bool "NFS server support for NFS version 3"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700488 depends on NFSD
489 help
Chuck Leverd24455b2008-02-11 17:11:54 -0500490 This option enables support in your system's NFS server for
491 version 3 of the NFS protocol (RFC 1813).
492
493 If unsure, say Y.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700494
Andreas Gruenbachera257cdd2005-06-22 17:16:26 +0000495config NFSD_V3_ACL
Chuck Leverd24455b2008-02-11 17:11:54 -0500496 bool "NFS server support for the NFSv3 ACL protocol extension"
Andreas Gruenbachera257cdd2005-06-22 17:16:26 +0000497 depends on NFSD_V3
Chuck Lever78dd0992008-02-11 17:12:31 -0500498 select NFSD_V2_ACL
Andreas Gruenbachera257cdd2005-06-22 17:16:26 +0000499 help
Chuck Leverd24455b2008-02-11 17:11:54 -0500500 Solaris NFS servers support an auxiliary NFSv3 ACL protocol that
501 never became an official part of the NFS version 3 protocol.
502 This protocol extension allows applications on NFS clients to
503 manipulate POSIX Access Control Lists on files residing on NFS
504 servers. NFS servers enforce POSIX ACLs on local files whether
505 this protocol is available or not.
506
507 This option enables support in your system's NFS server for the
508 NFSv3 ACL protocol extension allowing NFS clients to manipulate
509 POSIX ACLs on files exported by your system's NFS server. NFS
510 clients which support the Solaris NFSv3 ACL protocol can then
511 access and modify ACLs on your NFS server.
512
513 To store ACLs on your NFS server, you also need to enable ACL-
514 related CONFIG options for your local file systems of choice.
515
516 If unsure, say N.
Andreas Gruenbachera257cdd2005-06-22 17:16:26 +0000517
Linus Torvalds1da177e2005-04-16 15:20:36 -0700518config NFSD_V4
Chuck Leverd24455b2008-02-11 17:11:54 -0500519 bool "NFS server support for NFS version 4 (EXPERIMENTAL)"
Chuck Lever1a448fd2008-03-27 16:34:54 -0400520 depends on NFSD && PROC_FS && EXPERIMENTAL
521 select NFSD_V3
Chuck Lever89206952008-02-11 17:12:24 -0500522 select FS_POSIX_ACL
J. Bruce Fields42ed95c2007-07-17 04:04:41 -0700523 select RPCSEC_GSS_KRB5
Linus Torvalds1da177e2005-04-16 15:20:36 -0700524 help
Chuck Leverd24455b2008-02-11 17:11:54 -0500525 This option enables support in your system's NFS server for
526 version 4 of the NFS protocol (RFC 3530).
527
528 To export files using NFSv4, you need to install additional user
529 space programs which can be found in the Linux nfs-utils package,
530 available from http://linux-nfs.org/.
531
Linus Torvalds1da177e2005-04-16 15:20:36 -0700532 If unsure, say N.
533
Linus Torvalds1da177e2005-04-16 15:20:36 -0700534config LOCKD
535 tristate
536
537config LOCKD_V4
538 bool
539 depends on NFSD_V3 || NFS_V3
540 default y
541
542config EXPORTFS
543 tristate
544
Andreas Gruenbachera257cdd2005-06-22 17:16:26 +0000545config NFS_ACL_SUPPORT
546 tristate
547 select FS_POSIX_ACL
548
549config NFS_COMMON
550 bool
551 depends on NFSD || NFS_FS
552 default y
553
Linus Torvalds1da177e2005-04-16 15:20:36 -0700554config SUNRPC
555 tristate
556
557config SUNRPC_GSS
558 tristate
559
\"Talpey, Thomas\c3a57ed2007-09-10 13:49:15 -0400560config SUNRPC_XPRT_RDMA
James Lentini3211e4e2008-01-28 12:09:28 -0500561 tristate
\"Talpey, Thomas\113632d2007-09-20 17:37:58 -0400562 depends on SUNRPC && INFINIBAND && EXPERIMENTAL
James Lentini3211e4e2008-01-28 12:09:28 -0500563 default SUNRPC && INFINIBAND
Chuck Lever327a2992008-03-14 14:15:11 -0400564 help
565 This option enables an RPC client transport capability that
566 allows the NFS client to mount servers via an RDMA-enabled
567 transport.
568
569 To compile RPC client RDMA transport support as a module,
570 choose M here: the module will be called xprtrdma.
571
572 If unsure, say N.
\"Talpey, Thomas\c3a57ed2007-09-10 13:49:15 -0400573
Chuck Levera26cfad2008-08-18 19:34:16 -0400574config SUNRPC_REGISTER_V4
575 bool "Register local RPC services via rpcbind v4 (EXPERIMENTAL)"
576 depends on SUNRPC && EXPERIMENTAL
577 default n
578 help
579 Sun added support for registering RPC services at an IPv6
580 address by creating two new versions of the rpcbind protocol
581 (RFC 1833).
582
583 This option enables support in the kernel RPC server for
584 registering kernel RPC services via version 4 of the rpcbind
585 protocol. If you enable this option, you must run a portmapper
586 daemon that supports rpcbind protocol version 4.
587
588 Serving NFS over IPv6 from knfsd (the kernel's NFS server)
589 requires that you enable this option and use a portmapper that
590 supports rpcbind version 4.
591
592 If unsure, say N to get traditional behavior (register kernel
593 RPC services using only rpcbind version 2). Distributions
594 using the legacy Linux portmapper daemon must say N here.
595
Linus Torvalds1da177e2005-04-16 15:20:36 -0700596config RPCSEC_GSS_KRB5
597 tristate "Secure RPC: Kerberos V mechanism (EXPERIMENTAL)"
598 depends on SUNRPC && EXPERIMENTAL
599 select SUNRPC_GSS
600 select CRYPTO
601 select CRYPTO_MD5
602 select CRYPTO_DES
Patrick McHardybcbaecb2006-10-25 16:49:36 +1000603 select CRYPTO_CBC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700604 help
Chuck Lever327a2992008-03-14 14:15:11 -0400605 Choose Y here to enable Secure RPC using the Kerberos version 5
606 GSS-API mechanism (RFC 1964).
Linus Torvalds1da177e2005-04-16 15:20:36 -0700607
Chuck Lever327a2992008-03-14 14:15:11 -0400608 Secure RPC calls with Kerberos require an auxiliary user-space
609 daemon which may be found in the Linux nfs-utils package
610 available from http://linux-nfs.org/. In addition, user-space
611 Kerberos support should be installed.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700612
613 If unsure, say N.
614
615config RPCSEC_GSS_SPKM3
616 tristate "Secure RPC: SPKM3 mechanism (EXPERIMENTAL)"
617 depends on SUNRPC && EXPERIMENTAL
618 select SUNRPC_GSS
619 select CRYPTO
620 select CRYPTO_MD5
621 select CRYPTO_DES
J. Bruce Fieldsdf6db302006-03-20 23:25:10 -0500622 select CRYPTO_CAST5
Patrick McHardybcbaecb2006-10-25 16:49:36 +1000623 select CRYPTO_CBC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700624 help
Chuck Lever327a2992008-03-14 14:15:11 -0400625 Choose Y here to enable Secure RPC using the SPKM3 public key
626 GSS-API mechansim (RFC 2025).
Linus Torvalds1da177e2005-04-16 15:20:36 -0700627
Chuck Lever327a2992008-03-14 14:15:11 -0400628 Secure RPC calls with SPKM3 require an auxiliary userspace
629 daemon which may be found in the Linux nfs-utils package
630 available from http://linux-nfs.org/.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700631
632 If unsure, say N.
633
634config SMB_FS
Andrew Mortonc7736332008-02-05 14:22:58 -0800635 tristate "SMB file system support (OBSOLETE, please use CIFS)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700636 depends on INET
637 select NLS
638 help
639 SMB (Server Message Block) is the protocol Windows for Workgroups
640 (WfW), Windows 95/98, Windows NT and OS/2 Lan Manager use to share
641 files and printers over local networks. Saying Y here allows you to
642 mount their file systems (often called "shares" in this context) and
643 access them just like any other Unix directory. Currently, this
644 works only if the Windows machines use TCP/IP as the underlying
645 transport protocol, and not NetBEUI. For details, read
646 <file:Documentation/filesystems/smbfs.txt> and the SMB-HOWTO,
647 available from <http://www.tldp.org/docs.html#howto>.
648
649 Note: if you just want your box to act as an SMB *server* and make
650 files and printing services available to Windows clients (which need
651 to have a TCP/IP stack), you don't need to say Y here; you can use
652 the program SAMBA (available from <ftp://ftp.samba.org/pub/samba/>)
653 for that.
654
655 General information about how to connect Linux, Windows machines and
656 Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>.
657
Andrew Mortonc7736332008-02-05 14:22:58 -0800658 To compile the SMB support as a module, choose M here:
659 the module will be called smbfs. Most people say N, however.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700660
661config SMB_NLS_DEFAULT
662 bool "Use a default NLS"
663 depends on SMB_FS
664 help
665 Enabling this will make smbfs use nls translations by default. You
666 need to specify the local charset (CONFIG_NLS_DEFAULT) in the nls
667 settings and you need to give the default nls for the SMB server as
668 CONFIG_SMB_NLS_REMOTE.
669
670 The nls settings can be changed at mount time, if your smbmount
671 supports that, using the codepage and iocharset parameters.
672
673 smbmount from samba 2.2.0 or later supports this.
674
675config SMB_NLS_REMOTE
676 string "Default Remote NLS Option"
677 depends on SMB_NLS_DEFAULT
678 default "cp437"
679 help
680 This setting allows you to specify a default value for which
681 codepage the server uses. If this field is left blank no
682 translations will be done by default. The local codepage/charset
683 default to CONFIG_NLS_DEFAULT.
684
685 The nls settings can be changed at mount time, if your smbmount
686 supports that, using the codepage and iocharset parameters.
687
688 smbmount from samba 2.2.0 or later supports this.
689
Alexey Dobriyanbb26b962008-10-18 20:28:49 -0700690source "fs/cifs/Kconfig"
Steve French61033352008-01-09 16:21:36 +0000691
Linus Torvalds1da177e2005-04-16 15:20:36 -0700692config NCP_FS
693 tristate "NCP file system support (to mount NetWare volumes)"
694 depends on IPX!=n || INET
695 help
696 NCP (NetWare Core Protocol) is a protocol that runs over IPX and is
697 used by Novell NetWare clients to talk to file servers. It is to
698 IPX what NFS is to TCP/IP, if that helps. Saying Y here allows you
699 to mount NetWare file server volumes and to access them just like
700 any other Unix directory. For details, please read the file
701 <file:Documentation/filesystems/ncpfs.txt> in the kernel source and
702 the IPX-HOWTO from <http://www.tldp.org/docs.html#howto>.
703
704 You do not have to say Y here if you want your Linux box to act as a
705 file *server* for Novell NetWare clients.
706
707 General information about how to connect Linux, Windows machines and
708 Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>.
709
710 To compile this as a module, choose M here: the module will be called
711 ncpfs. Say N unless you are connected to a Novell network.
712
713source "fs/ncpfs/Kconfig"
714
715config CODA_FS
716 tristate "Coda file system support (advanced network fs)"
717 depends on INET
718 help
719 Coda is an advanced network file system, similar to NFS in that it
720 enables you to mount file systems of a remote server and access them
721 with regular Unix commands as if they were sitting on your hard
722 disk. Coda has several advantages over NFS: support for
723 disconnected operation (e.g. for laptops), read/write server
724 replication, security model for authentication and encryption,
725 persistent client caches and write back caching.
726
727 If you say Y here, your Linux box will be able to act as a Coda
728 *client*. You will need user level code as well, both for the
729 client and server. Servers are currently user level, i.e. they need
730 no kernel support. Please read
731 <file:Documentation/filesystems/coda.txt> and check out the Coda
732 home page <http://www.coda.cs.cmu.edu/>.
733
734 To compile the coda client support as a module, choose M here: the
735 module will be called coda.
736
Linus Torvalds1da177e2005-04-16 15:20:36 -0700737config AFS_FS
David Howells64aaa4f2006-11-16 01:19:27 -0800738 tristate "Andrew File System support (AFS) (EXPERIMENTAL)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700739 depends on INET && EXPERIMENTAL
David Howells08e0e7c2007-04-26 15:55:03 -0700740 select AF_RXRPC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700741 help
742 If you say Y here, you will get an experimental Andrew File System
743 driver. It currently only supports unsecured read-only AFS access.
744
Matt LaPlantecc2e2762006-10-03 22:22:29 +0200745 See <file:Documentation/filesystems/afs.txt> for more information.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700746
747 If unsure, say N.
748
David Howells08e0e7c2007-04-26 15:55:03 -0700749config AFS_DEBUG
750 bool "AFS dynamic debugging"
751 depends on AFS_FS
752 help
753 Say Y here to make runtime controllable debugging messages appear.
754
755 See <file:Documentation/filesystems/afs.txt> for more information.
756
757 If unsure, say N.
758
Eric Van Hensbergen93fa58c2005-09-09 13:04:18 -0700759config 9P_FS
760 tristate "Plan 9 Resource Sharing Support (9P2000) (Experimental)"
Latchesar Ionkovbd238fb2007-07-10 17:57:28 -0500761 depends on INET && NET_9P && EXPERIMENTAL
Eric Van Hensbergen93fa58c2005-09-09 13:04:18 -0700762 help
763 If you say Y here, you will get experimental support for
764 Plan 9 resource sharing via the 9P2000 protocol.
765
766 See <http://v9fs.sf.net> for more information.
767
768 If unsure, say N.
769
Jan Engelhardtea0985a2007-10-16 23:30:16 -0700770endif # NETWORK_FILESYSTEMS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700771
David Howells93614012006-09-30 20:45:40 +0200772if BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700773menu "Partition Types"
774
775source "fs/partitions/Kconfig"
776
777endmenu
David Howells93614012006-09-30 20:45:40 +0200778endif
Linus Torvalds1da177e2005-04-16 15:20:36 -0700779
780source "fs/nls/Kconfig"
David Teiglande7fd4172006-01-18 09:30:29 +0000781source "fs/dlm/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700782
783endmenu