xref: /openbmc/linux/fs/Kconfig (revision acc6a093)
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/logfs/Kconfig"
181source "fs/cramfs/Kconfig"
182source "fs/squashfs/Kconfig"
183source "fs/freevxfs/Kconfig"
184source "fs/minix/Kconfig"
185source "fs/omfs/Kconfig"
186source "fs/hpfs/Kconfig"
187source "fs/qnx4/Kconfig"
188source "fs/romfs/Kconfig"
189source "fs/sysv/Kconfig"
190source "fs/ufs/Kconfig"
191source "fs/exofs/Kconfig"
192
193endif # MISC_FILESYSTEMS
194
195menuconfig NETWORK_FILESYSTEMS
196	bool "Network File Systems"
197	default y
198	depends on NET
199	---help---
200	  Say Y here to get to see options for network filesystems and
201	  filesystem-related networking code, such as NFS daemon and
202	  RPCSEC security modules.
203
204	  This option alone does not add any kernel code.
205
206	  If you say N, all options in this submenu will be skipped and
207	  disabled; if unsure, say Y here.
208
209if NETWORK_FILESYSTEMS
210
211source "fs/nfs/Kconfig"
212source "fs/nfsd/Kconfig"
213
214config LOCKD
215	tristate
216	depends on FILE_LOCKING
217
218config LOCKD_V4
219	bool
220	depends on NFSD_V3 || NFS_V3
221	depends on FILE_LOCKING
222	default y
223
224config EXPORTFS
225	tristate
226
227config NFS_ACL_SUPPORT
228	tristate
229	select FS_POSIX_ACL
230
231config NFS_COMMON
232	bool
233	depends on NFSD || NFS_FS
234	default y
235
236source "net/sunrpc/Kconfig"
237source "fs/smbfs/Kconfig"
238source "fs/cifs/Kconfig"
239source "fs/ncpfs/Kconfig"
240source "fs/coda/Kconfig"
241source "fs/afs/Kconfig"
242source "fs/9p/Kconfig"
243
244endif # NETWORK_FILESYSTEMS
245
246if BLOCK
247menu "Partition Types"
248
249source "fs/partitions/Kconfig"
250
251endmenu
252endif
253
254source "fs/nls/Kconfig"
255source "fs/dlm/Kconfig"
256
257endmenu
258