xref: /linux/fs/Kconfig (revision 0c4fb877641c5c72d4a3ce8921a256bfe44055c0)
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
65f2fbc6c2SRandy Dunlapconfig GENERIC_ACL
66f2fbc6c2SRandy Dunlap	bool
67f2fbc6c2SRandy Dunlap	select FS_POSIX_ACL
68f2fbc6c2SRandy Dunlap
6906b3db1bSDavid Howellsmenu "Caches"
7006b3db1bSDavid Howells
7106b3db1bSDavid Howellssource "fs/fscache/Kconfig"
729ae326a6SDavid Howellssource "fs/cachefiles/Kconfig"
7306b3db1bSDavid Howells
7406b3db1bSDavid Howellsendmenu
7506b3db1bSDavid Howells
769361401eSDavid Howellsif BLOCK
771da177e4SLinus Torvaldsmenu "CD-ROM/DVD Filesystems"
781da177e4SLinus Torvalds
79ddfaccd9SAlexey Dobriyansource "fs/isofs/Kconfig"
80ddfaccd9SAlexey Dobriyansource "fs/udf/Kconfig"
811da177e4SLinus Torvalds
821da177e4SLinus Torvaldsendmenu
8325fad945SRandy Dunlapendif # BLOCK
841da177e4SLinus Torvalds
859361401eSDavid Howellsif BLOCK
861da177e4SLinus Torvaldsmenu "DOS/FAT/NT Filesystems"
871da177e4SLinus Torvalds
881c6ace01SAlexey Dobriyansource "fs/fat/Kconfig"
899d73ac9eSAlexey Dobriyansource "fs/ntfs/Kconfig"
901da177e4SLinus Torvalds
911da177e4SLinus Torvaldsendmenu
9225fad945SRandy Dunlapendif # BLOCK
931da177e4SLinus Torvalds
941da177e4SLinus Torvaldsmenu "Pseudo filesystems"
951da177e4SLinus Torvalds
966eedf8d3SAlexey Dobriyansource "fs/proc/Kconfig"
975f3a211aSAlexey Dobriyansource "fs/sysfs/Kconfig"
981da177e4SLinus Torvalds
991da177e4SLinus Torvaldsconfig TMPFS
1001da177e4SLinus Torvalds	bool "Virtual memory file system support (former shm fs)"
1011da177e4SLinus Torvalds	help
1021da177e4SLinus Torvalds	  Tmpfs is a file system which keeps all files in virtual memory.
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvalds	  Everything in tmpfs is temporary in the sense that no files will be
1051da177e4SLinus Torvalds	  created on your hard drive. The files live in memory and swap
1061da177e4SLinus Torvalds	  space. If you unmount a tmpfs instance, everything stored therein is
1071da177e4SLinus Torvalds	  lost.
1081da177e4SLinus Torvalds
1091da177e4SLinus Torvalds	  See <file:Documentation/filesystems/tmpfs.txt> for details.
1101da177e4SLinus Torvalds
11139f0247dSAndreas Gruenbacherconfig TMPFS_POSIX_ACL
11239f0247dSAndreas Gruenbacher	bool "Tmpfs POSIX Access Control Lists"
11339f0247dSAndreas Gruenbacher	depends on TMPFS
11439f0247dSAndreas Gruenbacher	select GENERIC_ACL
11539f0247dSAndreas Gruenbacher	help
11639f0247dSAndreas Gruenbacher	  POSIX Access Control Lists (ACLs) support permissions for users and
11739f0247dSAndreas Gruenbacher	  groups beyond the owner/group/world scheme.
11839f0247dSAndreas Gruenbacher
11939f0247dSAndreas Gruenbacher	  To learn more about Access Control Lists, visit the POSIX ACLs for
12039f0247dSAndreas Gruenbacher	  Linux website <http://acl.bestbits.at/>.
12139f0247dSAndreas Gruenbacher
12239f0247dSAndreas Gruenbacher	  If you don't know what Access Control Lists are, say N.
12339f0247dSAndreas Gruenbacher
1241da177e4SLinus Torvaldsconfig HUGETLBFS
1251da177e4SLinus Torvalds	bool "HugeTLB file system support"
12653492b1dSGerald Schaefer	depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
12753492b1dSGerald Schaefer		   (S390 && 64BIT) || BROKEN
128dda27d1aSArthur Othieno	help
129dda27d1aSArthur Othieno	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
130dda27d1aSArthur Othieno	  ramfs. For architectures that support it, say Y here and read
131dda27d1aSArthur Othieno	  <file:Documentation/vm/hugetlbpage.txt> for details.
132dda27d1aSArthur Othieno
133dda27d1aSArthur Othieno	  If unsure, say N.
1341da177e4SLinus Torvalds
1351da177e4SLinus Torvaldsconfig HUGETLB_PAGE
1361da177e4SLinus Torvalds	def_bool HUGETLBFS
1371da177e4SLinus Torvalds
1384591dabeSAlexey Dobriyansource "fs/configfs/Kconfig"
1397063fbf2SJoel Becker
1401da177e4SLinus Torvaldsendmenu
1411da177e4SLinus Torvalds
14267ec7d3aSRandy Dunlapmenuconfig MISC_FILESYSTEMS
14367ec7d3aSRandy Dunlap	bool "Miscellaneous filesystems"
14467ec7d3aSRandy Dunlap	default y
14567ec7d3aSRandy Dunlap	---help---
14667ec7d3aSRandy Dunlap	  Say Y here to get to see options for various miscellaneous
14767ec7d3aSRandy Dunlap	  filesystems, such as filesystems that came from other
14867ec7d3aSRandy Dunlap	  operating systems.
14967ec7d3aSRandy Dunlap
15067ec7d3aSRandy Dunlap	  This option alone does not add any kernel code.
15167ec7d3aSRandy Dunlap
15267ec7d3aSRandy Dunlap	  If you say N, all options in this submenu will be skipped and
15367ec7d3aSRandy Dunlap	  disabled; if unsure, say Y here.
15467ec7d3aSRandy Dunlap
15567ec7d3aSRandy Dunlapif MISC_FILESYSTEMS
1561da177e4SLinus Torvalds
157bc2de2aeSAlexey Dobriyansource "fs/adfs/Kconfig"
15810951bf0SAlexey Dobriyansource "fs/affs/Kconfig"
159295c896cSAlexey Dobriyansource "fs/ecryptfs/Kconfig"
160b08bac1fSAlexey Dobriyansource "fs/hfs/Kconfig"
161b08bac1fSAlexey Dobriyansource "fs/hfsplus/Kconfig"
1620b09eb32SAlexey Dobriyansource "fs/befs/Kconfig"
1630ff42384SAlexey Dobriyansource "fs/bfs/Kconfig"
164571f0a0bSAlexey Dobriyansource "fs/efs/Kconfig"
16531db6e9eSAlexey Dobriyansource "fs/jffs2/Kconfig"
1660d7eff87SArtem Bityutskiy# UBIFS File system configuration
1670d7eff87SArtem Bityutskiysource "fs/ubifs/Kconfig"
1682a22783bSAlexey Dobriyansource "fs/cramfs/Kconfig"
16922635ec9SAlexey Dobriyansource "fs/squashfs/Kconfig"
17022135169SAlexey Dobriyansource "fs/freevxfs/Kconfig"
1718b1cd7d3SAlexey Dobriyansource "fs/minix/Kconfig"
172da55e6f9SAlexey Dobriyansource "fs/omfs/Kconfig"
173928ea192SAlexey Dobriyansource "fs/hpfs/Kconfig"
1744c741583SAlexey Dobriyansource "fs/qnx4/Kconfig"
17541810246SAlexey Dobriyansource "fs/romfs/Kconfig"
1768af915baSAlexey Dobriyansource "fs/sysv/Kconfig"
177a276a52fSAlexey Dobriyansource "fs/ufs/Kconfig"
1780d8fe329SBoaz Harroshsource "fs/exofs/Kconfig"
1790d8fe329SBoaz Harrosh
180*0c4fb877SRyusuke Konishiconfig NILFS2_FS
181*0c4fb877SRyusuke Konishi	tristate "NILFS2 file system support (EXPERIMENTAL)"
182*0c4fb877SRyusuke Konishi	depends on BLOCK && EXPERIMENTAL
183*0c4fb877SRyusuke Konishi	select CRC32
184*0c4fb877SRyusuke Konishi	help
185*0c4fb877SRyusuke Konishi	  NILFS2 is a log-structured file system (LFS) supporting continuous
186*0c4fb877SRyusuke Konishi	  snapshotting.  In addition to versioning capability of the entire
187*0c4fb877SRyusuke Konishi	  file system, users can even restore files mistakenly overwritten or
188*0c4fb877SRyusuke Konishi	  destroyed just a few seconds ago.  Since this file system can keep
189*0c4fb877SRyusuke Konishi	  consistency like conventional LFS, it achieves quick recovery after
190*0c4fb877SRyusuke Konishi	  system crashes.
191*0c4fb877SRyusuke Konishi
192*0c4fb877SRyusuke Konishi	  NILFS2 creates a number of checkpoints every few seconds or per
193*0c4fb877SRyusuke Konishi	  synchronous write basis (unless there is no change).  Users can
194*0c4fb877SRyusuke Konishi	  select significant versions among continuously created checkpoints,
195*0c4fb877SRyusuke Konishi	  and can change them into snapshots which will be preserved for long
196*0c4fb877SRyusuke Konishi	  periods until they are changed back to checkpoints.  Each
197*0c4fb877SRyusuke Konishi	  snapshot is mountable as a read-only file system concurrently with
198*0c4fb877SRyusuke Konishi	  its writable mount, and this feature is convenient for online backup.
199*0c4fb877SRyusuke Konishi
200*0c4fb877SRyusuke Konishi	  Some features including atime, extended attributes, and POSIX ACLs,
201*0c4fb877SRyusuke Konishi	  are not supported yet.
202*0c4fb877SRyusuke Konishi
203*0c4fb877SRyusuke Konishi	  To compile this file system support as a module, choose M here: the
204*0c4fb877SRyusuke Konishi	  module will be called nilfs2.  If unsure, say N.
205*0c4fb877SRyusuke Konishi
20667ec7d3aSRandy Dunlapendif # MISC_FILESYSTEMS
2071da177e4SLinus Torvalds
208ea0985adSJan Engelhardtmenuconfig NETWORK_FILESYSTEMS
209ea0985adSJan Engelhardt	bool "Network File Systems"
210ea0985adSJan Engelhardt	default y
2111da177e4SLinus Torvalds	depends on NET
212ea0985adSJan Engelhardt	---help---
213ea0985adSJan Engelhardt	  Say Y here to get to see options for network filesystems and
214ea0985adSJan Engelhardt	  filesystem-related networking code, such as NFS daemon and
215ea0985adSJan Engelhardt	  RPCSEC security modules.
2166fb1bc10SChuck Lever
217ea0985adSJan Engelhardt	  This option alone does not add any kernel code.
218ea0985adSJan Engelhardt
219ea0985adSJan Engelhardt	  If you say N, all options in this submenu will be skipped and
220ea0985adSJan Engelhardt	  disabled; if unsure, say Y here.
221ea0985adSJan Engelhardt
222ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS
2231da177e4SLinus Torvalds
22497afe47aSAlexey Dobriyansource "fs/nfs/Kconfig"
225e2b329e2SAlexey Dobriyansource "fs/nfsd/Kconfig"
2261da177e4SLinus Torvalds
2271da177e4SLinus Torvaldsconfig LOCKD
2281da177e4SLinus Torvalds	tristate
2291da177e4SLinus Torvalds
2301da177e4SLinus Torvaldsconfig LOCKD_V4
2311da177e4SLinus Torvalds	bool
2321da177e4SLinus Torvalds	depends on NFSD_V3 || NFS_V3
2331da177e4SLinus Torvalds	default y
2341da177e4SLinus Torvalds
2351da177e4SLinus Torvaldsconfig EXPORTFS
2361da177e4SLinus Torvalds	tristate
2371da177e4SLinus Torvalds
238a257cdd0SAndreas Gruenbacherconfig NFS_ACL_SUPPORT
239a257cdd0SAndreas Gruenbacher	tristate
240a257cdd0SAndreas Gruenbacher	select FS_POSIX_ACL
241a257cdd0SAndreas Gruenbacher
242a257cdd0SAndreas Gruenbacherconfig NFS_COMMON
243a257cdd0SAndreas Gruenbacher	bool
244a257cdd0SAndreas Gruenbacher	depends on NFSD || NFS_FS
245a257cdd0SAndreas Gruenbacher	default y
246a257cdd0SAndreas Gruenbacher
2479098c24fSAlexey Dobriyansource "net/sunrpc/Kconfig"
248213a41d4SAlexey Dobriyansource "fs/smbfs/Kconfig"
249bb26b963SAlexey Dobriyansource "fs/cifs/Kconfig"
2501da177e4SLinus Torvaldssource "fs/ncpfs/Kconfig"
25133a1a6feSAlexey Dobriyansource "fs/coda/Kconfig"
252b2480c7fSAlexey Dobriyansource "fs/afs/Kconfig"
2530fcb4408SAlexey Dobriyansource "fs/9p/Kconfig"
25493fa58cbSEric Van Hensbergen
255ea0985adSJan Engelhardtendif # NETWORK_FILESYSTEMS
2561da177e4SLinus Torvalds
2579361401eSDavid Howellsif BLOCK
2581da177e4SLinus Torvaldsmenu "Partition Types"
2591da177e4SLinus Torvalds
2601da177e4SLinus Torvaldssource "fs/partitions/Kconfig"
2611da177e4SLinus Torvalds
2621da177e4SLinus Torvaldsendmenu
2639361401eSDavid Howellsendif
2641da177e4SLinus Torvalds
2651da177e4SLinus Torvaldssource "fs/nls/Kconfig"
266e7fd4179SDavid Teiglandsource "fs/dlm/Kconfig"
2671da177e4SLinus Torvalds
2681da177e4SLinus Torvaldsendmenu
269