xref: /linux/fs/Kconfig (revision 5a1eb5c4453207ad9e7f6e8ca4f8db289743c993)
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
4269050eeeSTomas Szepesource "fs/xfs/Kconfig"
4369050eeeSTomas Szepesource "fs/gfs2/Kconfig"
4469050eeeSTomas Szepesource "fs/ocfs2/Kconfig"
4569050eeeSTomas Szepesource "fs/btrfs/Kconfig"
4641f4db0fSRyusuke Konishisource "fs/nilfs2/Kconfig"
4769050eeeSTomas Szepe
4869050eeeSTomas Szepeendif # BLOCK
4969050eeeSTomas Szepe
50bfcd17a6SThomas Petazzoniconfig FILE_LOCKING
51bfcd17a6SThomas Petazzoni	bool "Enable POSIX file locking API" if EMBEDDED
52bfcd17a6SThomas Petazzoni	default y
53bfcd17a6SThomas Petazzoni	help
54bfcd17a6SThomas Petazzoni	  This option enables standard file locking support, required
55bfcd17a6SThomas Petazzoni          for filesystems like NFS and for the flock() system
56bfcd17a6SThomas Petazzoni          call. Disabling this option saves about 11k.
57bfcd17a6SThomas Petazzoni
58272eb014SEric Parissource "fs/notify/Kconfig"
592d9048e2SAmy Griffis
60884d179dSJan Karasource "fs/quota/Kconfig"
611da177e4SLinus Torvalds
6290ffd467SAlexey Dobriyansource "fs/autofs/Kconfig"
6390ffd467SAlexey Dobriyansource "fs/autofs4/Kconfig"
643ef7784eSAlexey Dobriyansource "fs/fuse/Kconfig"
6504578f17SMiklos Szeredi
66151060acSTejun Heoconfig CUSE
67151060acSTejun Heo	tristate "Character device in Userpace support"
68151060acSTejun Heo	depends on FUSE_FS
69151060acSTejun Heo	help
70151060acSTejun Heo	  This FUSE extension allows character devices to be
71151060acSTejun Heo	  implemented in userspace.
72151060acSTejun Heo
73151060acSTejun Heo	  If you want to develop or use userspace character device
74151060acSTejun Heo	  based on CUSE, answer Y or M.
75151060acSTejun Heo
76f2fbc6c2SRandy Dunlapconfig GENERIC_ACL
77f2fbc6c2SRandy Dunlap	bool
78f2fbc6c2SRandy Dunlap	select FS_POSIX_ACL
79f2fbc6c2SRandy Dunlap
8006b3db1bSDavid Howellsmenu "Caches"
8106b3db1bSDavid Howells
8206b3db1bSDavid Howellssource "fs/fscache/Kconfig"
839ae326a6SDavid Howellssource "fs/cachefiles/Kconfig"
8406b3db1bSDavid Howells
8506b3db1bSDavid Howellsendmenu
8606b3db1bSDavid Howells
879361401eSDavid Howellsif BLOCK
881da177e4SLinus Torvaldsmenu "CD-ROM/DVD Filesystems"
891da177e4SLinus Torvalds
90ddfaccd9SAlexey Dobriyansource "fs/isofs/Kconfig"
91ddfaccd9SAlexey Dobriyansource "fs/udf/Kconfig"
921da177e4SLinus Torvalds
931da177e4SLinus Torvaldsendmenu
9425fad945SRandy Dunlapendif # BLOCK
951da177e4SLinus Torvalds
969361401eSDavid Howellsif BLOCK
971da177e4SLinus Torvaldsmenu "DOS/FAT/NT Filesystems"
981da177e4SLinus Torvalds
991c6ace01SAlexey Dobriyansource "fs/fat/Kconfig"
1009d73ac9eSAlexey Dobriyansource "fs/ntfs/Kconfig"
1011da177e4SLinus Torvalds
1021da177e4SLinus Torvaldsendmenu
10325fad945SRandy Dunlapendif # BLOCK
1041da177e4SLinus Torvalds
1051da177e4SLinus Torvaldsmenu "Pseudo filesystems"
1061da177e4SLinus Torvalds
1076eedf8d3SAlexey Dobriyansource "fs/proc/Kconfig"
1085f3a211aSAlexey Dobriyansource "fs/sysfs/Kconfig"
1091da177e4SLinus Torvalds
1101da177e4SLinus Torvaldsconfig TMPFS
1111da177e4SLinus Torvalds	bool "Virtual memory file system support (former shm fs)"
1123f96b79aSHugh Dickins	depends on SHMEM
1131da177e4SLinus Torvalds	help
1141da177e4SLinus Torvalds	  Tmpfs is a file system which keeps all files in virtual memory.
1151da177e4SLinus Torvalds
1161da177e4SLinus Torvalds	  Everything in tmpfs is temporary in the sense that no files will be
1171da177e4SLinus Torvalds	  created on your hard drive. The files live in memory and swap
1181da177e4SLinus Torvalds	  space. If you unmount a tmpfs instance, everything stored therein is
1191da177e4SLinus Torvalds	  lost.
1201da177e4SLinus Torvalds
1211da177e4SLinus Torvalds	  See <file:Documentation/filesystems/tmpfs.txt> for details.
1221da177e4SLinus Torvalds
12339f0247dSAndreas Gruenbacherconfig TMPFS_POSIX_ACL
12439f0247dSAndreas Gruenbacher	bool "Tmpfs POSIX Access Control Lists"
12539f0247dSAndreas Gruenbacher	depends on TMPFS
12639f0247dSAndreas Gruenbacher	select GENERIC_ACL
12739f0247dSAndreas Gruenbacher	help
12839f0247dSAndreas Gruenbacher	  POSIX Access Control Lists (ACLs) support permissions for users and
12939f0247dSAndreas Gruenbacher	  groups beyond the owner/group/world scheme.
13039f0247dSAndreas Gruenbacher
13139f0247dSAndreas Gruenbacher	  To learn more about Access Control Lists, visit the POSIX ACLs for
13239f0247dSAndreas Gruenbacher	  Linux website <http://acl.bestbits.at/>.
13339f0247dSAndreas Gruenbacher
13439f0247dSAndreas Gruenbacher	  If you don't know what Access Control Lists are, say N.
13539f0247dSAndreas Gruenbacher
1361da177e4SLinus Torvaldsconfig HUGETLBFS
1371da177e4SLinus Torvalds	bool "HugeTLB file system support"
138*5a1eb5c4SBenjamin Herrenschmidt	depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
139ffb4a73dSPaul Mundt		   SYS_SUPPORTS_HUGETLBFS || BROKEN
140dda27d1aSArthur Othieno	help
141dda27d1aSArthur Othieno	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
142dda27d1aSArthur Othieno	  ramfs. For architectures that support it, say Y here and read
143dda27d1aSArthur Othieno	  <file:Documentation/vm/hugetlbpage.txt> for details.
144dda27d1aSArthur Othieno
145dda27d1aSArthur Othieno	  If unsure, say N.
1461da177e4SLinus Torvalds
1471da177e4SLinus Torvaldsconfig HUGETLB_PAGE
1481da177e4SLinus Torvalds	def_bool HUGETLBFS
1491da177e4SLinus Torvalds
1504591dabeSAlexey Dobriyansource "fs/configfs/Kconfig"
1517063fbf2SJoel Becker
1521da177e4SLinus Torvaldsendmenu
1531da177e4SLinus Torvalds
15467ec7d3aSRandy Dunlapmenuconfig MISC_FILESYSTEMS
15567ec7d3aSRandy Dunlap	bool "Miscellaneous filesystems"
15667ec7d3aSRandy Dunlap	default y
15767ec7d3aSRandy Dunlap	---help---
15867ec7d3aSRandy Dunlap	  Say Y here to get to see options for various miscellaneous
15967ec7d3aSRandy Dunlap	  filesystems, such as filesystems that came from other
16067ec7d3aSRandy Dunlap	  operating systems.
16167ec7d3aSRandy Dunlap
16267ec7d3aSRandy Dunlap	  This option alone does not add any kernel code.
16367ec7d3aSRandy Dunlap
16467ec7d3aSRandy Dunlap	  If you say N, all options in this submenu will be skipped and
16567ec7d3aSRandy Dunlap	  disabled; if unsure, say Y here.
16667ec7d3aSRandy Dunlap
16767ec7d3aSRandy Dunlapif MISC_FILESYSTEMS
1681da177e4SLinus Torvalds
169bc2de2aeSAlexey Dobriyansource "fs/adfs/Kconfig"
17010951bf0SAlexey Dobriyansource "fs/affs/Kconfig"
171295c896cSAlexey Dobriyansource "fs/ecryptfs/Kconfig"
172b08bac1fSAlexey Dobriyansource "fs/hfs/Kconfig"
173b08bac1fSAlexey Dobriyansource "fs/hfsplus/Kconfig"
1740b09eb32SAlexey Dobriyansource "fs/befs/Kconfig"
1750ff42384SAlexey Dobriyansource "fs/bfs/Kconfig"
176571f0a0bSAlexey Dobriyansource "fs/efs/Kconfig"
17731db6e9eSAlexey Dobriyansource "fs/jffs2/Kconfig"
1780d7eff87SArtem Bityutskiy# UBIFS File system configuration
1790d7eff87SArtem Bityutskiysource "fs/ubifs/Kconfig"
1802a22783bSAlexey Dobriyansource "fs/cramfs/Kconfig"
18122635ec9SAlexey Dobriyansource "fs/squashfs/Kconfig"
18222135169SAlexey Dobriyansource "fs/freevxfs/Kconfig"
1838b1cd7d3SAlexey Dobriyansource "fs/minix/Kconfig"
184da55e6f9SAlexey Dobriyansource "fs/omfs/Kconfig"
185928ea192SAlexey Dobriyansource "fs/hpfs/Kconfig"
1864c741583SAlexey Dobriyansource "fs/qnx4/Kconfig"
18741810246SAlexey Dobriyansource "fs/romfs/Kconfig"
1888af915baSAlexey Dobriyansource "fs/sysv/Kconfig"
189a276a52fSAlexey Dobriyansource "fs/ufs/Kconfig"
1900d8fe329SBoaz Harroshsource "fs/exofs/Kconfig"
1910c4fb877SRyusuke Konishi
19267ec7d3aSRandy Dunlapendif # MISC_FILESYSTEMS
1931da177e4SLinus Torvalds
194ea0985adSJan Engelhardtmenuconfig NETWORK_FILESYSTEMS
195ea0985adSJan Engelhardt	bool "Network File Systems"
196ea0985adSJan Engelhardt	default y
1971da177e4SLinus Torvalds	depends on NET
198ea0985adSJan Engelhardt	---help---
199ea0985adSJan Engelhardt	  Say Y here to get to see options for network filesystems and
200ea0985adSJan Engelhardt	  filesystem-related networking code, such as NFS daemon and
201ea0985adSJan Engelhardt	  RPCSEC security modules.
2026fb1bc10SChuck Lever
203ea0985adSJan Engelhardt	  This option alone does not add any kernel code.
204ea0985adSJan Engelhardt
205ea0985adSJan Engelhardt	  If you say N, all options in this submenu will be skipped and
206ea0985adSJan Engelhardt	  disabled; if unsure, say Y here.
207ea0985adSJan Engelhardt
208ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS
2091da177e4SLinus Torvalds
21097afe47aSAlexey Dobriyansource "fs/nfs/Kconfig"
211e2b329e2SAlexey Dobriyansource "fs/nfsd/Kconfig"
2121da177e4SLinus Torvalds
2131da177e4SLinus Torvaldsconfig LOCKD
2141da177e4SLinus Torvalds	tristate
215dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
2161da177e4SLinus Torvalds
2171da177e4SLinus Torvaldsconfig LOCKD_V4
2181da177e4SLinus Torvalds	bool
2191da177e4SLinus Torvalds	depends on NFSD_V3 || NFS_V3
220dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
2211da177e4SLinus Torvalds	default y
2221da177e4SLinus Torvalds
2231da177e4SLinus Torvaldsconfig EXPORTFS
2241da177e4SLinus Torvalds	tristate
2251da177e4SLinus Torvalds
226a257cdd0SAndreas Gruenbacherconfig NFS_ACL_SUPPORT
227a257cdd0SAndreas Gruenbacher	tristate
228a257cdd0SAndreas Gruenbacher	select FS_POSIX_ACL
229a257cdd0SAndreas Gruenbacher
230a257cdd0SAndreas Gruenbacherconfig NFS_COMMON
231a257cdd0SAndreas Gruenbacher	bool
232a257cdd0SAndreas Gruenbacher	depends on NFSD || NFS_FS
233a257cdd0SAndreas Gruenbacher	default y
234a257cdd0SAndreas Gruenbacher
2359098c24fSAlexey Dobriyansource "net/sunrpc/Kconfig"
236213a41d4SAlexey Dobriyansource "fs/smbfs/Kconfig"
237bb26b963SAlexey Dobriyansource "fs/cifs/Kconfig"
2381da177e4SLinus Torvaldssource "fs/ncpfs/Kconfig"
23933a1a6feSAlexey Dobriyansource "fs/coda/Kconfig"
240b2480c7fSAlexey Dobriyansource "fs/afs/Kconfig"
2410fcb4408SAlexey Dobriyansource "fs/9p/Kconfig"
24293fa58cbSEric Van Hensbergen
243ea0985adSJan Engelhardtendif # NETWORK_FILESYSTEMS
2441da177e4SLinus Torvalds
2459361401eSDavid Howellsif BLOCK
2461da177e4SLinus Torvaldsmenu "Partition Types"
2471da177e4SLinus Torvalds
2481da177e4SLinus Torvaldssource "fs/partitions/Kconfig"
2491da177e4SLinus Torvalds
2501da177e4SLinus Torvaldsendmenu
2519361401eSDavid Howellsendif
2521da177e4SLinus Torvalds
2531da177e4SLinus Torvaldssource "fs/nls/Kconfig"
254e7fd4179SDavid Teiglandsource "fs/dlm/Kconfig"
2551da177e4SLinus Torvalds
2561da177e4SLinus Torvaldsendmenu
257