xref: /linux/fs/Kconfig (revision 0d8fe329a80714e0f729ae48cba8d64cbe5701cb)
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
699361401eSDavid Howellsif BLOCK
701da177e4SLinus Torvaldsmenu "CD-ROM/DVD Filesystems"
711da177e4SLinus Torvalds
72ddfaccd9SAlexey Dobriyansource "fs/isofs/Kconfig"
73ddfaccd9SAlexey Dobriyansource "fs/udf/Kconfig"
741da177e4SLinus Torvalds
751da177e4SLinus Torvaldsendmenu
7625fad945SRandy Dunlapendif # BLOCK
771da177e4SLinus Torvalds
789361401eSDavid Howellsif BLOCK
791da177e4SLinus Torvaldsmenu "DOS/FAT/NT Filesystems"
801da177e4SLinus Torvalds
811c6ace01SAlexey Dobriyansource "fs/fat/Kconfig"
829d73ac9eSAlexey Dobriyansource "fs/ntfs/Kconfig"
831da177e4SLinus Torvalds
841da177e4SLinus Torvaldsendmenu
8525fad945SRandy Dunlapendif # BLOCK
861da177e4SLinus Torvalds
871da177e4SLinus Torvaldsmenu "Pseudo filesystems"
881da177e4SLinus Torvalds
896eedf8d3SAlexey Dobriyansource "fs/proc/Kconfig"
905f3a211aSAlexey Dobriyansource "fs/sysfs/Kconfig"
911da177e4SLinus Torvalds
921da177e4SLinus Torvaldsconfig TMPFS
931da177e4SLinus Torvalds	bool "Virtual memory file system support (former shm fs)"
941da177e4SLinus Torvalds	help
951da177e4SLinus Torvalds	  Tmpfs is a file system which keeps all files in virtual memory.
961da177e4SLinus Torvalds
971da177e4SLinus Torvalds	  Everything in tmpfs is temporary in the sense that no files will be
981da177e4SLinus Torvalds	  created on your hard drive. The files live in memory and swap
991da177e4SLinus Torvalds	  space. If you unmount a tmpfs instance, everything stored therein is
1001da177e4SLinus Torvalds	  lost.
1011da177e4SLinus Torvalds
1021da177e4SLinus Torvalds	  See <file:Documentation/filesystems/tmpfs.txt> for details.
1031da177e4SLinus Torvalds
10439f0247dSAndreas Gruenbacherconfig TMPFS_POSIX_ACL
10539f0247dSAndreas Gruenbacher	bool "Tmpfs POSIX Access Control Lists"
10639f0247dSAndreas Gruenbacher	depends on TMPFS
10739f0247dSAndreas Gruenbacher	select GENERIC_ACL
10839f0247dSAndreas Gruenbacher	help
10939f0247dSAndreas Gruenbacher	  POSIX Access Control Lists (ACLs) support permissions for users and
11039f0247dSAndreas Gruenbacher	  groups beyond the owner/group/world scheme.
11139f0247dSAndreas Gruenbacher
11239f0247dSAndreas Gruenbacher	  To learn more about Access Control Lists, visit the POSIX ACLs for
11339f0247dSAndreas Gruenbacher	  Linux website <http://acl.bestbits.at/>.
11439f0247dSAndreas Gruenbacher
11539f0247dSAndreas Gruenbacher	  If you don't know what Access Control Lists are, say N.
11639f0247dSAndreas Gruenbacher
1171da177e4SLinus Torvaldsconfig HUGETLBFS
1181da177e4SLinus Torvalds	bool "HugeTLB file system support"
11953492b1dSGerald Schaefer	depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
12053492b1dSGerald Schaefer		   (S390 && 64BIT) || BROKEN
121dda27d1aSArthur Othieno	help
122dda27d1aSArthur Othieno	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
123dda27d1aSArthur Othieno	  ramfs. For architectures that support it, say Y here and read
124dda27d1aSArthur Othieno	  <file:Documentation/vm/hugetlbpage.txt> for details.
125dda27d1aSArthur Othieno
126dda27d1aSArthur Othieno	  If unsure, say N.
1271da177e4SLinus Torvalds
1281da177e4SLinus Torvaldsconfig HUGETLB_PAGE
1291da177e4SLinus Torvalds	def_bool HUGETLBFS
1301da177e4SLinus Torvalds
1314591dabeSAlexey Dobriyansource "fs/configfs/Kconfig"
1327063fbf2SJoel Becker
1331da177e4SLinus Torvaldsendmenu
1341da177e4SLinus Torvalds
13567ec7d3aSRandy Dunlapmenuconfig MISC_FILESYSTEMS
13667ec7d3aSRandy Dunlap	bool "Miscellaneous filesystems"
13767ec7d3aSRandy Dunlap	default y
13867ec7d3aSRandy Dunlap	---help---
13967ec7d3aSRandy Dunlap	  Say Y here to get to see options for various miscellaneous
14067ec7d3aSRandy Dunlap	  filesystems, such as filesystems that came from other
14167ec7d3aSRandy Dunlap	  operating systems.
14267ec7d3aSRandy Dunlap
14367ec7d3aSRandy Dunlap	  This option alone does not add any kernel code.
14467ec7d3aSRandy Dunlap
14567ec7d3aSRandy Dunlap	  If you say N, all options in this submenu will be skipped and
14667ec7d3aSRandy Dunlap	  disabled; if unsure, say Y here.
14767ec7d3aSRandy Dunlap
14867ec7d3aSRandy Dunlapif MISC_FILESYSTEMS
1491da177e4SLinus Torvalds
150bc2de2aeSAlexey Dobriyansource "fs/adfs/Kconfig"
15110951bf0SAlexey Dobriyansource "fs/affs/Kconfig"
152295c896cSAlexey Dobriyansource "fs/ecryptfs/Kconfig"
153b08bac1fSAlexey Dobriyansource "fs/hfs/Kconfig"
154b08bac1fSAlexey Dobriyansource "fs/hfsplus/Kconfig"
1550b09eb32SAlexey Dobriyansource "fs/befs/Kconfig"
1560ff42384SAlexey Dobriyansource "fs/bfs/Kconfig"
157571f0a0bSAlexey Dobriyansource "fs/efs/Kconfig"
15831db6e9eSAlexey Dobriyansource "fs/jffs2/Kconfig"
1590d7eff87SArtem Bityutskiy# UBIFS File system configuration
1600d7eff87SArtem Bityutskiysource "fs/ubifs/Kconfig"
1612a22783bSAlexey Dobriyansource "fs/cramfs/Kconfig"
16222635ec9SAlexey Dobriyansource "fs/squashfs/Kconfig"
16322135169SAlexey Dobriyansource "fs/freevxfs/Kconfig"
1648b1cd7d3SAlexey Dobriyansource "fs/minix/Kconfig"
165da55e6f9SAlexey Dobriyansource "fs/omfs/Kconfig"
166928ea192SAlexey Dobriyansource "fs/hpfs/Kconfig"
1674c741583SAlexey Dobriyansource "fs/qnx4/Kconfig"
16841810246SAlexey Dobriyansource "fs/romfs/Kconfig"
1698af915baSAlexey Dobriyansource "fs/sysv/Kconfig"
170a276a52fSAlexey Dobriyansource "fs/ufs/Kconfig"
171abf5d15fSEvgeniy Dushistov
172*0d8fe329SBoaz Harroshsource "fs/exofs/Kconfig"
173*0d8fe329SBoaz Harrosh
17467ec7d3aSRandy Dunlapendif # MISC_FILESYSTEMS
1751da177e4SLinus Torvalds
176ea0985adSJan Engelhardtmenuconfig NETWORK_FILESYSTEMS
177ea0985adSJan Engelhardt	bool "Network File Systems"
178ea0985adSJan Engelhardt	default y
1791da177e4SLinus Torvalds	depends on NET
180ea0985adSJan Engelhardt	---help---
181ea0985adSJan Engelhardt	  Say Y here to get to see options for network filesystems and
182ea0985adSJan Engelhardt	  filesystem-related networking code, such as NFS daemon and
183ea0985adSJan Engelhardt	  RPCSEC security modules.
1846fb1bc10SChuck Lever
185ea0985adSJan Engelhardt	  This option alone does not add any kernel code.
186ea0985adSJan Engelhardt
187ea0985adSJan Engelhardt	  If you say N, all options in this submenu will be skipped and
188ea0985adSJan Engelhardt	  disabled; if unsure, say Y here.
189ea0985adSJan Engelhardt
190ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS
1911da177e4SLinus Torvalds
19297afe47aSAlexey Dobriyansource "fs/nfs/Kconfig"
193e2b329e2SAlexey Dobriyansource "fs/nfsd/Kconfig"
1941da177e4SLinus Torvalds
1951da177e4SLinus Torvaldsconfig LOCKD
1961da177e4SLinus Torvalds	tristate
1971da177e4SLinus Torvalds
1981da177e4SLinus Torvaldsconfig LOCKD_V4
1991da177e4SLinus Torvalds	bool
2001da177e4SLinus Torvalds	depends on NFSD_V3 || NFS_V3
2011da177e4SLinus Torvalds	default y
2021da177e4SLinus Torvalds
2031da177e4SLinus Torvaldsconfig EXPORTFS
2041da177e4SLinus Torvalds	tristate
2051da177e4SLinus Torvalds
206a257cdd0SAndreas Gruenbacherconfig NFS_ACL_SUPPORT
207a257cdd0SAndreas Gruenbacher	tristate
208a257cdd0SAndreas Gruenbacher	select FS_POSIX_ACL
209a257cdd0SAndreas Gruenbacher
210a257cdd0SAndreas Gruenbacherconfig NFS_COMMON
211a257cdd0SAndreas Gruenbacher	bool
212a257cdd0SAndreas Gruenbacher	depends on NFSD || NFS_FS
213a257cdd0SAndreas Gruenbacher	default y
214a257cdd0SAndreas Gruenbacher
2159098c24fSAlexey Dobriyansource "net/sunrpc/Kconfig"
216213a41d4SAlexey Dobriyansource "fs/smbfs/Kconfig"
217bb26b963SAlexey Dobriyansource "fs/cifs/Kconfig"
2181da177e4SLinus Torvaldssource "fs/ncpfs/Kconfig"
21933a1a6feSAlexey Dobriyansource "fs/coda/Kconfig"
220b2480c7fSAlexey Dobriyansource "fs/afs/Kconfig"
2210fcb4408SAlexey Dobriyansource "fs/9p/Kconfig"
22293fa58cbSEric Van Hensbergen
223ea0985adSJan Engelhardtendif # NETWORK_FILESYSTEMS
2241da177e4SLinus Torvalds
2259361401eSDavid Howellsif BLOCK
2261da177e4SLinus Torvaldsmenu "Partition Types"
2271da177e4SLinus Torvalds
2281da177e4SLinus Torvaldssource "fs/partitions/Kconfig"
2291da177e4SLinus Torvalds
2301da177e4SLinus Torvaldsendmenu
2319361401eSDavid Howellsendif
2321da177e4SLinus Torvalds
2331da177e4SLinus Torvaldssource "fs/nls/Kconfig"
234e7fd4179SDavid Teiglandsource "fs/dlm/Kconfig"
2351da177e4SLinus Torvalds
2361da177e4SLinus Torvaldsendmenu
237