xref: /linux/fs/Kconfig (revision 33a1a6fedf08bbcb4b4df74498d697e7a88d39f2)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# File system configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsmenu "File systems"
61da177e4SLinus Torvalds
79361401eSDavid Howellsif BLOCK
89361401eSDavid Howells
96da0b38fSAlexey Dobriyansource "fs/ext2/Kconfig"
106da0b38fSAlexey Dobriyansource "fs/ext3/Kconfig"
116da0b38fSAlexey Dobriyansource "fs/ext4/Kconfig"
126d79125bSCarsten Otte
136d79125bSCarsten Otteconfig FS_XIP
146d79125bSCarsten Otte# execute in place
156d79125bSCarsten Otte	bool
166d79125bSCarsten Otte	depends on EXT2_FS_XIP
176d79125bSCarsten Otte	default y
186d79125bSCarsten Otte
196da0b38fSAlexey Dobriyansource "fs/jbd/Kconfig"
206da0b38fSAlexey Dobriyansource "fs/jbd2/Kconfig"
21dab291afSMingming Cao
221da177e4SLinus Torvaldsconfig FS_MBCACHE
2302ea2104SMingming Cao# Meta block cache for Extended Attributes (ext2/ext3/ext4)
241da177e4SLinus Torvalds	tristate
252c512397SAdrian Bunk	default y if EXT2_FS=y && EXT2_FS_XATTR
262c512397SAdrian Bunk	default y if EXT3_FS=y && EXT3_FS_XATTR
272c512397SAdrian Bunk	default y if EXT4_FS=y && EXT4_FS_XATTR
282c512397SAdrian Bunk	default m if EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS_XATTR
291da177e4SLinus Torvalds
30b16ecfe2SAlexey Dobriyansource "fs/reiserfs/Kconfig"
31f5c77969SAlexey Dobriyansource "fs/jfs/Kconfig"
321da177e4SLinus Torvalds
331da177e4SLinus Torvaldsconfig FS_POSIX_ACL
3489206955SChuck Lever# Posix ACL utility routines (for now, only ext2/ext3/jfs/reiserfs/nfs4)
351da177e4SLinus Torvalds#
361da177e4SLinus Torvalds# NOTE: you can implement Posix ACLs without these helpers (XFS does).
371da177e4SLinus Torvalds# 	Never use this symbol for ifdefs.
381da177e4SLinus Torvalds#
391da177e4SLinus Torvalds	bool
40b84c2157SAndreas Gruenbacher	default n
411da177e4SLinus Torvalds
42bfcd17a6SThomas Petazzoniconfig FILE_LOCKING
43bfcd17a6SThomas Petazzoni	bool "Enable POSIX file locking API" if EMBEDDED
44bfcd17a6SThomas Petazzoni	default y
45bfcd17a6SThomas Petazzoni	help
46bfcd17a6SThomas Petazzoni	  This option enables standard file locking support, required
47bfcd17a6SThomas Petazzoni          for filesystems like NFS and for the flock() system
48bfcd17a6SThomas Petazzoni          call. Disabling this option saves about 11k.
49bfcd17a6SThomas Petazzoni
501da177e4SLinus Torvaldssource "fs/xfs/Kconfig"
51f7825dcfSDavid Teiglandsource "fs/gfs2/Kconfig"
522fe4371dSAlexey Dobriyansource "fs/ocfs2/Kconfig"
53335debeeSAlexey Dobriyansource "fs/btrfs/Kconfig"
5460582d1eSChris Mason
5525fad945SRandy Dunlapendif # BLOCK
5625fad945SRandy Dunlap
57272eb014SEric Parissource "fs/notify/Kconfig"
582d9048e2SAmy Griffis
591da177e4SLinus Torvaldsconfig QUOTA
601da177e4SLinus Torvalds	bool "Quota support"
611da177e4SLinus Torvalds	help
621da177e4SLinus Torvalds	  If you say Y here, you will be able to set per user limits for disk
631da177e4SLinus Torvalds	  usage (also called disk quotas). Currently, it works for the
641da177e4SLinus Torvalds	  ext2, ext3, and reiserfs file system. ext3 also supports journalled
651da177e4SLinus Torvalds	  quotas for which you don't need to run quotacheck(8) after an unclean
66919532a5SAdrian Bunk	  shutdown.
67919532a5SAdrian Bunk	  For further details, read the Quota mini-HOWTO, available from
681da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, or the documentation provided
691da177e4SLinus Torvalds	  with the quota tools. Probably the quota support is only useful for
701da177e4SLinus Torvalds	  multi user systems. If unsure, say N.
711da177e4SLinus Torvalds
728e893469SJan Karaconfig QUOTA_NETLINK_INTERFACE
738e893469SJan Kara	bool "Report quota messages through netlink interface"
748e893469SJan Kara	depends on QUOTA && NET
758e893469SJan Kara	help
768e893469SJan Kara	  If you say Y here, quota warnings (about exceeding softlimit, reaching
778e893469SJan Kara	  hardlimit, etc.) will be reported through netlink interface. If unsure,
788e893469SJan Kara	  say Y.
798e893469SJan Kara
808e893469SJan Karaconfig PRINT_QUOTA_WARNING
818e893469SJan Kara	bool "Print quota warnings to console (OBSOLETE)"
828e893469SJan Kara	depends on QUOTA
838e893469SJan Kara	default y
848e893469SJan Kara	help
858e893469SJan Kara	  If you say Y here, quota warnings (about exceeding softlimit, reaching
868e893469SJan Kara	  hardlimit, etc.) will be printed to the process' controlling terminal.
878e893469SJan Kara	  Note that this behavior is currently deprecated and may go away in
888e893469SJan Kara	  future. Please use notification via netlink socket instead.
898e893469SJan Kara
901ccd14b9SJan Kara# Generic support for tree structured quota files. Seleted when needed.
911ccd14b9SJan Karaconfig QUOTA_TREE
921ccd14b9SJan Kara	 tristate
931ccd14b9SJan Kara
941da177e4SLinus Torvaldsconfig QFMT_V1
951da177e4SLinus Torvalds	tristate "Old quota format support"
961da177e4SLinus Torvalds	depends on QUOTA
971da177e4SLinus Torvalds	help
981da177e4SLinus Torvalds	  This quota format was (is) used by kernels earlier than 2.4.22. If
991da177e4SLinus Torvalds	  you have quota working and you don't want to convert to new quota
1001da177e4SLinus Torvalds	  format say Y here.
1011da177e4SLinus Torvalds
1021da177e4SLinus Torvaldsconfig QFMT_V2
1031da177e4SLinus Torvalds	tristate "Quota format v2 support"
1041da177e4SLinus Torvalds	depends on QUOTA
1051ccd14b9SJan Kara	select QUOTA_TREE
1061da177e4SLinus Torvalds	help
1071da177e4SLinus Torvalds	  This quota format allows using quotas with 32-bit UIDs/GIDs. If you
108919532a5SAdrian Bunk	  need this functionality say Y here.
1091da177e4SLinus Torvalds
1101da177e4SLinus Torvaldsconfig QUOTACTL
1111da177e4SLinus Torvalds	bool
1121da177e4SLinus Torvalds	depends on XFS_QUOTA || QUOTA
1131da177e4SLinus Torvalds	default y
1141da177e4SLinus Torvalds
11590ffd467SAlexey Dobriyansource "fs/autofs/Kconfig"
11690ffd467SAlexey Dobriyansource "fs/autofs4/Kconfig"
1173ef7784eSAlexey Dobriyansource "fs/fuse/Kconfig"
11804578f17SMiklos Szeredi
119f2fbc6c2SRandy Dunlapconfig GENERIC_ACL
120f2fbc6c2SRandy Dunlap	bool
121f2fbc6c2SRandy Dunlap	select FS_POSIX_ACL
122f2fbc6c2SRandy Dunlap
1239361401eSDavid Howellsif BLOCK
1241da177e4SLinus Torvaldsmenu "CD-ROM/DVD Filesystems"
1251da177e4SLinus Torvalds
126ddfaccd9SAlexey Dobriyansource "fs/isofs/Kconfig"
127ddfaccd9SAlexey Dobriyansource "fs/udf/Kconfig"
1281da177e4SLinus Torvalds
1291da177e4SLinus Torvaldsendmenu
13025fad945SRandy Dunlapendif # BLOCK
1311da177e4SLinus Torvalds
1329361401eSDavid Howellsif BLOCK
1331da177e4SLinus Torvaldsmenu "DOS/FAT/NT Filesystems"
1341da177e4SLinus Torvalds
1351c6ace01SAlexey Dobriyansource "fs/fat/Kconfig"
1369d73ac9eSAlexey Dobriyansource "fs/ntfs/Kconfig"
1371da177e4SLinus Torvalds
1381da177e4SLinus Torvaldsendmenu
13925fad945SRandy Dunlapendif # BLOCK
1401da177e4SLinus Torvalds
1411da177e4SLinus Torvaldsmenu "Pseudo filesystems"
1421da177e4SLinus Torvalds
1436eedf8d3SAlexey Dobriyansource "fs/proc/Kconfig"
1445f3a211aSAlexey Dobriyansource "fs/sysfs/Kconfig"
1451da177e4SLinus Torvalds
1461da177e4SLinus Torvaldsconfig TMPFS
1471da177e4SLinus Torvalds	bool "Virtual memory file system support (former shm fs)"
1481da177e4SLinus Torvalds	help
1491da177e4SLinus Torvalds	  Tmpfs is a file system which keeps all files in virtual memory.
1501da177e4SLinus Torvalds
1511da177e4SLinus Torvalds	  Everything in tmpfs is temporary in the sense that no files will be
1521da177e4SLinus Torvalds	  created on your hard drive. The files live in memory and swap
1531da177e4SLinus Torvalds	  space. If you unmount a tmpfs instance, everything stored therein is
1541da177e4SLinus Torvalds	  lost.
1551da177e4SLinus Torvalds
1561da177e4SLinus Torvalds	  See <file:Documentation/filesystems/tmpfs.txt> for details.
1571da177e4SLinus Torvalds
15839f0247dSAndreas Gruenbacherconfig TMPFS_POSIX_ACL
15939f0247dSAndreas Gruenbacher	bool "Tmpfs POSIX Access Control Lists"
16039f0247dSAndreas Gruenbacher	depends on TMPFS
16139f0247dSAndreas Gruenbacher	select GENERIC_ACL
16239f0247dSAndreas Gruenbacher	help
16339f0247dSAndreas Gruenbacher	  POSIX Access Control Lists (ACLs) support permissions for users and
16439f0247dSAndreas Gruenbacher	  groups beyond the owner/group/world scheme.
16539f0247dSAndreas Gruenbacher
16639f0247dSAndreas Gruenbacher	  To learn more about Access Control Lists, visit the POSIX ACLs for
16739f0247dSAndreas Gruenbacher	  Linux website <http://acl.bestbits.at/>.
16839f0247dSAndreas Gruenbacher
16939f0247dSAndreas Gruenbacher	  If you don't know what Access Control Lists are, say N.
17039f0247dSAndreas Gruenbacher
1711da177e4SLinus Torvaldsconfig HUGETLBFS
1721da177e4SLinus Torvalds	bool "HugeTLB file system support"
17353492b1dSGerald Schaefer	depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
17453492b1dSGerald Schaefer		   (S390 && 64BIT) || BROKEN
175dda27d1aSArthur Othieno	help
176dda27d1aSArthur Othieno	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
177dda27d1aSArthur Othieno	  ramfs. For architectures that support it, say Y here and read
178dda27d1aSArthur Othieno	  <file:Documentation/vm/hugetlbpage.txt> for details.
179dda27d1aSArthur Othieno
180dda27d1aSArthur Othieno	  If unsure, say N.
1811da177e4SLinus Torvalds
1821da177e4SLinus Torvaldsconfig HUGETLB_PAGE
1831da177e4SLinus Torvalds	def_bool HUGETLBFS
1841da177e4SLinus Torvalds
1854591dabeSAlexey Dobriyansource "fs/configfs/Kconfig"
1867063fbf2SJoel Becker
1871da177e4SLinus Torvaldsendmenu
1881da177e4SLinus Torvalds
18967ec7d3aSRandy Dunlapmenuconfig MISC_FILESYSTEMS
19067ec7d3aSRandy Dunlap	bool "Miscellaneous filesystems"
19167ec7d3aSRandy Dunlap	default y
19267ec7d3aSRandy Dunlap	---help---
19367ec7d3aSRandy Dunlap	  Say Y here to get to see options for various miscellaneous
19467ec7d3aSRandy Dunlap	  filesystems, such as filesystems that came from other
19567ec7d3aSRandy Dunlap	  operating systems.
19667ec7d3aSRandy Dunlap
19767ec7d3aSRandy Dunlap	  This option alone does not add any kernel code.
19867ec7d3aSRandy Dunlap
19967ec7d3aSRandy Dunlap	  If you say N, all options in this submenu will be skipped and
20067ec7d3aSRandy Dunlap	  disabled; if unsure, say Y here.
20167ec7d3aSRandy Dunlap
20267ec7d3aSRandy Dunlapif MISC_FILESYSTEMS
2031da177e4SLinus Torvalds
204bc2de2aeSAlexey Dobriyansource "fs/adfs/Kconfig"
20510951bf0SAlexey Dobriyansource "fs/affs/Kconfig"
206295c896cSAlexey Dobriyansource "fs/ecryptfs/Kconfig"
207b08bac1fSAlexey Dobriyansource "fs/hfs/Kconfig"
208b08bac1fSAlexey Dobriyansource "fs/hfsplus/Kconfig"
2090b09eb32SAlexey Dobriyansource "fs/befs/Kconfig"
2100ff42384SAlexey Dobriyansource "fs/bfs/Kconfig"
211571f0a0bSAlexey Dobriyansource "fs/efs/Kconfig"
21231db6e9eSAlexey Dobriyansource "fs/jffs2/Kconfig"
2130d7eff87SArtem Bityutskiy# UBIFS File system configuration
2140d7eff87SArtem Bityutskiysource "fs/ubifs/Kconfig"
2152a22783bSAlexey Dobriyansource "fs/cramfs/Kconfig"
21622635ec9SAlexey Dobriyansource "fs/squashfs/Kconfig"
21722135169SAlexey Dobriyansource "fs/freevxfs/Kconfig"
2188b1cd7d3SAlexey Dobriyansource "fs/minix/Kconfig"
219da55e6f9SAlexey Dobriyansource "fs/omfs/Kconfig"
220928ea192SAlexey Dobriyansource "fs/hpfs/Kconfig"
2214c741583SAlexey Dobriyansource "fs/qnx4/Kconfig"
22241810246SAlexey Dobriyansource "fs/romfs/Kconfig"
2238af915baSAlexey Dobriyansource "fs/sysv/Kconfig"
224a276a52fSAlexey Dobriyansource "fs/ufs/Kconfig"
225abf5d15fSEvgeniy Dushistov
22667ec7d3aSRandy Dunlapendif # MISC_FILESYSTEMS
2271da177e4SLinus Torvalds
228ea0985adSJan Engelhardtmenuconfig NETWORK_FILESYSTEMS
229ea0985adSJan Engelhardt	bool "Network File Systems"
230ea0985adSJan Engelhardt	default y
2311da177e4SLinus Torvalds	depends on NET
232ea0985adSJan Engelhardt	---help---
233ea0985adSJan Engelhardt	  Say Y here to get to see options for network filesystems and
234ea0985adSJan Engelhardt	  filesystem-related networking code, such as NFS daemon and
235ea0985adSJan Engelhardt	  RPCSEC security modules.
2366fb1bc10SChuck Lever
237ea0985adSJan Engelhardt	  This option alone does not add any kernel code.
238ea0985adSJan Engelhardt
239ea0985adSJan Engelhardt	  If you say N, all options in this submenu will be skipped and
240ea0985adSJan Engelhardt	  disabled; if unsure, say Y here.
241ea0985adSJan Engelhardt
242ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS
2431da177e4SLinus Torvalds
24497afe47aSAlexey Dobriyansource "fs/nfs/Kconfig"
245e2b329e2SAlexey Dobriyansource "fs/nfsd/Kconfig"
2461da177e4SLinus Torvalds
2471da177e4SLinus Torvaldsconfig LOCKD
2481da177e4SLinus Torvalds	tristate
2491da177e4SLinus Torvalds
2501da177e4SLinus Torvaldsconfig LOCKD_V4
2511da177e4SLinus Torvalds	bool
2521da177e4SLinus Torvalds	depends on NFSD_V3 || NFS_V3
2531da177e4SLinus Torvalds	default y
2541da177e4SLinus Torvalds
2551da177e4SLinus Torvaldsconfig EXPORTFS
2561da177e4SLinus Torvalds	tristate
2571da177e4SLinus Torvalds
258a257cdd0SAndreas Gruenbacherconfig NFS_ACL_SUPPORT
259a257cdd0SAndreas Gruenbacher	tristate
260a257cdd0SAndreas Gruenbacher	select FS_POSIX_ACL
261a257cdd0SAndreas Gruenbacher
262a257cdd0SAndreas Gruenbacherconfig NFS_COMMON
263a257cdd0SAndreas Gruenbacher	bool
264a257cdd0SAndreas Gruenbacher	depends on NFSD || NFS_FS
265a257cdd0SAndreas Gruenbacher	default y
266a257cdd0SAndreas Gruenbacher
2679098c24fSAlexey Dobriyansource "net/sunrpc/Kconfig"
268213a41d4SAlexey Dobriyansource "fs/smbfs/Kconfig"
269bb26b963SAlexey Dobriyansource "fs/cifs/Kconfig"
2701da177e4SLinus Torvaldssource "fs/ncpfs/Kconfig"
271*33a1a6feSAlexey Dobriyansource "fs/coda/Kconfig"
2721da177e4SLinus Torvalds
2731da177e4SLinus Torvaldsconfig AFS_FS
27464aaa4f8SDavid Howells	tristate "Andrew File System support (AFS) (EXPERIMENTAL)"
2751da177e4SLinus Torvalds	depends on INET && EXPERIMENTAL
27608e0e7c8SDavid Howells	select AF_RXRPC
2771da177e4SLinus Torvalds	help
2781da177e4SLinus Torvalds	  If you say Y here, you will get an experimental Andrew File System
2791da177e4SLinus Torvalds	  driver. It currently only supports unsecured read-only AFS access.
2801da177e4SLinus Torvalds
281cc2e2767SMatt LaPlante	  See <file:Documentation/filesystems/afs.txt> for more information.
2821da177e4SLinus Torvalds
2831da177e4SLinus Torvalds	  If unsure, say N.
2841da177e4SLinus Torvalds
28508e0e7c8SDavid Howellsconfig AFS_DEBUG
28608e0e7c8SDavid Howells	bool "AFS dynamic debugging"
28708e0e7c8SDavid Howells	depends on AFS_FS
28808e0e7c8SDavid Howells	help
28908e0e7c8SDavid Howells	  Say Y here to make runtime controllable debugging messages appear.
29008e0e7c8SDavid Howells
29108e0e7c8SDavid Howells	  See <file:Documentation/filesystems/afs.txt> for more information.
29208e0e7c8SDavid Howells
29308e0e7c8SDavid Howells	  If unsure, say N.
29408e0e7c8SDavid Howells
29593fa58cbSEric Van Hensbergenconfig 9P_FS
29693fa58cbSEric Van Hensbergen	tristate "Plan 9 Resource Sharing Support (9P2000) (Experimental)"
297bd238fb4SLatchesar Ionkov	depends on INET && NET_9P && EXPERIMENTAL
29893fa58cbSEric Van Hensbergen	help
29993fa58cbSEric Van Hensbergen	  If you say Y here, you will get experimental support for
30093fa58cbSEric Van Hensbergen	  Plan 9 resource sharing via the 9P2000 protocol.
30193fa58cbSEric Van Hensbergen
30293fa58cbSEric Van Hensbergen	  See <http://v9fs.sf.net> for more information.
30393fa58cbSEric Van Hensbergen
30493fa58cbSEric Van Hensbergen	  If unsure, say N.
30593fa58cbSEric Van Hensbergen
306ea0985adSJan Engelhardtendif # NETWORK_FILESYSTEMS
3071da177e4SLinus Torvalds
3089361401eSDavid Howellsif BLOCK
3091da177e4SLinus Torvaldsmenu "Partition Types"
3101da177e4SLinus Torvalds
3111da177e4SLinus Torvaldssource "fs/partitions/Kconfig"
3121da177e4SLinus Torvalds
3131da177e4SLinus Torvaldsendmenu
3149361401eSDavid Howellsendif
3151da177e4SLinus Torvalds
3161da177e4SLinus Torvaldssource "fs/nls/Kconfig"
317e7fd4179SDavid Teiglandsource "fs/dlm/Kconfig"
3181da177e4SLinus Torvalds
3191da177e4SLinus Torvaldsendmenu
320