xref: /linux/fs/Kconfig (revision 6a108a14fa356ef607be308b68337939e56ea94e)
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
504199ca77SRandy Dunlap	tristate
514199ca77SRandy Dunlap
52bfcd17a6SThomas Petazzoniconfig FILE_LOCKING
53*6a108a14SDavid 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
12439f0247dSAndreas Gruenbacherconfig TMPFS_POSIX_ACL
12539f0247dSAndreas Gruenbacher	bool "Tmpfs POSIX Access Control Lists"
12639f0247dSAndreas Gruenbacher	depends on TMPFS
12739f0247dSAndreas Gruenbacher	select GENERIC_ACL
12839f0247dSAndreas Gruenbacher	help
12939f0247dSAndreas Gruenbacher	  POSIX Access Control Lists (ACLs) support permissions for users and
13039f0247dSAndreas Gruenbacher	  groups beyond the owner/group/world scheme.
13139f0247dSAndreas Gruenbacher
13239f0247dSAndreas Gruenbacher	  To learn more about Access Control Lists, visit the POSIX ACLs for
13339f0247dSAndreas Gruenbacher	  Linux website <http://acl.bestbits.at/>.
13439f0247dSAndreas Gruenbacher
13539f0247dSAndreas Gruenbacher	  If you don't know what Access Control Lists are, say N.
13639f0247dSAndreas Gruenbacher
1371da177e4SLinus Torvaldsconfig HUGETLBFS
1381da177e4SLinus Torvalds	bool "HugeTLB file system support"
1395a1eb5c4SBenjamin Herrenschmidt	depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
140ffb4a73dSPaul Mundt		   SYS_SUPPORTS_HUGETLBFS || BROKEN
141dda27d1aSArthur Othieno	help
142dda27d1aSArthur Othieno	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
143dda27d1aSArthur Othieno	  ramfs. For architectures that support it, say Y here and read
144dda27d1aSArthur Othieno	  <file:Documentation/vm/hugetlbpage.txt> for details.
145dda27d1aSArthur Othieno
146dda27d1aSArthur Othieno	  If unsure, say N.
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvaldsconfig HUGETLB_PAGE
1491da177e4SLinus Torvalds	def_bool HUGETLBFS
1501da177e4SLinus Torvalds
1514591dabeSAlexey Dobriyansource "fs/configfs/Kconfig"
1527063fbf2SJoel Becker
1531da177e4SLinus Torvaldsendmenu
1541da177e4SLinus Torvalds
15567ec7d3aSRandy Dunlapmenuconfig MISC_FILESYSTEMS
15667ec7d3aSRandy Dunlap	bool "Miscellaneous filesystems"
15767ec7d3aSRandy Dunlap	default y
15867ec7d3aSRandy Dunlap	---help---
15967ec7d3aSRandy Dunlap	  Say Y here to get to see options for various miscellaneous
16067ec7d3aSRandy Dunlap	  filesystems, such as filesystems that came from other
16167ec7d3aSRandy Dunlap	  operating systems.
16267ec7d3aSRandy Dunlap
16367ec7d3aSRandy Dunlap	  This option alone does not add any kernel code.
16467ec7d3aSRandy Dunlap
16567ec7d3aSRandy Dunlap	  If you say N, all options in this submenu will be skipped and
16667ec7d3aSRandy Dunlap	  disabled; if unsure, say Y here.
16767ec7d3aSRandy Dunlap
16867ec7d3aSRandy Dunlapif MISC_FILESYSTEMS
1691da177e4SLinus Torvalds
170bc2de2aeSAlexey Dobriyansource "fs/adfs/Kconfig"
17110951bf0SAlexey Dobriyansource "fs/affs/Kconfig"
172295c896cSAlexey Dobriyansource "fs/ecryptfs/Kconfig"
173b08bac1fSAlexey Dobriyansource "fs/hfs/Kconfig"
174b08bac1fSAlexey Dobriyansource "fs/hfsplus/Kconfig"
1750b09eb32SAlexey Dobriyansource "fs/befs/Kconfig"
1760ff42384SAlexey Dobriyansource "fs/bfs/Kconfig"
177571f0a0bSAlexey Dobriyansource "fs/efs/Kconfig"
17831db6e9eSAlexey Dobriyansource "fs/jffs2/Kconfig"
1790d7eff87SArtem Bityutskiy# UBIFS File system configuration
1800d7eff87SArtem Bityutskiysource "fs/ubifs/Kconfig"
1815db53f3eSJoern Engelsource "fs/logfs/Kconfig"
1822a22783bSAlexey Dobriyansource "fs/cramfs/Kconfig"
18322635ec9SAlexey Dobriyansource "fs/squashfs/Kconfig"
18422135169SAlexey Dobriyansource "fs/freevxfs/Kconfig"
1858b1cd7d3SAlexey Dobriyansource "fs/minix/Kconfig"
186da55e6f9SAlexey Dobriyansource "fs/omfs/Kconfig"
187928ea192SAlexey Dobriyansource "fs/hpfs/Kconfig"
1884c741583SAlexey Dobriyansource "fs/qnx4/Kconfig"
18941810246SAlexey Dobriyansource "fs/romfs/Kconfig"
1908af915baSAlexey Dobriyansource "fs/sysv/Kconfig"
191a276a52fSAlexey Dobriyansource "fs/ufs/Kconfig"
1920d8fe329SBoaz Harroshsource "fs/exofs/Kconfig"
1930c4fb877SRyusuke Konishi
19467ec7d3aSRandy Dunlapendif # MISC_FILESYSTEMS
1951da177e4SLinus Torvalds
196ea0985adSJan Engelhardtmenuconfig NETWORK_FILESYSTEMS
197ea0985adSJan Engelhardt	bool "Network File Systems"
198ea0985adSJan Engelhardt	default y
1991da177e4SLinus Torvalds	depends on NET
200ea0985adSJan Engelhardt	---help---
201ea0985adSJan Engelhardt	  Say Y here to get to see options for network filesystems and
202ea0985adSJan Engelhardt	  filesystem-related networking code, such as NFS daemon and
203ea0985adSJan Engelhardt	  RPCSEC security modules.
2046fb1bc10SChuck Lever
205ea0985adSJan Engelhardt	  This option alone does not add any kernel code.
206ea0985adSJan Engelhardt
207ea0985adSJan Engelhardt	  If you say N, all options in this submenu will be skipped and
208ea0985adSJan Engelhardt	  disabled; if unsure, say Y here.
209ea0985adSJan Engelhardt
210ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS
2111da177e4SLinus Torvalds
21297afe47aSAlexey Dobriyansource "fs/nfs/Kconfig"
213e2b329e2SAlexey Dobriyansource "fs/nfsd/Kconfig"
2141da177e4SLinus Torvalds
2151da177e4SLinus Torvaldsconfig LOCKD
2161da177e4SLinus Torvalds	tristate
217dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
2181da177e4SLinus Torvalds
2191da177e4SLinus Torvaldsconfig LOCKD_V4
2201da177e4SLinus Torvalds	bool
2211da177e4SLinus Torvalds	depends on NFSD_V3 || NFS_V3
222dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
2231da177e4SLinus Torvalds	default y
2241da177e4SLinus Torvalds
225a257cdd0SAndreas Gruenbacherconfig NFS_ACL_SUPPORT
226a257cdd0SAndreas Gruenbacher	tristate
227a257cdd0SAndreas Gruenbacher	select FS_POSIX_ACL
228a257cdd0SAndreas Gruenbacher
229a257cdd0SAndreas Gruenbacherconfig NFS_COMMON
230a257cdd0SAndreas Gruenbacher	bool
231a257cdd0SAndreas Gruenbacher	depends on NFSD || NFS_FS
232a257cdd0SAndreas Gruenbacher	default y
233a257cdd0SAndreas Gruenbacher
2349098c24fSAlexey Dobriyansource "net/sunrpc/Kconfig"
2359030aaf9SSage Weilsource "fs/ceph/Kconfig"
236bb26b963SAlexey Dobriyansource "fs/cifs/Kconfig"
2371da177e4SLinus Torvaldssource "fs/ncpfs/Kconfig"
23833a1a6feSAlexey Dobriyansource "fs/coda/Kconfig"
239b2480c7fSAlexey Dobriyansource "fs/afs/Kconfig"
2400fcb4408SAlexey Dobriyansource "fs/9p/Kconfig"
24193fa58cbSEric Van Hensbergen
242ea0985adSJan Engelhardtendif # NETWORK_FILESYSTEMS
2431da177e4SLinus Torvalds
2449361401eSDavid Howellsif BLOCK
2451da177e4SLinus Torvaldsmenu "Partition Types"
2461da177e4SLinus Torvalds
2471da177e4SLinus Torvaldssource "fs/partitions/Kconfig"
2481da177e4SLinus Torvalds
2491da177e4SLinus Torvaldsendmenu
2509361401eSDavid Howellsendif
2511da177e4SLinus Torvalds
2521da177e4SLinus Torvaldssource "fs/nls/Kconfig"
253e7fd4179SDavid Teiglandsource "fs/dlm/Kconfig"
2541da177e4SLinus Torvalds
2551da177e4SLinus Torvaldsendmenu
256