xref: /linux/fs/Kconfig (revision b09e0fa4b4ea66266058eead43350bd7d55fec67)
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
3369050eeeSTomas Szepesource "fs/xfs/Kconfig"
3469050eeeSTomas Szepesource "fs/gfs2/Kconfig"
3569050eeeSTomas Szepesource "fs/ocfs2/Kconfig"
3669050eeeSTomas Szepesource "fs/btrfs/Kconfig"
3741f4db0fSRyusuke Konishisource "fs/nilfs2/Kconfig"
3869050eeeSTomas Szepe
3969050eeeSTomas Szepeendif # BLOCK
4069050eeeSTomas Szepe
4116ebe911SRandy Dunlap# Posix ACL utility routines
4216ebe911SRandy Dunlap#
4316ebe911SRandy Dunlap# Note: Posix ACLs can be implemented without these helpers.  Never use
4416ebe911SRandy Dunlap# this symbol for ifdefs in core code.
4516ebe911SRandy Dunlap#
4616ebe911SRandy Dunlapconfig FS_POSIX_ACL
4716ebe911SRandy Dunlap	def_bool n
4816ebe911SRandy Dunlap
494199ca77SRandy Dunlapconfig EXPORTFS
50990d6c2dSAneesh Kumar K.V	bool
514199ca77SRandy Dunlap
52bfcd17a6SThomas Petazzoniconfig FILE_LOCKING
536a108a14SDavid Rientjes	bool "Enable POSIX file locking API" if EXPERT
54bfcd17a6SThomas Petazzoni	default y
55bfcd17a6SThomas Petazzoni	help
56bfcd17a6SThomas Petazzoni	  This option enables standard file locking support, required
57bfcd17a6SThomas Petazzoni          for filesystems like NFS and for the flock() system
58bfcd17a6SThomas Petazzoni          call. Disabling this option saves about 11k.
59bfcd17a6SThomas Petazzoni
60272eb014SEric Parissource "fs/notify/Kconfig"
612d9048e2SAmy Griffis
62884d179dSJan Karasource "fs/quota/Kconfig"
631da177e4SLinus Torvalds
6490ffd467SAlexey Dobriyansource "fs/autofs4/Kconfig"
653ef7784eSAlexey Dobriyansource "fs/fuse/Kconfig"
6604578f17SMiklos Szeredi
67151060acSTejun Heoconfig CUSE
6859b48568SStephen Boyd	tristate "Character device in Userspace support"
69151060acSTejun Heo	depends on FUSE_FS
70151060acSTejun Heo	help
71151060acSTejun Heo	  This FUSE extension allows character devices to be
72151060acSTejun Heo	  implemented in userspace.
73151060acSTejun Heo
74151060acSTejun Heo	  If you want to develop or use userspace character device
75151060acSTejun Heo	  based on CUSE, answer Y or M.
76151060acSTejun Heo
77f2fbc6c2SRandy Dunlapconfig GENERIC_ACL
78f2fbc6c2SRandy Dunlap	bool
79f2fbc6c2SRandy Dunlap	select FS_POSIX_ACL
80f2fbc6c2SRandy Dunlap
8106b3db1bSDavid Howellsmenu "Caches"
8206b3db1bSDavid Howells
8306b3db1bSDavid Howellssource "fs/fscache/Kconfig"
849ae326a6SDavid Howellssource "fs/cachefiles/Kconfig"
8506b3db1bSDavid Howells
8606b3db1bSDavid Howellsendmenu
8706b3db1bSDavid Howells
889361401eSDavid Howellsif BLOCK
891da177e4SLinus Torvaldsmenu "CD-ROM/DVD Filesystems"
901da177e4SLinus Torvalds
91ddfaccd9SAlexey Dobriyansource "fs/isofs/Kconfig"
92ddfaccd9SAlexey Dobriyansource "fs/udf/Kconfig"
931da177e4SLinus Torvalds
941da177e4SLinus Torvaldsendmenu
9525fad945SRandy Dunlapendif # BLOCK
961da177e4SLinus Torvalds
979361401eSDavid Howellsif BLOCK
981da177e4SLinus Torvaldsmenu "DOS/FAT/NT Filesystems"
991da177e4SLinus Torvalds
1001c6ace01SAlexey Dobriyansource "fs/fat/Kconfig"
1019d73ac9eSAlexey Dobriyansource "fs/ntfs/Kconfig"
1021da177e4SLinus Torvalds
1031da177e4SLinus Torvaldsendmenu
10425fad945SRandy Dunlapendif # BLOCK
1051da177e4SLinus Torvalds
1061da177e4SLinus Torvaldsmenu "Pseudo filesystems"
1071da177e4SLinus Torvalds
1086eedf8d3SAlexey Dobriyansource "fs/proc/Kconfig"
1095f3a211aSAlexey Dobriyansource "fs/sysfs/Kconfig"
1101da177e4SLinus Torvalds
1111da177e4SLinus Torvaldsconfig TMPFS
1121da177e4SLinus Torvalds	bool "Virtual memory file system support (former shm fs)"
1133f96b79aSHugh Dickins	depends on SHMEM
1141da177e4SLinus Torvalds	help
1151da177e4SLinus Torvalds	  Tmpfs is a file system which keeps all files in virtual memory.
1161da177e4SLinus Torvalds
1171da177e4SLinus Torvalds	  Everything in tmpfs is temporary in the sense that no files will be
1181da177e4SLinus Torvalds	  created on your hard drive. The files live in memory and swap
1191da177e4SLinus Torvalds	  space. If you unmount a tmpfs instance, everything stored therein is
1201da177e4SLinus Torvalds	  lost.
1211da177e4SLinus Torvalds
1221da177e4SLinus Torvalds	  See <file:Documentation/filesystems/tmpfs.txt> for details.
1231da177e4SLinus Torvalds
124*b09e0fa4SEric Parisconfig TMPFS_XATTR
125*b09e0fa4SEric Paris	bool "Tmpfs extended attributes"
126*b09e0fa4SEric Paris	depends on TMPFS
127*b09e0fa4SEric Paris	default n
128*b09e0fa4SEric Paris	help
129*b09e0fa4SEric Paris	  Extended attributes are name:value pairs associated with inodes by
130*b09e0fa4SEric Paris	  the kernel or by users (see the attr(5) manual page, or visit
131*b09e0fa4SEric Paris	  <http://acl.bestbits.at/> for details).
132*b09e0fa4SEric Paris
133*b09e0fa4SEric Paris	  Currently this enables support for the trusted.* and
134*b09e0fa4SEric Paris	  security.* namespaces.
135*b09e0fa4SEric Paris
136*b09e0fa4SEric Paris	  If unsure, say N.
137*b09e0fa4SEric Paris
138*b09e0fa4SEric Paris	  You need this for POSIX ACL support on tmpfs.
139*b09e0fa4SEric Paris
14039f0247dSAndreas Gruenbacherconfig TMPFS_POSIX_ACL
14139f0247dSAndreas Gruenbacher	bool "Tmpfs POSIX Access Control Lists"
142*b09e0fa4SEric Paris	depends on TMPFS_XATTR
14339f0247dSAndreas Gruenbacher	select GENERIC_ACL
14439f0247dSAndreas Gruenbacher	help
14539f0247dSAndreas Gruenbacher	  POSIX Access Control Lists (ACLs) support permissions for users and
14639f0247dSAndreas Gruenbacher	  groups beyond the owner/group/world scheme.
14739f0247dSAndreas Gruenbacher
14839f0247dSAndreas Gruenbacher	  To learn more about Access Control Lists, visit the POSIX ACLs for
14939f0247dSAndreas Gruenbacher	  Linux website <http://acl.bestbits.at/>.
15039f0247dSAndreas Gruenbacher
15139f0247dSAndreas Gruenbacher	  If you don't know what Access Control Lists are, say N.
15239f0247dSAndreas Gruenbacher
1531da177e4SLinus Torvaldsconfig HUGETLBFS
1541da177e4SLinus Torvalds	bool "HugeTLB file system support"
1555a1eb5c4SBenjamin Herrenschmidt	depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
156ffb4a73dSPaul Mundt		   SYS_SUPPORTS_HUGETLBFS || BROKEN
157dda27d1aSArthur Othieno	help
158dda27d1aSArthur Othieno	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
159dda27d1aSArthur Othieno	  ramfs. For architectures that support it, say Y here and read
160dda27d1aSArthur Othieno	  <file:Documentation/vm/hugetlbpage.txt> for details.
161dda27d1aSArthur Othieno
162dda27d1aSArthur Othieno	  If unsure, say N.
1631da177e4SLinus Torvalds
1641da177e4SLinus Torvaldsconfig HUGETLB_PAGE
1651da177e4SLinus Torvalds	def_bool HUGETLBFS
1661da177e4SLinus Torvalds
1674591dabeSAlexey Dobriyansource "fs/configfs/Kconfig"
1687063fbf2SJoel Becker
1691da177e4SLinus Torvaldsendmenu
1701da177e4SLinus Torvalds
17167ec7d3aSRandy Dunlapmenuconfig MISC_FILESYSTEMS
17267ec7d3aSRandy Dunlap	bool "Miscellaneous filesystems"
17367ec7d3aSRandy Dunlap	default y
17467ec7d3aSRandy Dunlap	---help---
17567ec7d3aSRandy Dunlap	  Say Y here to get to see options for various miscellaneous
17667ec7d3aSRandy Dunlap	  filesystems, such as filesystems that came from other
17767ec7d3aSRandy Dunlap	  operating systems.
17867ec7d3aSRandy Dunlap
17967ec7d3aSRandy Dunlap	  This option alone does not add any kernel code.
18067ec7d3aSRandy Dunlap
18167ec7d3aSRandy Dunlap	  If you say N, all options in this submenu will be skipped and
18267ec7d3aSRandy Dunlap	  disabled; if unsure, say Y here.
18367ec7d3aSRandy Dunlap
18467ec7d3aSRandy Dunlapif MISC_FILESYSTEMS
1851da177e4SLinus Torvalds
186bc2de2aeSAlexey Dobriyansource "fs/adfs/Kconfig"
18710951bf0SAlexey Dobriyansource "fs/affs/Kconfig"
188295c896cSAlexey Dobriyansource "fs/ecryptfs/Kconfig"
189b08bac1fSAlexey Dobriyansource "fs/hfs/Kconfig"
190b08bac1fSAlexey Dobriyansource "fs/hfsplus/Kconfig"
1910b09eb32SAlexey Dobriyansource "fs/befs/Kconfig"
1920ff42384SAlexey Dobriyansource "fs/bfs/Kconfig"
193571f0a0bSAlexey Dobriyansource "fs/efs/Kconfig"
19431db6e9eSAlexey Dobriyansource "fs/jffs2/Kconfig"
1950d7eff87SArtem Bityutskiy# UBIFS File system configuration
1960d7eff87SArtem Bityutskiysource "fs/ubifs/Kconfig"
1975db53f3eSJoern Engelsource "fs/logfs/Kconfig"
1982a22783bSAlexey Dobriyansource "fs/cramfs/Kconfig"
19922635ec9SAlexey Dobriyansource "fs/squashfs/Kconfig"
20022135169SAlexey Dobriyansource "fs/freevxfs/Kconfig"
2018b1cd7d3SAlexey Dobriyansource "fs/minix/Kconfig"
202da55e6f9SAlexey Dobriyansource "fs/omfs/Kconfig"
203928ea192SAlexey Dobriyansource "fs/hpfs/Kconfig"
2044c741583SAlexey Dobriyansource "fs/qnx4/Kconfig"
20541810246SAlexey Dobriyansource "fs/romfs/Kconfig"
206ca01d6ddSTony Lucksource "fs/pstore/Kconfig"
2078af915baSAlexey Dobriyansource "fs/sysv/Kconfig"
208a276a52fSAlexey Dobriyansource "fs/ufs/Kconfig"
2090d8fe329SBoaz Harroshsource "fs/exofs/Kconfig"
2100c4fb877SRyusuke Konishi
21167ec7d3aSRandy Dunlapendif # MISC_FILESYSTEMS
2121da177e4SLinus Torvalds
213ea0985adSJan Engelhardtmenuconfig NETWORK_FILESYSTEMS
214ea0985adSJan Engelhardt	bool "Network File Systems"
215ea0985adSJan Engelhardt	default y
2161da177e4SLinus Torvalds	depends on NET
217ea0985adSJan Engelhardt	---help---
218ea0985adSJan Engelhardt	  Say Y here to get to see options for network filesystems and
219ea0985adSJan Engelhardt	  filesystem-related networking code, such as NFS daemon and
220ea0985adSJan Engelhardt	  RPCSEC security modules.
2216fb1bc10SChuck Lever
222ea0985adSJan Engelhardt	  This option alone does not add any kernel code.
223ea0985adSJan Engelhardt
224ea0985adSJan Engelhardt	  If you say N, all options in this submenu will be skipped and
225ea0985adSJan Engelhardt	  disabled; if unsure, say Y here.
226ea0985adSJan Engelhardt
227ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS
2281da177e4SLinus Torvalds
22997afe47aSAlexey Dobriyansource "fs/nfs/Kconfig"
230e2b329e2SAlexey Dobriyansource "fs/nfsd/Kconfig"
2311da177e4SLinus Torvalds
2321da177e4SLinus Torvaldsconfig LOCKD
2331da177e4SLinus Torvalds	tristate
234dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
2351da177e4SLinus Torvalds
2361da177e4SLinus Torvaldsconfig LOCKD_V4
2371da177e4SLinus Torvalds	bool
2381da177e4SLinus Torvalds	depends on NFSD_V3 || NFS_V3
239dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
2401da177e4SLinus Torvalds	default y
2411da177e4SLinus Torvalds
242a257cdd0SAndreas Gruenbacherconfig NFS_ACL_SUPPORT
243a257cdd0SAndreas Gruenbacher	tristate
244a257cdd0SAndreas Gruenbacher	select FS_POSIX_ACL
245a257cdd0SAndreas Gruenbacher
246a257cdd0SAndreas Gruenbacherconfig NFS_COMMON
247a257cdd0SAndreas Gruenbacher	bool
248a257cdd0SAndreas Gruenbacher	depends on NFSD || NFS_FS
249a257cdd0SAndreas Gruenbacher	default y
250a257cdd0SAndreas Gruenbacher
2519098c24fSAlexey Dobriyansource "net/sunrpc/Kconfig"
2529030aaf9SSage Weilsource "fs/ceph/Kconfig"
253bb26b963SAlexey Dobriyansource "fs/cifs/Kconfig"
2541da177e4SLinus Torvaldssource "fs/ncpfs/Kconfig"
25533a1a6feSAlexey Dobriyansource "fs/coda/Kconfig"
256b2480c7fSAlexey Dobriyansource "fs/afs/Kconfig"
2570fcb4408SAlexey Dobriyansource "fs/9p/Kconfig"
25893fa58cbSEric Van Hensbergen
259ea0985adSJan Engelhardtendif # NETWORK_FILESYSTEMS
2601da177e4SLinus Torvalds
2619361401eSDavid Howellsif BLOCK
2621da177e4SLinus Torvaldsmenu "Partition Types"
2631da177e4SLinus Torvalds
2641da177e4SLinus Torvaldssource "fs/partitions/Kconfig"
2651da177e4SLinus Torvalds
2661da177e4SLinus Torvaldsendmenu
2679361401eSDavid Howellsendif
2681da177e4SLinus Torvalds
2691da177e4SLinus Torvaldssource "fs/nls/Kconfig"
270e7fd4179SDavid Teiglandsource "fs/dlm/Kconfig"
2711da177e4SLinus Torvalds
2721da177e4SLinus Torvaldsendmenu
273