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