Kconfig 6.04 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3 4 5 6
#
# File system configuration
#

menu "File systems"

7 8 9 10
# Use unaligned word dcache accesses
config DCACHE_WORD_ACCESS
       bool

11 12
if BLOCK

13 14 15
source "fs/ext2/Kconfig"
source "fs/ext3/Kconfig"
source "fs/ext4/Kconfig"
16 17 18 19 20 21 22

config FS_XIP
# execute in place
	bool
	depends on EXT2_FS_XIP
	default y

23 24
source "fs/jbd/Kconfig"
source "fs/jbd2/Kconfig"
25

Linus Torvalds's avatar
Linus Torvalds committed
26
config FS_MBCACHE
27
# Meta block cache for Extended Attributes (ext2/ext3/ext4)
Linus Torvalds's avatar
Linus Torvalds committed
28
	tristate
29 30
	default y if EXT2_FS=y && EXT2_FS_XATTR
	default y if EXT3_FS=y && EXT3_FS_XATTR
Tao Ma's avatar
Tao Ma committed
31 32
	default y if EXT4_FS=y
	default m if EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS
Linus Torvalds's avatar
Linus Torvalds committed
33

34
source "fs/reiserfs/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
35
source "fs/jfs/Kconfig"
Linus Torvalds's avatar
Linus Torvalds committed
36

37 38 39 40
source "fs/xfs/Kconfig"
source "fs/gfs2/Kconfig"
source "fs/ocfs2/Kconfig"
source "fs/btrfs/Kconfig"
41
source "fs/nilfs2/Kconfig"
42 43 44

endif # BLOCK

45 46 47 48 49 50 51 52
# Posix ACL utility routines
#
# Note: Posix ACLs can be implemented without these helpers.  Never use
# this symbol for ifdefs in core code.
#
config FS_POSIX_ACL
	def_bool n

53
config EXPORTFS
54
	tristate
55

56
config FILE_LOCKING
57
	bool "Enable POSIX file locking API" if EXPERT
58 59 60 61 62 63
	default y
	help
	  This option enables standard file locking support, required
          for filesystems like NFS and for the flock() system
          call. Disabling this option saves about 11k.

64
source "fs/notify/Kconfig"
Robert Love's avatar
Robert Love committed
65

66
source "fs/quota/Kconfig"
Linus Torvalds's avatar
Linus Torvalds committed
67

68
source "fs/autofs4/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
69
source "fs/fuse/Kconfig"
Miklos Szeredi's avatar
Miklos Szeredi committed
70
source "fs/overlayfs/Kconfig"
71

72 73 74
menu "Caches"

source "fs/fscache/Kconfig"
75
source "fs/cachefiles/Kconfig"
76 77 78

endmenu

79
if BLOCK
Linus Torvalds's avatar
Linus Torvalds committed
80 81
menu "CD-ROM/DVD Filesystems"

82 83
source "fs/isofs/Kconfig"
source "fs/udf/Kconfig"
Linus Torvalds's avatar
Linus Torvalds committed
84 85

endmenu
Randy Dunlap's avatar
Randy Dunlap committed
86
endif # BLOCK
Linus Torvalds's avatar
Linus Torvalds committed
87

88
if BLOCK
Linus Torvalds's avatar
Linus Torvalds committed
89 90
menu "DOS/FAT/NT Filesystems"

Alexey Dobriyan's avatar
Alexey Dobriyan committed
91
source "fs/fat/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
92
source "fs/ntfs/Kconfig"
Linus Torvalds's avatar
Linus Torvalds committed
93 94

endmenu
Randy Dunlap's avatar
Randy Dunlap committed
95
endif # BLOCK
Linus Torvalds's avatar
Linus Torvalds committed
96 97 98

menu "Pseudo filesystems"

99
source "fs/proc/Kconfig"
Tejun Heo's avatar
Tejun Heo committed
100
source "fs/kernfs/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
101
source "fs/sysfs/Kconfig"
Linus Torvalds's avatar
Linus Torvalds committed
102 103

config TMPFS
104
	bool "Tmpfs virtual memory file system support (former shm fs)"
Hugh Dickins's avatar
Hugh Dickins committed
105
	depends on SHMEM
Linus Torvalds's avatar
Linus Torvalds committed
106 107 108 109 110 111 112 113 114 115
	help
	  Tmpfs is a file system which keeps all files in virtual memory.

	  Everything in tmpfs is temporary in the sense that no files will be
	  created on your hard drive. The files live in memory and swap
	  space. If you unmount a tmpfs instance, everything stored therein is
	  lost.

	  See <file:Documentation/filesystems/tmpfs.txt> for details.

116 117 118 119
config TMPFS_POSIX_ACL
	bool "Tmpfs POSIX Access Control Lists"
	depends on TMPFS
	select TMPFS_XATTR
Christoph Hellwig's avatar
Christoph Hellwig committed
120
	select FS_POSIX_ACL
121
	help
122 123 124 125 126 127 128 129 130 131 132
	  POSIX Access Control Lists (ACLs) support additional access rights
	  for users and groups beyond the standard owner/group/world scheme,
	  and this option selects support for ACLs specifically for tmpfs
	  filesystems.

	  If you've selected TMPFS, it's possible that you'll also need
	  this option as there are a number of Linux distros that require
	  POSIX ACL support under /dev for certain features to work properly.
	  For example, some distros need this feature for ALSA-related /dev
	  files for sound to work properly.  In short, if you're not sure,
	  say Y.
133 134 135 136

	  To learn more about Access Control Lists, visit the POSIX ACLs for
	  Linux website <http://acl.bestbits.at/>.

