xref: /openbmc/linux/fs/Kconfig (revision fd589a8f)
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	help
113	  Tmpfs is a file system which keeps all files in virtual memory.
114
115	  Everything in tmpfs is temporary in the sense that no files will be
116	  created on your hard drive. The files live in memory and swap
117	  space. If you unmount a tmpfs instance, everything stored therein is
118	  lost.
119
120	  See <file:Documentation/filesystems/tmpfs.txt> for details.
121
122config TMPFS_POSIX_ACL
123	bool "Tmpfs POSIX Access Control Lists"
124	depends on TMPFS
125	select GENERIC_ACL
126	help
127	  POSIX Access Control Lists (ACLs) support permissions for users and
128	  groups beyond the owner/group/world scheme.
129
130	  To learn more about Access Control Lists, visit the POSIX ACLs for
131	  Linux website <http://acl.bestbits.at/>.
132
133	  If you don't know what Access Control Lists are, say N.
134
135config HUGETLBFS
136	bool "HugeTLB file system support"
137	depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
138		   (S390 && 64BIT) || SYS_SUPPORTS_HUGETLBFS || BROKEN
139	help
140	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
141	  ramfs. For architectures that support it, say Y here and read
142	  <file:Documentation/vm/hugetlbpage.txt> for details.
143
144	  If unsure, say N.
145
146config HUGETLB_PAGE
147	def_bool HUGETLBFS
148
149source "fs/configfs/Kconfig"
150
151endmenu
152
153menuconfig MISC_FILESYSTEMS
154	bool "Miscellaneous filesystems"
155	default y
156	---help---
157	  Say Y here to get to see options for various miscellaneous
158	  filesystems, such as filesystems that came from other
159	  operating systems.
160
161	  This option alone does not add any kernel code.
162
163	  If you say N, all options in this submenu will be skipped and
164	  disabled; if unsure, say Y here.
165
166if MISC_FILESYSTEMS
167
168source "fs/adfs/Kconfig"
169source "fs/affs/Kconfig"
170source "fs/ecryptfs/Kconfig"
171source "fs/hfs/Kconfig"
172source "fs/hfsplus/Kconfig"
173source "fs/befs/Kconfig"
174source "fs/bfs/Kconfig"
175source "fs/efs/Kconfig"
176source "fs/jffs2/Kconfig"
177# UBIFS File system configuration
178source "fs/ubifs/Kconfig"
179source "fs/cramfs/Kconfig"
180source "fs/squashfs/Kconfig"
181source "fs/freevxfs/Kconfig"
182source "fs/minix/Kconfig"
183source "fs/omfs/Kconfig"
184source "fs/hpfs/Kconfig"
185source "fs/qnx4/Kconfig"
186source "fs/romfs/Kconfig"
187source "fs/sysv/Kconfig"
188source "fs/ufs/Kconfig"
189source "fs/exofs/Kconfig"
190
191endif # MISC_FILESYSTEMS
192
193menuconfig NETWORK_FILESYSTEMS
194	bool "Network File Systems"
195	default y
196	depends on NET
197	---help---
198	  Say Y here to get to see options for network filesystems and
199	  filesystem-related networking code, such as NFS daemon and
200	  RPCSEC security modules.
201
202	  This option alone does not add any kernel code.
203
204	  If you say N, all options in this submenu will be skipped and
205	  disabled; if unsure, say Y here.
206
207if NETWORK_FILESYSTEMS
208
209source "fs/nfs/Kconfig"
210source "fs/nfsd/Kconfig"
211
212config LOCKD
213	tristate
214	depends on FILE_LOCKING
215
216config LOCKD_V4
217	bool
218	depends on NFSD_V3 || NFS_V3
219	depends on FILE_LOCKING
220	default y
221
222config EXPORTFS
223	tristate
224
225config NFS_ACL_SUPPORT
226	tristate
227	select FS_POSIX_ACL
228
229config NFS_COMMON
230	bool
231	depends on NFSD || NFS_FS
232	default y
233
234source "net/sunrpc/Kconfig"
235source "fs/smbfs/Kconfig"
236source "fs/cifs/Kconfig"
237source "fs/ncpfs/Kconfig"
238source "fs/coda/Kconfig"
239source "fs/afs/Kconfig"
240source "fs/9p/Kconfig"
241
242endif # NETWORK_FILESYSTEMS
243
244if BLOCK
245menu "Partition Types"
246
247source "fs/partitions/Kconfig"
248
249endmenu
250endif
251
252source "fs/nls/Kconfig"
253source "fs/dlm/Kconfig"
254
255endmenu
256