xref: /openbmc/linux/fs/Kconfig (revision b8bb76713ec50df2f11efee386e16f93d51e1076)
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
42config FILE_LOCKING
43	bool "Enable POSIX file locking API" if EMBEDDED
44	default y
45	help
46	  This option enables standard file locking support, required
47          for filesystems like NFS and for the flock() system
48          call. Disabling this option saves about 11k.
49
50source "fs/xfs/Kconfig"
51source "fs/gfs2/Kconfig"
52source "fs/ocfs2/Kconfig"
53source "fs/btrfs/Kconfig"
54
55endif # BLOCK
56
57source "fs/notify/Kconfig"
58
59source "fs/quota/Kconfig"
60
61source "fs/autofs/Kconfig"
62source "fs/autofs4/Kconfig"
63source "fs/fuse/Kconfig"
64
65config GENERIC_ACL
66	bool
67	select FS_POSIX_ACL
68
69if BLOCK
70menu "CD-ROM/DVD Filesystems"
71
72source "fs/isofs/Kconfig"
73source "fs/udf/Kconfig"
74
75endmenu
76endif # BLOCK
77
78if BLOCK
79menu "DOS/FAT/NT Filesystems"
80
81source "fs/fat/Kconfig"
82source "fs/ntfs/Kconfig"
83
84endmenu
85endif # BLOCK
86
87menu "Pseudo filesystems"
88
89source "fs/proc/Kconfig"
90source "fs/sysfs/Kconfig"
91
92config TMPFS
93	bool "Virtual memory file system support (former shm fs)"
94	help
95	  Tmpfs is a file system which keeps all files in virtual memory.
96
97	  Everything in tmpfs is temporary in the sense that no files will be
98	  created on your hard drive. The files live in memory and swap
99	  space. If you unmount a tmpfs instance, everything stored therein is
100	  lost.
101
102	  See <file:Documentation/filesystems/tmpfs.txt> for details.
103
104config TMPFS_POSIX_ACL
105	bool "Tmpfs POSIX Access Control Lists"
106	depends on TMPFS
107	select GENERIC_ACL
108	help
109	  POSIX Access Control Lists (ACLs) support permissions for users and
110	  groups beyond the owner/group/world scheme.
111
112	  To learn more about Access Control Lists, visit the POSIX ACLs for
113	  Linux website <http://acl.bestbits.at/>.
114
115	  If you don't know what Access Control Lists are, say N.
116
117config HUGETLBFS
118	bool "HugeTLB file system support"
119	depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
120		   (S390 && 64BIT) || BROKEN
121	help
122	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
123	  ramfs. For architectures that support it, say Y here and read
124	  <file:Documentation/vm/hugetlbpage.txt> for details.
125
126	  If unsure, say N.
127
128config HUGETLB_PAGE
129	def_bool HUGETLBFS
130
131source "fs/configfs/Kconfig"
132
133endmenu
134
135menuconfig MISC_FILESYSTEMS
136	bool "Miscellaneous filesystems"
137	default y
138	---help---
139	  Say Y here to get to see options for various miscellaneous
140	  filesystems, such as filesystems that came from other
141	  operating systems.
142
143	  This option alone does not add any kernel code.
144
145	  If you say N, all options in this submenu will be skipped and
146	  disabled; if unsure, say Y here.
147
148if MISC_FILESYSTEMS
149
150source "fs/adfs/Kconfig"
151source "fs/affs/Kconfig"
152source "fs/ecryptfs/Kconfig"
153source "fs/hfs/Kconfig"
154source "fs/hfsplus/Kconfig"
155source "fs/befs/Kconfig"
156source "fs/bfs/Kconfig"
157source "fs/efs/Kconfig"
158source "fs/jffs2/Kconfig"
159# UBIFS File system configuration
160source "fs/ubifs/Kconfig"
161source "fs/cramfs/Kconfig"
162source "fs/squashfs/Kconfig"
163source "fs/freevxfs/Kconfig"
164source "fs/minix/Kconfig"
165source "fs/omfs/Kconfig"
166source "fs/hpfs/Kconfig"
167source "fs/qnx4/Kconfig"
168source "fs/romfs/Kconfig"
169source "fs/sysv/Kconfig"
170source "fs/ufs/Kconfig"
171
172endif # MISC_FILESYSTEMS
173
174menuconfig NETWORK_FILESYSTEMS
175	bool "Network File Systems"
176	default y
177	depends on NET
178	---help---
179	  Say Y here to get to see options for network filesystems and
180	  filesystem-related networking code, such as NFS daemon and
181	  RPCSEC security modules.
182
183	  This option alone does not add any kernel code.
184
185	  If you say N, all options in this submenu will be skipped and
186	  disabled; if unsure, say Y here.
187
188if NETWORK_FILESYSTEMS
189
190source "fs/nfs/Kconfig"
191source "fs/nfsd/Kconfig"
192
193config LOCKD
194	tristate
195
196config LOCKD_V4
197	bool
198	depends on NFSD_V3 || NFS_V3
199	default y
200
201config EXPORTFS
202	tristate
203
204config NFS_ACL_SUPPORT
205	tristate
206	select FS_POSIX_ACL
207
208config NFS_COMMON
209	bool
210	depends on NFSD || NFS_FS
211	default y
212
213source "net/sunrpc/Kconfig"
214source "fs/smbfs/Kconfig"
215source "fs/cifs/Kconfig"
216source "fs/ncpfs/Kconfig"
217source "fs/coda/Kconfig"
218source "fs/afs/Kconfig"
219source "fs/9p/Kconfig"
220
221endif # NETWORK_FILESYSTEMS
222
223if BLOCK
224menu "Partition Types"
225
226source "fs/partitions/Kconfig"
227
228endmenu
229endif
230
231source "fs/nls/Kconfig"
232source "fs/dlm/Kconfig"
233
234endmenu
235