xref: /linux/fs/Kconfig (revision 4fafd5b03875612a24a5b17dac0c63217a65de42)
1 #
2 # File system configuration
3 #
4 
5 menu "File systems"
6 
7 if BLOCK
8 
9 source "fs/ext2/Kconfig"
10 source "fs/ext3/Kconfig"
11 source "fs/ext4/Kconfig"
12 
13 config FS_XIP
14 # execute in place
15 	bool
16 	depends on EXT2_FS_XIP
17 	default y
18 
19 source "fs/jbd/Kconfig"
20 source "fs/jbd2/Kconfig"
21 
22 config 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 
30 source "fs/reiserfs/Kconfig"
31 source "fs/jfs/Kconfig"
32 
33 config 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 
42 config 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 
50 source "fs/xfs/Kconfig"
51 source "fs/gfs2/Kconfig"
52 source "fs/ocfs2/Kconfig"
53 source "fs/btrfs/Kconfig"
54 
55 endif # BLOCK
56 
57 source "fs/notify/Kconfig"
58 
59 config QUOTA
60 	bool "Quota support"
61 	help
62 	  If you say Y here, you will be able to set per user limits for disk
63 	  usage (also called disk quotas). Currently, it works for the
64 	  ext2, ext3, and reiserfs file system. ext3 also supports journalled
65 	  quotas for which you don't need to run quotacheck(8) after an unclean
66 	  shutdown.
67 	  For further details, read the Quota mini-HOWTO, available from
68 	  <http://www.tldp.org/docs.html#howto>, or the documentation provided
69 	  with the quota tools. Probably the quota support is only useful for
70 	  multi user systems. If unsure, say N.
71 
72 config QUOTA_NETLINK_INTERFACE
73 	bool "Report quota messages through netlink interface"
74 	depends on QUOTA && NET
75 	help
76 	  If you say Y here, quota warnings (about exceeding softlimit, reaching
77 	  hardlimit, etc.) will be reported through netlink interface. If unsure,
78 	  say Y.
79 
80 config PRINT_QUOTA_WARNING
81 	bool "Print quota warnings to console (OBSOLETE)"
82 	depends on QUOTA
83 	default y
84 	help
85 	  If you say Y here, quota warnings (about exceeding softlimit, reaching
86 	  hardlimit, etc.) will be printed to the process' controlling terminal.
87 	  Note that this behavior is currently deprecated and may go away in
88 	  future. Please use notification via netlink socket instead.
89 
90 # Generic support for tree structured quota files. Seleted when needed.
91 config QUOTA_TREE
92 	 tristate
93 
94 config QFMT_V1
95 	tristate "Old quota format support"
96 	depends on QUOTA
97 	help
98 	  This quota format was (is) used by kernels earlier than 2.4.22. If
99 	  you have quota working and you don't want to convert to new quota
100 	  format say Y here.
101 
102 config QFMT_V2
103 	tristate "Quota format v2 support"
104 	depends on QUOTA
105 	select QUOTA_TREE
106 	help
107 	  This quota format allows using quotas with 32-bit UIDs/GIDs. If you
108 	  need this functionality say Y here.
109 
110 config QUOTACTL
111 	bool
112 	depends on XFS_QUOTA || QUOTA
113 	default y
114 
115 source "fs/autofs/Kconfig"
116 source "fs/autofs4/Kconfig"
117 source "fs/fuse/Kconfig"
118 
119 config GENERIC_ACL
120 	bool
121 	select FS_POSIX_ACL
122 
123 if BLOCK
124 menu "CD-ROM/DVD Filesystems"
125 
126 source "fs/isofs/Kconfig"
127 source "fs/udf/Kconfig"
128 
129 endmenu
130 endif # BLOCK
131 
132 if BLOCK
133 menu "DOS/FAT/NT Filesystems"
134 
135 source "fs/fat/Kconfig"
136 source "fs/ntfs/Kconfig"
137 
138 endmenu
139 endif # BLOCK
140 
141 menu "Pseudo filesystems"
142 
143 source "fs/proc/Kconfig"
144 source "fs/sysfs/Kconfig"
145 
146 config TMPFS
147 	bool "Virtual memory file system support (former shm fs)"
148 	help
149 	  Tmpfs is a file system which keeps all files in virtual memory.
150 
151 	  Everything in tmpfs is temporary in the sense that no files will be
152 	  created on your hard drive. The files live in memory and swap
153 	  space. If you unmount a tmpfs instance, everything stored therein is
154 	  lost.
155 
156 	  See <file:Documentation/filesystems/tmpfs.txt> for details.
157 
158 config TMPFS_POSIX_ACL
159 	bool "Tmpfs POSIX Access Control Lists"
160 	depends on TMPFS
161 	select GENERIC_ACL
162 	help
163 	  POSIX Access Control Lists (ACLs) support permissions for users and
164 	  groups beyond the owner/group/world scheme.
165 
166 	  To learn more about Access Control Lists, visit the POSIX ACLs for
167 	  Linux website <http://acl.bestbits.at/>.
168 
169 	  If you don't know what Access Control Lists are, say N.
170 
171 config HUGETLBFS
172 	bool "HugeTLB file system support"
173 	depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
174 		   (S390 && 64BIT) || BROKEN
175 	help
176 	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
177 	  ramfs. For architectures that support it, say Y here and read
178 	  <file:Documentation/vm/hugetlbpage.txt> for details.
179 
180 	  If unsure, say N.
181 
182 config HUGETLB_PAGE
183 	def_bool HUGETLBFS
184 
185 source "fs/configfs/Kconfig"
186 
187 endmenu
188 
189 menuconfig MISC_FILESYSTEMS
190 	bool "Miscellaneous filesystems"
191 	default y
192 	---help---
193 	  Say Y here to get to see options for various miscellaneous
194 	  filesystems, such as filesystems that came from other
195 	  operating systems.
196 
197 	  This option alone does not add any kernel code.
198 
199 	  If you say N, all options in this submenu will be skipped and
200 	  disabled; if unsure, say Y here.
201 
202 if MISC_FILESYSTEMS
203 
204 source "fs/adfs/Kconfig"
205 source "fs/affs/Kconfig"
206 source "fs/ecryptfs/Kconfig"
207 source "fs/hfs/Kconfig"
208 source "fs/hfsplus/Kconfig"
209 source "fs/befs/Kconfig"
210 source "fs/bfs/Kconfig"
211 source "fs/efs/Kconfig"
212 source "fs/jffs2/Kconfig"
213 # UBIFS File system configuration
214 source "fs/ubifs/Kconfig"
215 source "fs/cramfs/Kconfig"
216 source "fs/squashfs/Kconfig"
217 source "fs/freevxfs/Kconfig"
218 source "fs/minix/Kconfig"
219 source "fs/omfs/Kconfig"
220 source "fs/hpfs/Kconfig"
221 source "fs/qnx4/Kconfig"
222 source "fs/romfs/Kconfig"
223 source "fs/sysv/Kconfig"
224 source "fs/ufs/Kconfig"
225 
226 endif # MISC_FILESYSTEMS
227 
228 menuconfig NETWORK_FILESYSTEMS
229 	bool "Network File Systems"
230 	default y
231 	depends on NET
232 	---help---
233 	  Say Y here to get to see options for network filesystems and
234 	  filesystem-related networking code, such as NFS daemon and
235 	  RPCSEC security modules.
236 
237 	  This option alone does not add any kernel code.
238 
239 	  If you say N, all options in this submenu will be skipped and
240 	  disabled; if unsure, say Y here.
241 
242 if NETWORK_FILESYSTEMS
243 
244 source "fs/nfs/Kconfig"
245 source "fs/nfsd/Kconfig"
246 
247 config LOCKD
248 	tristate
249 
250 config LOCKD_V4
251 	bool
252 	depends on NFSD_V3 || NFS_V3
253 	default y
254 
255 config EXPORTFS
256 	tristate
257 
258 config NFS_ACL_SUPPORT
259 	tristate
260 	select FS_POSIX_ACL
261 
262 config NFS_COMMON
263 	bool
264 	depends on NFSD || NFS_FS
265 	default y
266 
267 source "net/sunrpc/Kconfig"
268 source "fs/smbfs/Kconfig"
269 source "fs/cifs/Kconfig"
270 source "fs/ncpfs/Kconfig"
271 source "fs/coda/Kconfig"
272 source "fs/afs/Kconfig"
273 source "fs/9p/Kconfig"
274 
275 endif # NETWORK_FILESYSTEMS
276 
277 if BLOCK
278 menu "Partition Types"
279 
280 source "fs/partitions/Kconfig"
281 
282 endmenu
283 endif
284 
285 source "fs/nls/Kconfig"
286 source "fs/dlm/Kconfig"
287 
288 endmenu
289