xref: /openbmc/linux/fs/Kconfig (revision 94c7b6fc)
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/notify/Kconfig"
65
66source "fs/quota/Kconfig"
67
68source "fs/autofs4/Kconfig"
69source "fs/fuse/Kconfig"
70
71menu "Caches"
72
73source "fs/fscache/Kconfig"
74source "fs/cachefiles/Kconfig"
75
76endmenu
77
78if BLOCK
79menu "CD-ROM/DVD Filesystems"
80
81source "fs/isofs/Kconfig"
82source "fs/udf/Kconfig"
83
84endmenu
85endif # BLOCK
86
87if BLOCK
88menu "DOS/FAT/NT Filesystems"
89
90source "fs/fat/Kconfig"
91source "fs/ntfs/Kconfig"
92
93endmenu
94endif # BLOCK
95
96menu "Pseudo filesystems"
97
98source "fs/proc/Kconfig"
99source "fs/kernfs/Kconfig"
100source "fs/sysfs/Kconfig"
101
102config TMPFS
103	bool "Tmpfs virtual memory file system support (former shm fs)"
104	depends on SHMEM
105	help
106	  Tmpfs is a file system which keeps all files in virtual memory.
107
108	  Everything in tmpfs is temporary in the sense that no files will be
109	  created on your hard drive. The files live in memory and swap
110	  space. If you unmount a tmpfs instance, everything stored therein is
111	  lost.
112
113	  See <file:Documentation/filesystems/tmpfs.txt> for details.
114
115config TMPFS_POSIX_ACL
116	bool "Tmpfs POSIX Access Control Lists"
117	depends on TMPFS
118	select TMPFS_XATTR
119	select FS_POSIX_ACL
120	help
121	  POSIX Access Control Lists (ACLs) support additional access rights
122	  for users and groups beyond the standard owner/group/world scheme,
123	  and this option selects support for ACLs specifically for tmpfs
124	  filesystems.
125
126	  If you've selected TMPFS, it's possible that you'll also need
127	  this option as there are a number of Linux distros that require
128	  POSIX ACL support under /dev for certain features to work properly.
129	  For example, some distros need this feature for ALSA-related /dev
130	  files for sound to work properly.  In short, if you're not sure,
131	  say Y.
132
133	  To learn more about Access Control Lists, visit the POSIX ACLs for
134	  Linux website <http://acl.bestbits.at/>.
135
136config TMPFS_XATTR
137	bool "Tmpfs extended attributes"
138	depends on TMPFS
139	default n
140	help
141	  Extended attributes are name:value pairs associated with inodes by
142	  the kernel or by users (see the attr(5) manual page, or visit
143	  <http://acl.bestbits.at/> for details).
144
145	  Currently this enables support for the trusted.* and
146	  security.* namespaces.
147
148	  You need this for POSIX ACL support on tmpfs.
149
150	  If unsure, say N.
151
152config HUGETLBFS
153	bool "HugeTLB file system support"
154	depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
155		   SYS_SUPPORTS_HUGETLBFS || BROKEN
156	help
157	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
158	  ramfs. For architectures that support it, say Y here and read
159	  <file:Documentation/vm/hugetlbpage.txt> for details.
160
161	  If unsure, say N.
162
163config HUGETLB_PAGE
164	def_bool HUGETLBFS
165
166source "fs/configfs/Kconfig"
167
168endmenu
169
170menuconfig MISC_FILESYSTEMS
171	bool "Miscellaneous filesystems"
172	default y
173	---help---
174	  Say Y here to get to see options for various miscellaneous
175	  filesystems, such as filesystems that came from other
176	  operating systems.
177
178	  This option alone does not add any kernel code.
179
180	  If you say N, all options in this submenu will be skipped and
181	  disabled; if unsure, say Y here.
182
183if MISC_FILESYSTEMS
184
185source "fs/adfs/Kconfig"
186source "fs/affs/Kconfig"
187source "fs/ecryptfs/Kconfig"
188source "fs/hfs/Kconfig"
189source "fs/hfsplus/Kconfig"
190source "fs/befs/Kconfig"
191source "fs/bfs/Kconfig"
192source "fs/efs/Kconfig"
193source "fs/jffs2/Kconfig"
194# UBIFS File system configuration
195source "fs/ubifs/Kconfig"
196source "fs/logfs/Kconfig"
197source "fs/cramfs/Kconfig"
198source "fs/squashfs/Kconfig"
199source "fs/freevxfs/Kconfig"
200source "fs/minix/Kconfig"
201source "fs/omfs/Kconfig"
202source "fs/hpfs/Kconfig"
203source "fs/qnx4/Kconfig"
204source "fs/qnx6/Kconfig"
205source "fs/romfs/Kconfig"
206source "fs/pstore/Kconfig"
207source "fs/sysv/Kconfig"
208source "fs/ufs/Kconfig"
209source "fs/exofs/Kconfig"
210source "fs/f2fs/Kconfig"
211source "fs/efivarfs/Kconfig"
212
213endif # MISC_FILESYSTEMS
214
215source "fs/exofs/Kconfig.ore"
216
217menuconfig NETWORK_FILESYSTEMS
218	bool "Network File Systems"
219	default y
220	depends on NET
221	---help---
222	  Say Y here to get to see options for network filesystems and
223	  filesystem-related networking code, such as NFS daemon and
224	  RPCSEC security modules.
225
226	  This option alone does not add any kernel code.
227
228	  If you say N, all options in this submenu will be skipped and
229	  disabled; if unsure, say Y here.
230
231if NETWORK_FILESYSTEMS
232
233source "fs/nfs/Kconfig"
234source "fs/nfsd/Kconfig"
235
236config LOCKD
237	tristate
238	depends on FILE_LOCKING
239
240config LOCKD_V4
241	bool
242	depends on NFSD_V3 || NFS_V3
243	depends on FILE_LOCKING
244	default y
245
246config NFS_ACL_SUPPORT
247	tristate
248	select FS_POSIX_ACL
249
250config NFS_COMMON
251	bool
252	depends on NFSD || NFS_FS
253	default y
254
255source "net/sunrpc/Kconfig"
256source "fs/ceph/Kconfig"
257source "fs/cifs/Kconfig"
258source "fs/ncpfs/Kconfig"
259source "fs/coda/Kconfig"
260source "fs/afs/Kconfig"
261source "fs/9p/Kconfig"
262
263endif # NETWORK_FILESYSTEMS
264
265source "fs/nls/Kconfig"
266source "fs/dlm/Kconfig"
267
268endmenu
269