xref: /linux/fs/Kconfig (revision 06b3db1b9bccdc8c2c743122a89745279e5ecc46)
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
59884d179dSJan Karasource "fs/quota/Kconfig"
601da177e4SLinus Torvalds
6190ffd467SAlexey Dobriyansource "fs/autofs/Kconfig"
6290ffd467SAlexey Dobriyansource "fs/autofs4/Kconfig"
633ef7784eSAlexey Dobriyansource "fs/fuse/Kconfig"
6404578f17SMiklos Szeredi
65f2fbc6c2SRandy Dunlapconfig GENERIC_ACL
66f2fbc6c2SRandy Dunlap	bool
67f2fbc6c2SRandy Dunlap	select FS_POSIX_ACL
68f2fbc6c2SRandy Dunlap
69*06b3db1bSDavid Howellsmenu "Caches"
70*06b3db1bSDavid Howells
71*06b3db1bSDavid Howellssource "fs/fscache/Kconfig"
72*06b3db1bSDavid Howells
73*06b3db1bSDavid Howellsendmenu
74*06b3db1bSDavid Howells
759361401eSDavid Howellsif BLOCK
761da177e4SLinus Torvaldsmenu "CD-ROM/DVD Filesystems"
771da177e4SLinus Torvalds
78ddfaccd9SAlexey Dobriyansource "fs/isofs/Kconfig"
79ddfaccd9SAlexey Dobriyansource "fs/udf/Kconfig"
801da177e4SLinus Torvalds
811da177e4SLinus Torvaldsendmenu
8225fad945SRandy Dunlapendif # BLOCK
831da177e4SLinus Torvalds
849361401eSDavid Howellsif BLOCK
851da177e4SLinus Torvaldsmenu "DOS/FAT/NT Filesystems"
861da177e4SLinus Torvalds
871c6ace01SAlexey Dobriyansource "fs/fat/Kconfig"
889d73ac9eSAlexey Dobriyansource "fs/ntfs/Kconfig"
891da177e4SLinus Torvalds
901da177e4SLinus Torvaldsendmenu
9125fad945SRandy Dunlapendif # BLOCK
921da177e4SLinus Torvalds
931da177e4SLinus Torvaldsmenu "Pseudo filesystems"
941da177e4SLinus Torvalds
956eedf8d3SAlexey Dobriyansource "fs/proc/Kconfig"
965f3a211aSAlexey Dobriyansource "fs/sysfs/Kconfig"
971da177e4SLinus Torvalds
981da177e4SLinus Torvaldsconfig TMPFS
991da177e4SLinus Torvalds	bool "Virtual memory file system support (former shm fs)"
1001da177e4SLinus Torvalds	help
1011da177e4SLinus Torvalds	  Tmpfs is a file system which keeps all files in virtual memory.
1021da177e4SLinus Torvalds
1031da177e4SLinus Torvalds	  Everything in tmpfs is temporary in the sense that no files will be
1041da177e4SLinus Torvalds	  created on your hard drive. The files live in memory and swap
1051da177e4SLinus Torvalds	  space. If you unmount a tmpfs instance, everything stored therein is
1061da177e4SLinus Torvalds	  lost.
1071da177e4SLinus Torvalds
1081da177e4SLinus Torvalds	  See <file:Documentation/filesystems/tmpfs.txt> for details.
1091da177e4SLinus Torvalds
11039f0247dSAndreas Gruenbacherconfig TMPFS_POSIX_ACL
11139f0247dSAndreas Gruenbacher	bool "Tmpfs POSIX Access Control Lists"
11239f0247dSAndreas Gruenbacher	depends on TMPFS
11339f0247dSAndreas Gruenbacher	select GENERIC_ACL
11439f0247dSAndreas Gruenbacher	help
11539f0247dSAndreas Gruenbacher	  POSIX Access Control Lists (ACLs) support permissions for users and
11639f0247dSAndreas Gruenbacher	  groups beyond the owner/group/world scheme.
11739f0247dSAndreas Gruenbacher
11839f0247dSAndreas Gruenbacher	  To learn more about Access Control Lists, visit the POSIX ACLs for
11939f0247dSAndreas Gruenbacher	  Linux website <http://acl.bestbits.at/>.
12039f0247dSAndreas Gruenbacher
12139f0247dSAndreas Gruenbacher	  If you don't know what Access Control Lists are, say N.
12239f0247dSAndreas Gruenbacher
1231da177e4SLinus Torvaldsconfig HUGETLBFS
1241da177e4SLinus Torvalds	bool "HugeTLB file system support"
12553492b1dSGerald Schaefer	depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
12653492b1dSGerald Schaefer		   (S390 && 64BIT) || BROKEN
127dda27d1aSArthur Othieno	help
128dda27d1aSArthur Othieno	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
129dda27d1aSArthur Othieno	  ramfs. For architectures that support it, say Y here and read
130dda27d1aSArthur Othieno	  <file:Documentation/vm/hugetlbpage.txt> for details.
131dda27d1aSArthur Othieno
132dda27d1aSArthur Othieno	  If unsure, say N.
1331da177e4SLinus Torvalds
1341da177e4SLinus Torvaldsconfig HUGETLB_PAGE
1351da177e4SLinus Torvalds	def_bool HUGETLBFS
1361da177e4SLinus Torvalds
1374591dabeSAlexey Dobriyansource "fs/configfs/Kconfig"
1387063fbf2SJoel Becker
1391da177e4SLinus Torvaldsendmenu
1401da177e4SLinus Torvalds
14167ec7d3aSRandy Dunlapmenuconfig MISC_FILESYSTEMS
14267ec7d3aSRandy Dunlap	bool "Miscellaneous filesystems"
14367ec7d3aSRandy Dunlap	default y
14467ec7d3aSRandy Dunlap	---help---
14567ec7d3aSRandy Dunlap	  Say Y here to get to see options for various miscellaneous
14667ec7d3aSRandy Dunlap	  filesystems, such as filesystems that came from other
14767ec7d3aSRandy Dunlap	  operating systems.
14867ec7d3aSRandy Dunlap
14967ec7d3aSRandy Dunlap	  This option alone does not add any kernel code.
15067ec7d3aSRandy Dunlap
15167ec7d3aSRandy Dunlap	  If you say N, all options in this submenu will be skipped and
15267ec7d3aSRandy Dunlap	  disabled; if unsure, say Y here.
15367ec7d3aSRandy Dunlap
15467ec7d3aSRandy Dunlapif MISC_FILESYSTEMS
1551da177e4SLinus Torvalds
156bc2de2aeSAlexey Dobriyansource "fs/adfs/Kconfig"
15710951bf0SAlexey Dobriyansource "fs/affs/Kconfig"
158295c896cSAlexey Dobriyansource "fs/ecryptfs/Kconfig"
159b08bac1fSAlexey Dobriyansource "fs/hfs/Kconfig"
160b08bac1fSAlexey Dobriyansource "fs/hfsplus/Kconfig"
1610b09eb32SAlexey Dobriyansource "fs/befs/Kconfig"
1620ff42384SAlexey Dobriyansource "fs/bfs/Kconfig"
163571f0a0bSAlexey Dobriyansource "fs/efs/Kconfig"
16431db6e9eSAlexey Dobriyansource "fs/jffs2/Kconfig"
1650d7eff87SArtem Bityutskiy# UBIFS File system configuration
1660d7eff87SArtem Bityutskiysource "fs/ubifs/Kconfig"
1672a22783bSAlexey Dobriyansource "fs/cramfs/Kconfig"
16822635ec9SAlexey Dobriyansource "fs/squashfs/Kconfig"
16922135169SAlexey Dobriyansource "fs/freevxfs/Kconfig"
1708b1cd7d3SAlexey Dobriyansource "fs/minix/Kconfig"
171da55e6f9SAlexey Dobriyansource "fs/omfs/Kconfig"
172928ea192SAlexey Dobriyansource "fs/hpfs/Kconfig"
1734c741583SAlexey Dobriyansource "fs/qnx4/Kconfig"
17441810246SAlexey Dobriyansource "fs/romfs/Kconfig"
1758af915baSAlexey Dobriyansource "fs/sysv/Kconfig"
176a276a52fSAlexey Dobriyansource "fs/ufs/Kconfig"
177abf5d15fSEvgeniy Dushistov
17867ec7d3aSRandy Dunlapendif # MISC_FILESYSTEMS
1791da177e4SLinus Torvalds
180ea0985adSJan Engelhardtmenuconfig NETWORK_FILESYSTEMS
181ea0985adSJan Engelhardt	bool "Network File Systems"
182ea0985adSJan Engelhardt	default y
1831da177e4SLinus Torvalds	depends on NET
184ea0985adSJan Engelhardt	---help---
185ea0985adSJan Engelhardt	  Say Y here to get to see options for network filesystems and
186ea0985adSJan Engelhardt	  filesystem-related networking code, such as NFS daemon and
187ea0985adSJan Engelhardt	  RPCSEC security modules.
1886fb1bc10SChuck Lever
189ea0985adSJan Engelhardt	  This option alone does not add any kernel code.
190ea0985adSJan Engelhardt
191ea0985adSJan Engelhardt	  If you say N, all options in this submenu will be skipped and
192ea0985adSJan Engelhardt	  disabled; if unsure, say Y here.
193ea0985adSJan Engelhardt
194ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS
1951da177e4SLinus Torvalds
19697afe47aSAlexey Dobriyansource "fs/nfs/Kconfig"
197e2b329e2SAlexey Dobriyansource "fs/nfsd/Kconfig"
1981da177e4SLinus Torvalds
1991da177e4SLinus Torvaldsconfig LOCKD
2001da177e4SLinus Torvalds	tristate
2011da177e4SLinus Torvalds
2021da177e4SLinus Torvaldsconfig LOCKD_V4
2031da177e4SLinus Torvalds	bool
2041da177e4SLinus Torvalds	depends on NFSD_V3 || NFS_V3
2051da177e4SLinus Torvalds	default y
2061da177e4SLinus Torvalds
2071da177e4SLinus Torvaldsconfig EXPORTFS
2081da177e4SLinus Torvalds	tristate
2091da177e4SLinus Torvalds
210a257cdd0SAndreas Gruenbacherconfig NFS_ACL_SUPPORT
211a257cdd0SAndreas Gruenbacher	tristate
212a257cdd0SAndreas Gruenbacher	select FS_POSIX_ACL
213a257cdd0SAndreas Gruenbacher
214a257cdd0SAndreas Gruenbacherconfig NFS_COMMON
215a257cdd0SAndreas Gruenbacher	bool
216a257cdd0SAndreas Gruenbacher	depends on NFSD || NFS_FS
217a257cdd0SAndreas Gruenbacher	default y
218a257cdd0SAndreas Gruenbacher
2199098c24fSAlexey Dobriyansource "net/sunrpc/Kconfig"
220213a41d4SAlexey Dobriyansource "fs/smbfs/Kconfig"
221bb26b963SAlexey Dobriyansource "fs/cifs/Kconfig"
2221da177e4SLinus Torvaldssource "fs/ncpfs/Kconfig"
22333a1a6feSAlexey Dobriyansource "fs/coda/Kconfig"
224b2480c7fSAlexey Dobriyansource "fs/afs/Kconfig"
2250fcb4408SAlexey Dobriyansource "fs/9p/Kconfig"
22693fa58cbSEric Van Hensbergen
227ea0985adSJan Engelhardtendif # NETWORK_FILESYSTEMS
2281da177e4SLinus Torvalds
2299361401eSDavid Howellsif BLOCK
2301da177e4SLinus Torvaldsmenu "Partition Types"
2311da177e4SLinus Torvalds
2321da177e4SLinus Torvaldssource "fs/partitions/Kconfig"
2331da177e4SLinus Torvalds
2341da177e4SLinus Torvaldsendmenu
2359361401eSDavid Howellsendif
2361da177e4SLinus Torvalds
2371da177e4SLinus Torvaldssource "fs/nls/Kconfig"
238e7fd4179SDavid Teiglandsource "fs/dlm/Kconfig"
2391da177e4SLinus Torvalds
2401da177e4SLinus Torvaldsendmenu
241