xref: /linux/fs/Kconfig (revision 9ae326a69004dea8af2dae4fde58de27db700a8d)
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
6906b3db1bSDavid Howellsmenu "Caches"
7006b3db1bSDavid Howells
7106b3db1bSDavid Howellssource "fs/fscache/Kconfig"
72*9ae326a6SDavid Howellssource "fs/cachefiles/Kconfig"
7306b3db1bSDavid Howells
7406b3db1bSDavid Howellsendmenu
7506b3db1bSDavid Howells
769361401eSDavid Howellsif BLOCK
771da177e4SLinus Torvaldsmenu "CD-ROM/DVD Filesystems"
781da177e4SLinus Torvalds
79ddfaccd9SAlexey Dobriyansource "fs/isofs/Kconfig"
80ddfaccd9SAlexey Dobriyansource "fs/udf/Kconfig"
811da177e4SLinus Torvalds
821da177e4SLinus Torvaldsendmenu
8325fad945SRandy Dunlapendif # BLOCK
841da177e4SLinus Torvalds
859361401eSDavid Howellsif BLOCK
861da177e4SLinus Torvaldsmenu "DOS/FAT/NT Filesystems"
871da177e4SLinus Torvalds
881c6ace01SAlexey Dobriyansource "fs/fat/Kconfig"
899d73ac9eSAlexey Dobriyansource "fs/ntfs/Kconfig"
901da177e4SLinus Torvalds
911da177e4SLinus Torvaldsendmenu
9225fad945SRandy Dunlapendif # BLOCK
931da177e4SLinus Torvalds
941da177e4SLinus Torvaldsmenu "Pseudo filesystems"
951da177e4SLinus Torvalds
966eedf8d3SAlexey Dobriyansource "fs/proc/Kconfig"
975f3a211aSAlexey Dobriyansource "fs/sysfs/Kconfig"
981da177e4SLinus Torvalds
991da177e4SLinus Torvaldsconfig TMPFS
1001da177e4SLinus Torvalds	bool "Virtual memory file system support (former shm fs)"
1011da177e4SLinus Torvalds	help
1021da177e4SLinus Torvalds	  Tmpfs is a file system which keeps all files in virtual memory.
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvalds	  Everything in tmpfs is temporary in the sense that no files will be
1051da177e4SLinus Torvalds	  created on your hard drive. The files live in memory and swap
1061da177e4SLinus Torvalds	  space. If you unmount a tmpfs instance, everything stored therein is
1071da177e4SLinus Torvalds	  lost.
1081da177e4SLinus Torvalds
1091da177e4SLinus Torvalds	  See <file:Documentation/filesystems/tmpfs.txt> for details.
1101da177e4SLinus Torvalds
11139f0247dSAndreas Gruenbacherconfig TMPFS_POSIX_ACL
11239f0247dSAndreas Gruenbacher	bool "Tmpfs POSIX Access Control Lists"
11339f0247dSAndreas Gruenbacher	depends on TMPFS
11439f0247dSAndreas Gruenbacher	select GENERIC_ACL
11539f0247dSAndreas Gruenbacher	help
11639f0247dSAndreas Gruenbacher	  POSIX Access Control Lists (ACLs) support permissions for users and
11739f0247dSAndreas Gruenbacher	  groups beyond the owner/group/world scheme.
11839f0247dSAndreas Gruenbacher
11939f0247dSAndreas Gruenbacher	  To learn more about Access Control Lists, visit the POSIX ACLs for
12039f0247dSAndreas Gruenbacher	  Linux website <http://acl.bestbits.at/>.
12139f0247dSAndreas Gruenbacher
12239f0247dSAndreas Gruenbacher	  If you don't know what Access Control Lists are, say N.
12339f0247dSAndreas Gruenbacher
1241da177e4SLinus Torvaldsconfig HUGETLBFS
1251da177e4SLinus Torvalds	bool "HugeTLB file system support"
12653492b1dSGerald Schaefer	depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
12753492b1dSGerald Schaefer		   (S390 && 64BIT) || BROKEN
128dda27d1aSArthur Othieno	help
129dda27d1aSArthur Othieno	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
130dda27d1aSArthur Othieno	  ramfs. For architectures that support it, say Y here and read
131dda27d1aSArthur Othieno	  <file:Documentation/vm/hugetlbpage.txt> for details.
132dda27d1aSArthur Othieno
133dda27d1aSArthur Othieno	  If unsure, say N.
1341da177e4SLinus Torvalds
1351da177e4SLinus Torvaldsconfig HUGETLB_PAGE
1361da177e4SLinus Torvalds	def_bool HUGETLBFS
1371da177e4SLinus Torvalds
1384591dabeSAlexey Dobriyansource "fs/configfs/Kconfig"
1397063fbf2SJoel Becker
1401da177e4SLinus Torvaldsendmenu
1411da177e4SLinus Torvalds
14267ec7d3aSRandy Dunlapmenuconfig MISC_FILESYSTEMS
14367ec7d3aSRandy Dunlap	bool "Miscellaneous filesystems"
14467ec7d3aSRandy Dunlap	default y
14567ec7d3aSRandy Dunlap	---help---
14667ec7d3aSRandy Dunlap	  Say Y here to get to see options for various miscellaneous
14767ec7d3aSRandy Dunlap	  filesystems, such as filesystems that came from other
14867ec7d3aSRandy Dunlap	  operating systems.
14967ec7d3aSRandy Dunlap
15067ec7d3aSRandy Dunlap	  This option alone does not add any kernel code.
15167ec7d3aSRandy Dunlap
15267ec7d3aSRandy Dunlap	  If you say N, all options in this submenu will be skipped and
15367ec7d3aSRandy Dunlap	  disabled; if unsure, say Y here.
15467ec7d3aSRandy Dunlap
15567ec7d3aSRandy Dunlapif MISC_FILESYSTEMS
1561da177e4SLinus Torvalds
157bc2de2aeSAlexey Dobriyansource "fs/adfs/Kconfig"
15810951bf0SAlexey Dobriyansource "fs/affs/Kconfig"
159295c896cSAlexey Dobriyansource "fs/ecryptfs/Kconfig"
160b08bac1fSAlexey Dobriyansource "fs/hfs/Kconfig"
161b08bac1fSAlexey Dobriyansource "fs/hfsplus/Kconfig"
1620b09eb32SAlexey Dobriyansource "fs/befs/Kconfig"
1630ff42384SAlexey Dobriyansource "fs/bfs/Kconfig"
164571f0a0bSAlexey Dobriyansource "fs/efs/Kconfig"
16531db6e9eSAlexey Dobriyansource "fs/jffs2/Kconfig"
1660d7eff87SArtem Bityutskiy# UBIFS File system configuration
1670d7eff87SArtem Bityutskiysource "fs/ubifs/Kconfig"
1682a22783bSAlexey Dobriyansource "fs/cramfs/Kconfig"
16922635ec9SAlexey Dobriyansource "fs/squashfs/Kconfig"
17022135169SAlexey Dobriyansource "fs/freevxfs/Kconfig"
1718b1cd7d3SAlexey Dobriyansource "fs/minix/Kconfig"
172da55e6f9SAlexey Dobriyansource "fs/omfs/Kconfig"
173928ea192SAlexey Dobriyansource "fs/hpfs/Kconfig"
1744c741583SAlexey Dobriyansource "fs/qnx4/Kconfig"
17541810246SAlexey Dobriyansource "fs/romfs/Kconfig"
1768af915baSAlexey Dobriyansource "fs/sysv/Kconfig"
177a276a52fSAlexey Dobriyansource "fs/ufs/Kconfig"
178abf5d15fSEvgeniy Dushistov
17967ec7d3aSRandy Dunlapendif # MISC_FILESYSTEMS
1801da177e4SLinus Torvalds
181ea0985adSJan Engelhardtmenuconfig NETWORK_FILESYSTEMS
182ea0985adSJan Engelhardt	bool "Network File Systems"
183ea0985adSJan Engelhardt	default y
1841da177e4SLinus Torvalds	depends on NET
185ea0985adSJan Engelhardt	---help---
186ea0985adSJan Engelhardt	  Say Y here to get to see options for network filesystems and
187ea0985adSJan Engelhardt	  filesystem-related networking code, such as NFS daemon and
188ea0985adSJan Engelhardt	  RPCSEC security modules.
1896fb1bc10SChuck Lever
190ea0985adSJan Engelhardt	  This option alone does not add any kernel code.
191ea0985adSJan Engelhardt
192ea0985adSJan Engelhardt	  If you say N, all options in this submenu will be skipped and
193ea0985adSJan Engelhardt	  disabled; if unsure, say Y here.
194ea0985adSJan Engelhardt
195ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS
1961da177e4SLinus Torvalds
19797afe47aSAlexey Dobriyansource "fs/nfs/Kconfig"
198e2b329e2SAlexey Dobriyansource "fs/nfsd/Kconfig"
1991da177e4SLinus Torvalds
2001da177e4SLinus Torvaldsconfig LOCKD
2011da177e4SLinus Torvalds	tristate
2021da177e4SLinus Torvalds
2031da177e4SLinus Torvaldsconfig LOCKD_V4
2041da177e4SLinus Torvalds	bool
2051da177e4SLinus Torvalds	depends on NFSD_V3 || NFS_V3
2061da177e4SLinus Torvalds	default y
2071da177e4SLinus Torvalds
2081da177e4SLinus Torvaldsconfig EXPORTFS
2091da177e4SLinus Torvalds	tristate
2101da177e4SLinus Torvalds
211a257cdd0SAndreas Gruenbacherconfig NFS_ACL_SUPPORT
212a257cdd0SAndreas Gruenbacher	tristate
213a257cdd0SAndreas Gruenbacher	select FS_POSIX_ACL
214a257cdd0SAndreas Gruenbacher
215a257cdd0SAndreas Gruenbacherconfig NFS_COMMON
216a257cdd0SAndreas Gruenbacher	bool
217a257cdd0SAndreas Gruenbacher	depends on NFSD || NFS_FS
218a257cdd0SAndreas Gruenbacher	default y
219a257cdd0SAndreas Gruenbacher
2209098c24fSAlexey Dobriyansource "net/sunrpc/Kconfig"
221213a41d4SAlexey Dobriyansource "fs/smbfs/Kconfig"
222bb26b963SAlexey Dobriyansource "fs/cifs/Kconfig"
2231da177e4SLinus Torvaldssource "fs/ncpfs/Kconfig"
22433a1a6feSAlexey Dobriyansource "fs/coda/Kconfig"
225b2480c7fSAlexey Dobriyansource "fs/afs/Kconfig"
2260fcb4408SAlexey Dobriyansource "fs/9p/Kconfig"
22793fa58cbSEric Van Hensbergen
228ea0985adSJan Engelhardtendif # NETWORK_FILESYSTEMS
2291da177e4SLinus Torvalds
2309361401eSDavid Howellsif BLOCK
2311da177e4SLinus Torvaldsmenu "Partition Types"
2321da177e4SLinus Torvalds
2331da177e4SLinus Torvaldssource "fs/partitions/Kconfig"
2341da177e4SLinus Torvalds
2351da177e4SLinus Torvaldsendmenu
2369361401eSDavid Howellsendif
2371da177e4SLinus Torvalds
2381da177e4SLinus Torvaldssource "fs/nls/Kconfig"
239e7fd4179SDavid Teiglandsource "fs/dlm/Kconfig"
2401da177e4SLinus Torvalds
2411da177e4SLinus Torvaldsendmenu
242