• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# File system configuration
3#
4
5menu "File systems"
6
7# Use unaligned word dcache accesses
8config DCACHE_WORD_ACCESS
9       bool
10
11if BLOCK
12
13source "fs/ext2/Kconfig"
14source "fs/ext3/Kconfig"
15source "fs/ext4/Kconfig"
16
17config FS_XIP
18# execute in place
19	bool
20	depends on EXT2_FS_XIP
21	default y
22
23source "fs/jbd/Kconfig"
24source "fs/jbd2/Kconfig"
25
26config FS_MBCACHE
27# Meta block cache for Extended Attributes (ext2/ext3/ext4)
28	tristate
29	default y if EXT2_FS=y && EXT2_FS_XATTR
30	default y if EXT3_FS=y && EXT3_FS_XATTR
31	default y if EXT4_FS=y
32	default m if EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS
33
34source "fs/reiserfs/Kconfig"
35source "fs/jfs/Kconfig"
36
37source "fs/xfs/Kconfig"
38source "fs/gfs2/Kconfig"
39source "fs/ocfs2/Kconfig"
40source "fs/btrfs/Kconfig"
41source "fs/nilfs2/Kconfig"
42
43endif # BLOCK
44
45# Posix ACL utility routines
46#
47# Note: Posix ACLs can be implemented without these helpers.  Never use
48# this symbol for ifdefs in core code.
49#
50config FS_POSIX_ACL
51	def_bool n
52
53config EXPORTFS
54	tristate
55
56config FILE_LOCKING
57	bool "Enable POSIX file locking API" if EXPERT
58	default y
59	help
60	  This option enables standard file locking support, required
61          for filesystems like NFS and for the flock() system
62          call. Disabling this option saves about 11k.
63
64source "fs/crypto/Kconfig"
65
66source "fs/notify/Kconfig"
67
68source "fs/quota/Kconfig"
69
70source "fs/autofs4/Kconfig"
71source "fs/fuse/Kconfig"
72source "fs/overlayfs/Kconfig"
73
74menu "Caches"
75
76source "fs/fscache/Kconfig"
77source "fs/cachefiles/Kconfig"
78
79endmenu
80
81if BLOCK
82menu "CD-ROM/DVD Filesystems"
83
84source "fs/isofs/Kconfig"
85source "fs/udf/Kconfig"
86
87endmenu
88endif # BLOCK
89
90if BLOCK
91menu "DOS/FAT/NT Filesystems"
92
93source "fs/fat/Kconfig"
94source "fs/ntfs/Kconfig"
95
96endmenu
97endif # BLOCK
98
99menu "Pseudo filesystems"
100
101source "fs/proc/Kconfig"
102source "fs/kernfs/Kconfig"
103source "fs/sysfs/Kconfig"
104
105config TMPFS
106	bool "Tmpfs virtual memory file system support (former shm fs)"
107	depends on SHMEM
108	help
109	  Tmpfs is a file system which keeps all files in virtual memory.
110
111	  Everything in tmpfs is temporary in the sense that no files will be
112	  created on your hard drive. The files live in memory and swap
113	  space. If you unmount a tmpfs instance, everything stored therein is
114	  lost.
115
116	  See <file:Documentation/filesystems/tmpfs.txt> for details.
117
118config TMPFS_POSIX_ACL
119	bool "Tmpfs POSIX Access Control Lists"
120	depends on TMPFS
121	select TMPFS_XATTR
122	select FS_POSIX_ACL
123	help
124	  POSIX Access Control Lists (ACLs) support additional access rights
125	  for users and groups beyond the standard owner/group/world scheme,
126	  and this option selects support for ACLs specifically for tmpfs
127	  filesystems.
128
129	  If you've selected TMPFS, it's possible that you'll also need
130	  this option as there are a number of Linux distros that require
131	  POSIX ACL support under /dev for certain features to work properly.
132	  For example, some distros need this feature for ALSA-related /dev
133	  files for sound to work properly.  In short, if you're not sure,
134	  say Y.
135
136	  To learn more about Access Control Lists, visit the POSIX ACLs for
137	  Linux website <http://acl.bestbits.at/>.
138
139config TMPFS_XATTR
140	bool "Tmpfs extended attributes"
141	depends on TMPFS
142	default n
143	help
144	  Extended attributes are name:value pairs associated with inodes by
145	  the kernel or by users (see the attr(5) manual page, or visit
146	  <http://acl.bestbits.at/> for details).
147
148	  Currently this enables support for the trusted.* and
149	  security.* namespaces.
150
151	  You need this for POSIX ACL support on tmpfs.
152
153	  If unsure, say N.
154
155config HUGETLBFS
156	bool "HugeTLB file system support"
157	depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
158		   SYS_SUPPORTS_HUGETLBFS || BROKEN
159	help
160	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
161	  ramfs. For architectures that support it, say Y here and read
162	  <file:Documentation/vm/hugetlbpage.txt> for details.
163
164	  If unsure, say N.
165
166config HUGETLB_PAGE
167	def_bool HUGETLBFS
168
169source "fs/configfs/Kconfig"
170
171endmenu
172
173menuconfig MISC_FILESYSTEMS
174	bool "Miscellaneous filesystems"
175	default y
176	---help---
177	  Say Y here to get to see options for various miscellaneous
178	  filesystems, such as filesystems that came from other
179	  operating systems.
180
181	  This option alone does not add any kernel code.
182
183	  If you say N, all options in this submenu will be skipped and
184	  disabled; if unsure, say Y here.
185
186if MISC_FILESYSTEMS
187
188source "fs/adfs/Kconfig"
189source "fs/affs/Kconfig"
190source "fs/ecryptfs/Kconfig"
191source "fs/sdcardfs/Kconfig"
192source "fs/hfs/Kconfig"
193source "fs/hfsplus/Kconfig"
194source "fs/befs/Kconfig"
195source "fs/bfs/Kconfig"
196source "fs/efs/Kconfig"
197source "fs/jffs2/Kconfig"
198# UBIFS File system configuration
199source "fs/ubifs/Kconfig"
200source "fs/logfs/Kconfig"
201source "fs/cramfs/Kconfig"
202source "fs/squashfs/Kconfig"
203source "fs/freevxfs/Kconfig"
204source "fs/minix/Kconfig"
205source "fs/omfs/Kconfig"
206source "fs/hpfs/Kconfig"
207source "fs/qnx4/Kconfig"
208source "fs/qnx6/Kconfig"
209source "fs/romfs/Kconfig"
210source "fs/pstore/Kconfig"
211source "fs/sysv/Kconfig"
212source "fs/ufs/Kconfig"
213source "fs/exofs/Kconfig"
214source "fs/f2fs/Kconfig"
215source "fs/efivarfs/Kconfig"
216
217endif # MISC_FILESYSTEMS
218
219source "fs/exofs/Kconfig.ore"
220
221menuconfig NETWORK_FILESYSTEMS
222	bool "Network File Systems"
223	default y
224	depends on NET
225	---help---
226	  Say Y here to get to see options for network filesystems and
227	  filesystem-related networking code, such as NFS daemon and
228	  RPCSEC security modules.
229
230	  This option alone does not add any kernel code.
231
232	  If you say N, all options in this submenu will be skipped and
233	  disabled; if unsure, say Y here.
234
235if NETWORK_FILESYSTEMS
236
237source "fs/nfs/Kconfig"
238source "fs/nfsd/Kconfig"
239
240config GRACE_PERIOD
241	tristate
242
243config LOCKD
244	tristate
245	depends on FILE_LOCKING
246	select GRACE_PERIOD
247
248config LOCKD_V4
249	bool
250	depends on NFSD_V3 || NFS_V3
251	depends on FILE_LOCKING
252	default y
253
254config NFS_ACL_SUPPORT
255	tristate
256	select FS_POSIX_ACL
257
258config NFS_COMMON
259	bool
260	depends on NFSD || NFS_FS || LOCKD
261	default y
262
263source "net/sunrpc/Kconfig"
264source "fs/ceph/Kconfig"
265source "fs/cifs/Kconfig"
266source "fs/ncpfs/Kconfig"
267source "fs/coda/Kconfig"
268source "fs/afs/Kconfig"
269source "fs/9p/Kconfig"
270
271endif # NETWORK_FILESYSTEMS
272
273source "fs/nls/Kconfig"
274source "fs/dlm/Kconfig"
275
276endmenu
277