xref: /linux/fs/Kconfig (revision ba341d55a420ab4fdd1a53fd395fd59bd65de880)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# File system configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsmenu "File systems"
61da177e4SLinus Torvalds
7bfcfaa77SLinus Torvalds# Use unaligned word dcache accesses
8bfcfaa77SLinus Torvaldsconfig DCACHE_WORD_ACCESS
9bfcfaa77SLinus Torvalds       bool
10bfcfaa77SLinus Torvalds
119361401eSDavid Howellsif BLOCK
129361401eSDavid Howells
136da0b38fSAlexey Dobriyansource "fs/ext2/Kconfig"
146da0b38fSAlexey Dobriyansource "fs/ext3/Kconfig"
156da0b38fSAlexey Dobriyansource "fs/ext4/Kconfig"
166d79125bSCarsten Otte
176d79125bSCarsten Otteconfig FS_XIP
186d79125bSCarsten Otte# execute in place
196d79125bSCarsten Otte	bool
206d79125bSCarsten Otte	depends on EXT2_FS_XIP
216d79125bSCarsten Otte	default y
226d79125bSCarsten Otte
236da0b38fSAlexey Dobriyansource "fs/jbd/Kconfig"
246da0b38fSAlexey Dobriyansource "fs/jbd2/Kconfig"
25dab291afSMingming Cao
261da177e4SLinus Torvaldsconfig FS_MBCACHE
2702ea2104SMingming Cao# Meta block cache for Extended Attributes (ext2/ext3/ext4)
281da177e4SLinus Torvalds	tristate
292c512397SAdrian Bunk	default y if EXT2_FS=y && EXT2_FS_XATTR
302c512397SAdrian Bunk	default y if EXT3_FS=y && EXT3_FS_XATTR
31939da108STao Ma	default y if EXT4_FS=y
32939da108STao Ma	default m if EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS
331da177e4SLinus Torvalds
34b16ecfe2SAlexey Dobriyansource "fs/reiserfs/Kconfig"
35f5c77969SAlexey Dobriyansource "fs/jfs/Kconfig"
361da177e4SLinus Torvalds
3769050eeeSTomas Szepesource "fs/xfs/Kconfig"
3869050eeeSTomas Szepesource "fs/gfs2/Kconfig"
3969050eeeSTomas Szepesource "fs/ocfs2/Kconfig"
4069050eeeSTomas Szepesource "fs/btrfs/Kconfig"
4141f4db0fSRyusuke Konishisource "fs/nilfs2/Kconfig"
4269050eeeSTomas Szepe
4369050eeeSTomas Szepeendif # BLOCK
4469050eeeSTomas Szepe
4516ebe911SRandy Dunlap# Posix ACL utility routines
4616ebe911SRandy Dunlap#
4716ebe911SRandy Dunlap# Note: Posix ACLs can be implemented without these helpers.  Never use
4816ebe911SRandy Dunlap# this symbol for ifdefs in core code.
4916ebe911SRandy Dunlap#
5016ebe911SRandy Dunlapconfig FS_POSIX_ACL
5116ebe911SRandy Dunlap	def_bool n
5216ebe911SRandy Dunlap
534199ca77SRandy Dunlapconfig EXPORTFS
5479fead47SJonas Gorski	tristate
554199ca77SRandy Dunlap
56bfcd17a6SThomas Petazzoniconfig FILE_LOCKING
576a108a14SDavid Rientjes	bool "Enable POSIX file locking API" if EXPERT
58bfcd17a6SThomas Petazzoni	default y
59bfcd17a6SThomas Petazzoni	help
60bfcd17a6SThomas Petazzoni	  This option enables standard file locking support, required
61bfcd17a6SThomas Petazzoni          for filesystems like NFS and for the flock() system
62bfcd17a6SThomas Petazzoni          call. Disabling this option saves about 11k.
63bfcd17a6SThomas Petazzoni
64272eb014SEric Parissource "fs/notify/Kconfig"
652d9048e2SAmy Griffis
66884d179dSJan Karasource "fs/quota/Kconfig"
671da177e4SLinus Torvalds
6890ffd467SAlexey Dobriyansource "fs/autofs4/Kconfig"
693ef7784eSAlexey Dobriyansource "fs/fuse/Kconfig"
7004578f17SMiklos Szeredi
7106b3db1bSDavid Howellsmenu "Caches"
7206b3db1bSDavid Howells
7306b3db1bSDavid Howellssource "fs/fscache/Kconfig"
749ae326a6SDavid Howellssource "fs/cachefiles/Kconfig"
7506b3db1bSDavid Howells
7606b3db1bSDavid Howellsendmenu
7706b3db1bSDavid Howells
789361401eSDavid Howellsif BLOCK
791da177e4SLinus Torvaldsmenu "CD-ROM/DVD Filesystems"
801da177e4SLinus Torvalds
81ddfaccd9SAlexey Dobriyansource "fs/isofs/Kconfig"
82ddfaccd9SAlexey Dobriyansource "fs/udf/Kconfig"
831da177e4SLinus Torvalds
841da177e4SLinus Torvaldsendmenu
8525fad945SRandy Dunlapendif # BLOCK
861da177e4SLinus Torvalds
879361401eSDavid Howellsif BLOCK
881da177e4SLinus Torvaldsmenu "DOS/FAT/NT Filesystems"
891da177e4SLinus Torvalds
901c6ace01SAlexey Dobriyansource "fs/fat/Kconfig"
919d73ac9eSAlexey Dobriyansource "fs/ntfs/Kconfig"
921da177e4SLinus Torvalds
931da177e4SLinus Torvaldsendmenu
9425fad945SRandy Dunlapendif # BLOCK
951da177e4SLinus Torvalds
961da177e4SLinus Torvaldsmenu "Pseudo filesystems"
971da177e4SLinus Torvalds
986eedf8d3SAlexey Dobriyansource "fs/proc/Kconfig"
99*ba341d55STejun Heosource "fs/kernfs/Kconfig"
1005f3a211aSAlexey Dobriyansource "fs/sysfs/Kconfig"
1011da177e4SLinus Torvalds
1021da177e4SLinus Torvaldsconfig TMPFS
103f5fc870dSRobert P. J. Day	bool "Tmpfs virtual memory file system support (former shm fs)"
1043f96b79aSHugh Dickins	depends on SHMEM
1051da177e4SLinus Torvalds	help
1061da177e4SLinus Torvalds	  Tmpfs is a file system which keeps all files in virtual memory.
1071da177e4SLinus Torvalds
1081da177e4SLinus Torvalds	  Everything in tmpfs is temporary in the sense that no files will be
1091da177e4SLinus Torvalds	  created on your hard drive. The files live in memory and swap
1101da177e4SLinus Torvalds	  space. If you unmount a tmpfs instance, everything stored therein is
1111da177e4SLinus Torvalds	  lost.
1121da177e4SLinus Torvalds
1131da177e4SLinus Torvalds	  See <file:Documentation/filesystems/tmpfs.txt> for details.
1141da177e4SLinus Torvalds
1154db70f73SEric Parisconfig TMPFS_POSIX_ACL
1164db70f73SEric Paris	bool "Tmpfs POSIX Access Control Lists"
1174db70f73SEric Paris	depends on TMPFS
1184db70f73SEric Paris	select TMPFS_XATTR
119feda821eSChristoph Hellwig	select FS_POSIX_ACL
1204db70f73SEric Paris	help
121206506ccSRobert P. J. Day	  POSIX Access Control Lists (ACLs) support additional access rights
122206506ccSRobert P. J. Day	  for users and groups beyond the standard owner/group/world scheme,
123206506ccSRobert P. J. Day	  and this option selects support for ACLs specifically for tmpfs
124206506ccSRobert P. J. Day	  filesystems.
125206506ccSRobert P. J. Day
126206506ccSRobert P. J. Day	  If you've selected TMPFS, it's possible that you'll also need
127206506ccSRobert P. J. Day	  this option as there are a number of Linux distros that require
128206506ccSRobert P. J. Day	  POSIX ACL support under /dev for certain features to work properly.
129206506ccSRobert P. J. Day	  For example, some distros need this feature for ALSA-related /dev
130206506ccSRobert P. J. Day	  files for sound to work properly.  In short, if you're not sure,
131206506ccSRobert P. J. Day	  say Y.
1324db70f73SEric Paris
1334db70f73SEric Paris	  To learn more about Access Control Lists, visit the POSIX ACLs for
1344db70f73SEric Paris	  Linux website <http://acl.bestbits.at/>.
1354db70f73SEric Paris
136b09e0fa4SEric Parisconfig TMPFS_XATTR
137b09e0fa4SEric Paris	bool "Tmpfs extended attributes"
138b09e0fa4SEric Paris	depends on TMPFS
139b09e0fa4SEric Paris	default n
140b09e0fa4SEric Paris	help
141b09e0fa4SEric Paris	  Extended attributes are name:value pairs associated with inodes by
142b09e0fa4SEric Paris	  the kernel or by users (see the attr(5) manual page, or visit
143b09e0fa4SEric Paris	  <http://acl.bestbits.at/> for details).
144b09e0fa4SEric Paris
145b09e0fa4SEric Paris	  Currently this enables support for the trusted.* and
146b09e0fa4SEric Paris	  security.* namespaces.
147b09e0fa4SEric Paris
148b09e0fa4SEric Paris	  You need this for POSIX ACL support on tmpfs.
149b09e0fa4SEric Paris
1504db70f73SEric Paris	  If unsure, say N.
15139f0247dSAndreas Gruenbacher
1521da177e4SLinus Torvaldsconfig HUGETLBFS
1531da177e4SLinus Torvalds	bool "HugeTLB file system support"
1545a1eb5c4SBenjamin Herrenschmidt	depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
155ffb4a73dSPaul Mundt		   SYS_SUPPORTS_HUGETLBFS || BROKEN
156dda27d1aSArthur Othieno	help
157dda27d1aSArthur Othieno	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
158dda27d1aSArthur Othieno	  ramfs. For architectures that support it, say Y here and read
159dda27d1aSArthur Othieno	  <file:Documentation/vm/hugetlbpage.txt> for details.
160dda27d1aSArthur Othieno
161dda27d1aSArthur Othieno	  If unsure, say N.
1621da177e4SLinus Torvalds
1631da177e4SLinus Torvaldsconfig HUGETLB_PAGE
1641da177e4SLinus Torvalds	def_bool HUGETLBFS
1651da177e4SLinus Torvalds
1664591dabeSAlexey Dobriyansource "fs/configfs/Kconfig"
1677063fbf2SJoel Becker
1681da177e4SLinus Torvaldsendmenu
1691da177e4SLinus Torvalds
17067ec7d3aSRandy Dunlapmenuconfig MISC_FILESYSTEMS
17167ec7d3aSRandy Dunlap	bool "Miscellaneous filesystems"
17267ec7d3aSRandy Dunlap	default y
17367ec7d3aSRandy Dunlap	---help---
17467ec7d3aSRandy Dunlap	  Say Y here to get to see options for various miscellaneous
17567ec7d3aSRandy Dunlap	  filesystems, such as filesystems that came from other
17667ec7d3aSRandy Dunlap	  operating systems.
17767ec7d3aSRandy Dunlap
17867ec7d3aSRandy Dunlap	  This option alone does not add any kernel code.
17967ec7d3aSRandy Dunlap
18067ec7d3aSRandy Dunlap	  If you say N, all options in this submenu will be skipped and
18167ec7d3aSRandy Dunlap	  disabled; if unsure, say Y here.
18267ec7d3aSRandy Dunlap
18367ec7d3aSRandy Dunlapif MISC_FILESYSTEMS
1841da177e4SLinus Torvalds
185bc2de2aeSAlexey Dobriyansource "fs/adfs/Kconfig"
18610951bf0SAlexey Dobriyansource "fs/affs/Kconfig"
187295c896cSAlexey Dobriyansource "fs/ecryptfs/Kconfig"
188b08bac1fSAlexey Dobriyansource "fs/hfs/Kconfig"
189b08bac1fSAlexey Dobriyansource "fs/hfsplus/Kconfig"
1900b09eb32SAlexey Dobriyansource "fs/befs/Kconfig"
1910ff42384SAlexey Dobriyansource "fs/bfs/Kconfig"
192571f0a0bSAlexey Dobriyansource "fs/efs/Kconfig"
19331db6e9eSAlexey Dobriyansource "fs/jffs2/Kconfig"
1940d7eff87SArtem Bityutskiy# UBIFS File system configuration
1950d7eff87SArtem Bityutskiysource "fs/ubifs/Kconfig"
1965db53f3eSJoern Engelsource "fs/logfs/Kconfig"
1972a22783bSAlexey Dobriyansource "fs/cramfs/Kconfig"
19822635ec9SAlexey Dobriyansource "fs/squashfs/Kconfig"
19922135169SAlexey Dobriyansource "fs/freevxfs/Kconfig"
2008b1cd7d3SAlexey Dobriyansource "fs/minix/Kconfig"
201da55e6f9SAlexey Dobriyansource "fs/omfs/Kconfig"
202928ea192SAlexey Dobriyansource "fs/hpfs/Kconfig"
2034c741583SAlexey Dobriyansource "fs/qnx4/Kconfig"
2045d026c72SKai Bankettsource "fs/qnx6/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"
210a14d5393SJaegeuk Kimsource "fs/f2fs/Kconfig"
211d68772b7SMatt Flemingsource "fs/efivarfs/Kconfig"
2120c4fb877SRyusuke Konishi
21367ec7d3aSRandy Dunlapendif # MISC_FILESYSTEMS
2141da177e4SLinus Torvalds
215831c2dc5SBoaz Harroshsource "fs/exofs/Kconfig.ore"
216831c2dc5SBoaz Harrosh
217ea0985adSJan Engelhardtmenuconfig NETWORK_FILESYSTEMS
218ea0985adSJan Engelhardt	bool "Network File Systems"
219ea0985adSJan Engelhardt	default y
2201da177e4SLinus Torvalds	depends on NET
221ea0985adSJan Engelhardt	---help---
222ea0985adSJan Engelhardt	  Say Y here to get to see options for network filesystems and
223ea0985adSJan Engelhardt	  filesystem-related networking code, such as NFS daemon and
224ea0985adSJan Engelhardt	  RPCSEC security modules.
2256fb1bc10SChuck Lever
226ea0985adSJan Engelhardt	  This option alone does not add any kernel code.
227ea0985adSJan Engelhardt
228ea0985adSJan Engelhardt	  If you say N, all options in this submenu will be skipped and
229ea0985adSJan Engelhardt	  disabled; if unsure, say Y here.
230ea0985adSJan Engelhardt
231ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS
2321da177e4SLinus Torvalds
23397afe47aSAlexey Dobriyansource "fs/nfs/Kconfig"
234e2b329e2SAlexey Dobriyansource "fs/nfsd/Kconfig"
2351da177e4SLinus Torvalds
2361da177e4SLinus Torvaldsconfig LOCKD
2371da177e4SLinus Torvalds	tristate
238dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
2391da177e4SLinus Torvalds
2401da177e4SLinus Torvaldsconfig LOCKD_V4
2411da177e4SLinus Torvalds	bool
2421da177e4SLinus Torvalds	depends on NFSD_V3 || NFS_V3
243dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
2441da177e4SLinus Torvalds	default y
2451da177e4SLinus Torvalds
246a257cdd0SAndreas Gruenbacherconfig NFS_ACL_SUPPORT
247a257cdd0SAndreas Gruenbacher	tristate
248a257cdd0SAndreas Gruenbacher	select FS_POSIX_ACL
249a257cdd0SAndreas Gruenbacher
250a257cdd0SAndreas Gruenbacherconfig NFS_COMMON
251a257cdd0SAndreas Gruenbacher	bool
252a257cdd0SAndreas Gruenbacher	depends on NFSD || NFS_FS
253a257cdd0SAndreas Gruenbacher	default y
254a257cdd0SAndreas Gruenbacher
2559098c24fSAlexey Dobriyansource "net/sunrpc/Kconfig"
2569030aaf9SSage Weilsource "fs/ceph/Kconfig"
257bb26b963SAlexey Dobriyansource "fs/cifs/Kconfig"
2581da177e4SLinus Torvaldssource "fs/ncpfs/Kconfig"
25933a1a6feSAlexey Dobriyansource "fs/coda/Kconfig"
260b2480c7fSAlexey Dobriyansource "fs/afs/Kconfig"
2610fcb4408SAlexey Dobriyansource "fs/9p/Kconfig"
26293fa58cbSEric Van Hensbergen
263ea0985adSJan Engelhardtendif # NETWORK_FILESYSTEMS
2641da177e4SLinus Torvalds
2651da177e4SLinus Torvaldssource "fs/nls/Kconfig"
266e7fd4179SDavid Teiglandsource "fs/dlm/Kconfig"
2671da177e4SLinus Torvalds
2681da177e4SLinus Torvaldsendmenu
269