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