137 138 139 140 141 142 143 144 145 146 147 148 149 150
config TMPFS_XATTR
	bool "Tmpfs extended attributes"
	depends on TMPFS
	default n
	help
	  Extended attributes are name:value pairs associated with inodes by
	  the kernel or by users (see the attr(5) manual page, or visit
	  <http://acl.bestbits.at/> for details).

	  Currently this enables support for the trusted.* and
	  security.* namespaces.

	  You need this for POSIX ACL support on tmpfs.

151
	  If unsure, say N.
152

Linus Torvalds's avatar
Linus Torvalds committed
153 154
config HUGETLBFS
	bool "HugeTLB file system support"
155
	depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
156
		   SYS_SUPPORTS_HUGETLBFS || BROKEN
157 158 159 160 161 162
	help
	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
	  ramfs. For architectures that support it, say Y here and read
	  <file:Documentation/vm/hugetlbpage.txt> for details.

	  If unsure, say N.
Linus Torvalds's avatar
Linus Torvalds committed
163 164 165 166

config HUGETLB_PAGE
	def_bool HUGETLBFS

167
source "fs/configfs/Kconfig"
168
source "fs/efivarfs/Kconfig"
169

Linus Torvalds's avatar
Linus Torvalds committed
170 171
endmenu

172 173 174 175 176 177 178 179 180 181 182 183 184 185
menuconfig MISC_FILESYSTEMS
	bool "Miscellaneous filesystems"
	default y
	---help---
	  Say Y here to get to see options for various miscellaneous
	  filesystems, such as filesystems that came from other
	  operating systems.

	  This option alone does not add any kernel code.

	  If you say N, all options in this submenu will be skipped and
	  disabled; if unsure, say Y here.

if MISC_FILESYSTEMS
Linus Torvalds's avatar
Linus Torvalds committed
186

Alexey Dobriyan's avatar
Alexey Dobriyan committed
187
source "fs/adfs/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
188
source "fs/affs/Kconfig"
189
source "fs/ecryptfs/Kconfig"
190 191
source "fs/hfs/Kconfig"
source "fs/hfsplus/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
192
source "fs/befs/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
193
source "fs/bfs/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
194
source "fs/efs/Kconfig"
195
source "fs/jffs2/Kconfig"
196 197
# UBIFS File system configuration
source "fs/ubifs/Kconfig"
198
source "fs/logfs/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
199
source "fs/cramfs/Kconfig"
200
source "fs/squashfs/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
201
source "fs/freevxfs/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
202
source "fs/minix/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
203
source "fs/omfs/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
204
source "fs/hpfs/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
205
source "fs/qnx4/Kconfig"
Kai Bankett's avatar
Kai Bankett committed
206
source "fs/qnx6/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
207
source "fs/romfs/Kconfig"
208
source "fs/pstore/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
209
source "fs/sysv/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
210
source "fs/ufs/Kconfig"
Boaz Harrosh's avatar
Boaz Harrosh committed
211
source "fs/exofs/Kconfig"
212
source "fs/f2fs/Kconfig"
213

214
endif # MISC_FILESYSTEMS
Linus Torvalds's avatar
Linus Torvalds committed
215

216 217
source "fs/exofs/Kconfig.ore"

218 219 220
menuconfig NETWORK_FILESYSTEMS
	bool "Network File Systems"
	default y
Linus Torvalds's avatar
Linus Torvalds committed
221
	depends on NET
222 223 224 225
	---help---
	  Say Y here to get to see options for network filesystems and
	  filesystem-related networking code, such as NFS daemon and
	  RPCSEC security modules.
226

227 228 229 230 231 232
	  This option alone does not add any kernel code.

	  If you say N, all options in this submenu will be skipped and
	  disabled; if unsure, say Y here.

if NETWORK_FILESYSTEMS
Linus Torvalds's avatar
Linus Torvalds committed
233

Alexey Dobriyan's avatar
Alexey Dobriyan committed
234
source "fs/nfs/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
235
source "fs/nfsd/Kconfig"
Linus Torvalds's avatar
Linus Torvalds committed
236

237 238 239
config GRACE_PERIOD
	tristate

Linus Torvalds's avatar
Linus Torvalds committed
240 241
config LOCKD
	tristate
242
	depends on FILE_LOCKING
243
	select GRACE_PERIOD
Linus Torvalds's avatar
Linus Torvalds committed
244 245 246 247

config LOCKD_V4
	bool
	depends on NFSD_V3 || NFS_V3
248
	depends on FILE_LOCKING
Linus Torvalds's avatar
Linus Torvalds committed
249 250
	default y

251 252 253 254 255 256
config NFS_ACL_SUPPORT
	tristate
	select FS_POSIX_ACL

config NFS_COMMON
	bool
257
	depends on NFSD || NFS_FS || LOCKD
258 259
	default y

Alexey Dobriyan's avatar
Alexey Dobriyan committed
260
source "net/sunrpc/Kconfig"
Sage Weil's avatar
Sage Weil committed
261
source "fs/ceph/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
262
source "fs/cifs/Kconfig"
Linus Torvalds's avatar
Linus Torvalds committed
263
source "fs/ncpfs/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
264
source "fs/coda/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
265
source "fs/afs/Kconfig"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
266
source "fs/9p/Kconfig"
267

268
endif # NETWORK_FILESYSTEMS
Linus Torvalds's avatar
Linus Torvalds committed
269 270

source "fs/nls/Kconfig"
271
source "fs/dlm/Kconfig"
Linus Torvalds's avatar
Linus Torvalds committed
272 273

endmenu