xref: /linux/fs/Kconfig (revision 151060ac13144208bd7601d17e4c92c59b98072f)
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
65*151060acSTejun Heoconfig CUSE
66*151060acSTejun Heo	tristate "Character device in Userpace support"
67*151060acSTejun Heo	depends on FUSE_FS
68*151060acSTejun Heo	help
69*151060acSTejun Heo	  This FUSE extension allows character devices to be
70*151060acSTejun Heo	  implemented in userspace.
71*151060acSTejun Heo
72*151060acSTejun Heo	  If you want to develop or use userspace character device
73*151060acSTejun Heo	  based on CUSE, answer Y or M.
74*151060acSTejun Heo
75f2fbc6c2SRandy Dunlapconfig GENERIC_ACL
76f2fbc6c2SRandy Dunlap	bool
77f2fbc6c2SRandy Dunlap	select FS_POSIX_ACL
78f2fbc6c2SRandy Dunlap
7906b3db1bSDavid Howellsmenu "Caches"
8006b3db1bSDavid Howells
8106b3db1bSDavid Howellssource "fs/fscache/Kconfig"
829ae326a6SDavid Howellssource "fs/cachefiles/Kconfig"
8306b3db1bSDavid Howells
8406b3db1bSDavid Howellsendmenu
8506b3db1bSDavid Howells
869361401eSDavid Howellsif BLOCK
871da177e4SLinus Torvaldsmenu "CD-ROM/DVD Filesystems"
881da177e4SLinus Torvalds
89ddfaccd9SAlexey Dobriyansource "fs/isofs/Kconfig"
90ddfaccd9SAlexey Dobriyansource "fs/udf/Kconfig"
911da177e4SLinus Torvalds
921da177e4SLinus Torvaldsendmenu
9325fad945SRandy Dunlapendif # BLOCK
941da177e4SLinus Torvalds
959361401eSDavid Howellsif BLOCK
961da177e4SLinus Torvaldsmenu "DOS/FAT/NT Filesystems"
971da177e4SLinus Torvalds
981c6ace01SAlexey Dobriyansource "fs/fat/Kconfig"
999d73ac9eSAlexey Dobriyansource "fs/ntfs/Kconfig"
1001da177e4SLinus Torvalds
1011da177e4SLinus Torvaldsendmenu
10225fad945SRandy Dunlapendif # BLOCK
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvaldsmenu "Pseudo filesystems"
1051da177e4SLinus Torvalds
1066eedf8d3SAlexey Dobriyansource "fs/proc/Kconfig"
1075f3a211aSAlexey Dobriyansource "fs/sysfs/Kconfig"
1081da177e4SLinus Torvalds
1091da177e4SLinus Torvaldsconfig TMPFS
1101da177e4SLinus Torvalds	bool "Virtual memory file system support (former shm fs)"
1111da177e4SLinus Torvalds	help
1121da177e4SLinus Torvalds	  Tmpfs is a file system which keeps all files in virtual memory.
1131da177e4SLinus Torvalds
1141da177e4SLinus Torvalds	  Everything in tmpfs is temporary in the sense that no files will be
1151da177e4SLinus Torvalds	  created on your hard drive. The files live in memory and swap
1161da177e4SLinus Torvalds	  space. If you unmount a tmpfs instance, everything stored therein is
1171da177e4SLinus Torvalds	  lost.
1181da177e4SLinus Torvalds
1191da177e4SLinus Torvalds	  See <file:Documentation/filesystems/tmpfs.txt> for details.
1201da177e4SLinus Torvalds
12139f0247dSAndreas Gruenbacherconfig TMPFS_POSIX_ACL
12239f0247dSAndreas Gruenbacher	bool "Tmpfs POSIX Access Control Lists"
12339f0247dSAndreas Gruenbacher	depends on TMPFS
12439f0247dSAndreas Gruenbacher	select GENERIC_ACL
12539f0247dSAndreas Gruenbacher	help
12639f0247dSAndreas Gruenbacher	  POSIX Access Control Lists (ACLs) support permissions for users and
12739f0247dSAndreas Gruenbacher	  groups beyond the owner/group/world scheme.
12839f0247dSAndreas Gruenbacher
12939f0247dSAndreas Gruenbacher	  To learn more about Access Control Lists, visit the POSIX ACLs for
13039f0247dSAndreas Gruenbacher	  Linux website <http://acl.bestbits.at/>.
13139f0247dSAndreas Gruenbacher
13239f0247dSAndreas Gruenbacher	  If you don't know what Access Control Lists are, say N.
13339f0247dSAndreas Gruenbacher
1341da177e4SLinus Torvaldsconfig HUGETLBFS
1351da177e4SLinus Torvalds	bool "HugeTLB file system support"
13653492b1dSGerald Schaefer	depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
13753492b1dSGerald Schaefer		   (S390 && 64BIT) || BROKEN
138dda27d1aSArthur Othieno	help
139dda27d1aSArthur Othieno	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
140dda27d1aSArthur Othieno	  ramfs. For architectures that support it, say Y here and read
141dda27d1aSArthur Othieno	  <file:Documentation/vm/hugetlbpage.txt> for details.
142dda27d1aSArthur Othieno
143dda27d1aSArthur Othieno	  If unsure, say N.
1441da177e4SLinus Torvalds
1451da177e4SLinus Torvaldsconfig HUGETLB_PAGE
1461da177e4SLinus Torvalds	def_bool HUGETLBFS
1471da177e4SLinus Torvalds
1484591dabeSAlexey Dobriyansource "fs/configfs/Kconfig"
1497063fbf2SJoel Becker
1501da177e4SLinus Torvaldsendmenu
1511da177e4SLinus Torvalds
15267ec7d3aSRandy Dunlapmenuconfig MISC_FILESYSTEMS
15367ec7d3aSRandy Dunlap	bool "Miscellaneous filesystems"
15467ec7d3aSRandy Dunlap	default y
15567ec7d3aSRandy Dunlap	---help---
15667ec7d3aSRandy Dunlap	  Say Y here to get to see options for various miscellaneous
15767ec7d3aSRandy Dunlap	  filesystems, such as filesystems that came from other
15867ec7d3aSRandy Dunlap	  operating systems.
15967ec7d3aSRandy Dunlap
16067ec7d3aSRandy Dunlap	  This option alone does not add any kernel code.
16167ec7d3aSRandy Dunlap
16267ec7d3aSRandy Dunlap	  If you say N, all options in this submenu will be skipped and
16367ec7d3aSRandy Dunlap	  disabled; if unsure, say Y here.
16467ec7d3aSRandy Dunlap
16567ec7d3aSRandy Dunlapif MISC_FILESYSTEMS
1661da177e4SLinus Torvalds
167bc2de2aeSAlexey Dobriyansource "fs/adfs/Kconfig"
16810951bf0SAlexey Dobriyansource "fs/affs/Kconfig"
169295c896cSAlexey Dobriyansource "fs/ecryptfs/Kconfig"
170b08bac1fSAlexey Dobriyansource "fs/hfs/Kconfig"
171b08bac1fSAlexey Dobriyansource "fs/hfsplus/Kconfig"
1720b09eb32SAlexey Dobriyansource "fs/befs/Kconfig"
1730ff42384SAlexey Dobriyansource "fs/bfs/Kconfig"
174571f0a0bSAlexey Dobriyansource "fs/efs/Kconfig"
17531db6e9eSAlexey Dobriyansource "fs/jffs2/Kconfig"
1760d7eff87SArtem Bityutskiy# UBIFS File system configuration
1770d7eff87SArtem Bityutskiysource "fs/ubifs/Kconfig"
1782a22783bSAlexey Dobriyansource "fs/cramfs/Kconfig"
17922635ec9SAlexey Dobriyansource "fs/squashfs/Kconfig"
18022135169SAlexey Dobriyansource "fs/freevxfs/Kconfig"
1818b1cd7d3SAlexey Dobriyansource "fs/minix/Kconfig"
182da55e6f9SAlexey Dobriyansource "fs/omfs/Kconfig"
183928ea192SAlexey Dobriyansource "fs/hpfs/Kconfig"
1844c741583SAlexey Dobriyansource "fs/qnx4/Kconfig"
18541810246SAlexey Dobriyansource "fs/romfs/Kconfig"
1868af915baSAlexey Dobriyansource "fs/sysv/Kconfig"
187a276a52fSAlexey Dobriyansource "fs/ufs/Kconfig"
1880d8fe329SBoaz Harroshsource "fs/exofs/Kconfig"
1890d8fe329SBoaz Harrosh
1900c4fb877SRyusuke Konishiconfig NILFS2_FS
1910c4fb877SRyusuke Konishi	tristate "NILFS2 file system support (EXPERIMENTAL)"
1920c4fb877SRyusuke Konishi	depends on BLOCK && EXPERIMENTAL
1930c4fb877SRyusuke Konishi	select CRC32
1940c4fb877SRyusuke Konishi	help
1950c4fb877SRyusuke Konishi	  NILFS2 is a log-structured file system (LFS) supporting continuous
1960c4fb877SRyusuke Konishi	  snapshotting.  In addition to versioning capability of the entire
1970c4fb877SRyusuke Konishi	  file system, users can even restore files mistakenly overwritten or
1980c4fb877SRyusuke Konishi	  destroyed just a few seconds ago.  Since this file system can keep
1990c4fb877SRyusuke Konishi	  consistency like conventional LFS, it achieves quick recovery after
2000c4fb877SRyusuke Konishi	  system crashes.
2010c4fb877SRyusuke Konishi
2020c4fb877SRyusuke Konishi	  NILFS2 creates a number of checkpoints every few seconds or per
2030c4fb877SRyusuke Konishi	  synchronous write basis (unless there is no change).  Users can
2040c4fb877SRyusuke Konishi	  select significant versions among continuously created checkpoints,
2050c4fb877SRyusuke Konishi	  and can change them into snapshots which will be preserved for long
2060c4fb877SRyusuke Konishi	  periods until they are changed back to checkpoints.  Each
2070c4fb877SRyusuke Konishi	  snapshot is mountable as a read-only file system concurrently with
2080c4fb877SRyusuke Konishi	  its writable mount, and this feature is convenient for online backup.
2090c4fb877SRyusuke Konishi
2100c4fb877SRyusuke Konishi	  Some features including atime, extended attributes, and POSIX ACLs,
2110c4fb877SRyusuke Konishi	  are not supported yet.
2120c4fb877SRyusuke Konishi
2130c4fb877SRyusuke Konishi	  To compile this file system support as a module, choose M here: the
2140c4fb877SRyusuke Konishi	  module will be called nilfs2.  If unsure, say N.
2150c4fb877SRyusuke Konishi
21667ec7d3aSRandy Dunlapendif # MISC_FILESYSTEMS
2171da177e4SLinus Torvalds
218ea0985adSJan Engelhardtmenuconfig NETWORK_FILESYSTEMS
219ea0985adSJan Engelhardt	bool "Network File Systems"
220ea0985adSJan Engelhardt	default y
2211da177e4SLinus Torvalds	depends on NET
222ea0985adSJan Engelhardt	---help---
223ea0985adSJan Engelhardt	  Say Y here to get to see options for network filesystems and
224ea0985adSJan Engelhardt	  filesystem-related networking code, such as NFS daemon and
225ea0985adSJan Engelhardt	  RPCSEC security modules.
2266fb1bc10SChuck Lever
227ea0985adSJan Engelhardt	  This option alone does not add any kernel code.
228ea0985adSJan Engelhardt
229ea0985adSJan Engelhardt	  If you say N, all options in this submenu will be skipped and
230ea0985adSJan Engelhardt	  disabled; if unsure, say Y here.
231ea0985adSJan Engelhardt
232ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS
2331da177e4SLinus Torvalds
23497afe47aSAlexey Dobriyansource "fs/nfs/Kconfig"
235e2b329e2SAlexey Dobriyansource "fs/nfsd/Kconfig"
2361da177e4SLinus Torvalds
2371da177e4SLinus Torvaldsconfig LOCKD
2381da177e4SLinus Torvalds	tristate
2391da177e4SLinus Torvalds
2401da177e4SLinus Torvaldsconfig LOCKD_V4
2411da177e4SLinus Torvalds	bool
2421da177e4SLinus Torvalds	depends on NFSD_V3 || NFS_V3
2431da177e4SLinus Torvalds	default y
2441da177e4SLinus Torvalds
2451da177e4SLinus Torvaldsconfig EXPORTFS
2461da177e4SLinus Torvalds	tristate
2471da177e4SLinus Torvalds
248a257cdd0SAndreas Gruenbacherconfig NFS_ACL_SUPPORT
249a257cdd0SAndreas Gruenbacher	tristate
250a257cdd0SAndreas Gruenbacher	select FS_POSIX_ACL
251a257cdd0SAndreas Gruenbacher
252a257cdd0SAndreas Gruenbacherconfig NFS_COMMON
253a257cdd0SAndreas Gruenbacher	bool
254a257cdd0SAndreas Gruenbacher	depends on NFSD || NFS_FS
255a257cdd0SAndreas Gruenbacher	default y
256a257cdd0SAndreas Gruenbacher
2579098c24fSAlexey Dobriyansource "net/sunrpc/Kconfig"
258213a41d4SAlexey Dobriyansource "fs/smbfs/Kconfig"
259bb26b963SAlexey Dobriyansource "fs/cifs/Kconfig"
2601da177e4SLinus Torvaldssource "fs/ncpfs/Kconfig"
26133a1a6feSAlexey Dobriyansource "fs/coda/Kconfig"
262b2480c7fSAlexey Dobriyansource "fs/afs/Kconfig"
2630fcb4408SAlexey Dobriyansource "fs/9p/Kconfig"
26493fa58cbSEric Van Hensbergen
265ea0985adSJan Engelhardtendif # NETWORK_FILESYSTEMS
2661da177e4SLinus Torvalds
2679361401eSDavid Howellsif BLOCK
2681da177e4SLinus Torvaldsmenu "Partition Types"
2691da177e4SLinus Torvalds
2701da177e4SLinus Torvaldssource "fs/partitions/Kconfig"
2711da177e4SLinus Torvalds
2721da177e4SLinus Torvaldsendmenu
2739361401eSDavid Howellsendif
2741da177e4SLinus Torvalds
2751da177e4SLinus Torvaldssource "fs/nls/Kconfig"
276e7fd4179SDavid Teiglandsource "fs/dlm/Kconfig"
2771da177e4SLinus Torvalds
2781da177e4SLinus Torvaldsendmenu
279