source: src/linux/universal/linux-3.2/fs/Kconfig @ 18171

Last change on this file since 18171 was 18171, checked in by BrainSlayer, 17 months ago

this kernel will be maintained for all targets, so target specific kernel trees will not be neccessary anymore in future

File size: 8.0 KB
Line 
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
33source "fs/xfs/Kconfig"
34source "fs/gfs2/Kconfig"
35source "fs/ocfs2/Kconfig"
36source "fs/btrfs/Kconfig"
37source "fs/nilfs2/Kconfig"
38
39endif # BLOCK
40
41# Posix ACL utility routines
42#
43# Note: Posix ACLs can be implemented without these helpers.  Never use
44# this symbol for ifdefs in core code.
45#
46config FS_POSIX_ACL
47        def_bool n
48
49config EXPORTFS
50        tristate
51
52config FILE_LOCKING
53        bool "Enable POSIX file locking API" if EXPERT
54        default y
55        help
56          This option enables standard file locking support, required
57          for filesystems like NFS and for the flock() system
58          call. Disabling this option saves about 11k.
59
60source "fs/notify/Kconfig"
61
62source "fs/quota/Kconfig"
63
64source "fs/autofs4/Kconfig"
65source "fs/fuse/Kconfig"
66source "fs/overlayfs/Kconfig"
67
68config CUSE
69        tristate "Character device in Userspace support"
70        depends on FUSE_FS
71        help
72          This FUSE extension allows character devices to be
73          implemented in userspace.
74
75          If you want to develop or use userspace character device
76          based on CUSE, answer Y or M.
77
78config GENERIC_ACL
79        bool
80        select FS_POSIX_ACL
81
82menu "Caches"
83
84source "fs/fscache/Kconfig"
85source "fs/cachefiles/Kconfig"
86
87endmenu
88
89if BLOCK
90menu "CD-ROM/DVD Filesystems"
91
92source "fs/isofs/Kconfig"
93source "fs/udf/Kconfig"
94
95endmenu
96endif # BLOCK
97
98if BLOCK
99menu "DOS/FAT/NT Filesystems"
100
101source "fs/fat/Kconfig"
102source "fs/ntfs/Kconfig"
103
104endmenu
105endif # BLOCK
106
107menu "Pseudo filesystems"
108
109source "fs/proc/Kconfig"
110source "fs/sysfs/Kconfig"
111
112config TMPFS
113        bool "Tmpfs virtual memory file system support (former shm fs)"
114        depends on SHMEM
115        help
116          Tmpfs is a file system which keeps all files in virtual memory.
117
118          Everything in tmpfs is temporary in the sense that no files will be
119          created on your hard drive. The files live in memory and swap
120          space. If you unmount a tmpfs instance, everything stored therein is
121          lost.
122
123          See <file:Documentation/filesystems/tmpfs.txt> for details.
124
125config TMPFS_XATTR
126        bool "Tmpfs extended attributes"
127        depends on TMPFS
128        default n
129        help
130          Extended attributes are name:value pairs associated with inodes by
131          the kernel or by users (see the attr(5) manual page, or visit
132          <http://acl.bestbits.at/> for details).
133
134          Currently this enables support for the trusted.* and
135          security.* namespaces.
136
137          You need this for POSIX ACL support on tmpfs.
138
139          If unsure, say N.
140
141
142config HUGETLBFS
143        bool "HugeTLB file system support"
144        depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
145                   SYS_SUPPORTS_HUGETLBFS || BROKEN
146        help
147          hugetlbfs is a filesystem backing for HugeTLB pages, based on
148          ramfs. For architectures that support it, say Y here and read
149          <file:Documentation/vm/hugetlbpage.txt> for details.
150
151          If unsure, say N.
152
153config HUGETLB_PAGE
154        def_bool HUGETLBFS
155
156source "fs/configfs/Kconfig"
157
158endmenu
159
160menuconfig MISC_FILESYSTEMS
161        bool "Miscellaneous filesystems"
162        default y
163        ---help---
164          Say Y here to get to see options for various miscellaneous
165          filesystems, such as filesystems that came from other
166          operating systems.
167
168          This option alone does not add any kernel code.
169
170          If you say N, all options in this submenu will be skipped and
171          disabled; if unsure, say Y here.
172
173if MISC_FILESYSTEMS
174
175source "fs/adfs/Kconfig"
176source "fs/affs/Kconfig"
177source "fs/ecryptfs/Kconfig"
178source "fs/hfs/Kconfig"
179source "fs/hfsplus/Kconfig"
180source "fs/befs/Kconfig"
181source "fs/bfs/Kconfig"
182source "fs/efs/Kconfig"
183
184# Patched by YAFFS
185source "fs/yaffs2/Kconfig"
186
187source "fs/jffs2/Kconfig"
188# UBIFS File system configuration
189source "fs/ubifs/Kconfig"
190source "fs/logfs/Kconfig"
191source "fs/cramfs/Kconfig"
192
193config SQUASHFS
194        tristate "SquashFS 3.0 - Squashed file system support"
195        select ZLIB_INFLATE
196        help
197          Saying Y here includes support for SquashFS 3.0 (a Compressed Read-Only File
198          System).  Squashfs is a highly compressed read-only filesystem for Linux.
199          It uses zlib compression to compress both files, inodes and directories.
200          Inodes in the system are very small and all blocks are packed to minimise
201          data overhead. Block sizes greater than 4K are supported up to a maximum of 64K.
202          SquashFS 3.0 supports 64 bit filesystems and files (larger than 4GB), full
203          uid/gid information, hard links and timestamps.
204
205          Squashfs is intended for general read-only filesystem use, for archival
206          use (i.e. in cases where a .tar.gz file may be used), and in embedded
207          systems where low overhead is needed.  Further information and filesystem tools
208          are available from http://squashfs.sourceforge.net.
209
210          If you want to compile this as a module ( = code which can be
211          inserted in and removed from the running kernel whenever you want),
212          say M here and read <file:Documentation/modules.txt>.  The module
213          will be called squashfs.  Note that the root file system (the one
214          containing the directory /) cannot be compiled as a module.
215
216          If unsure, say N.
217
218config SQUASHFS_EMBEDDED
219
220        bool "Additional options for memory-constrained systems"
221        depends on SQUASHFS
222        default n
223        help
224          Saying Y here allows you to specify cache sizes and how Squashfs
225          allocates memory.  This is only intended for memory constrained
226          systems.
227
228          If unsure, say N.
229
230config SQUASHFS_FRAGMENT_CACHE_SIZE
231        int "Number of fragments cached" if SQUASHFS_EMBEDDED
232        depends on SQUASHFS
233        default "3"
234        help
235          By default SquashFS caches the last 3 fragments read from
236          the filesystem.  Increasing this amount may mean SquashFS
237          has to re-read fragments less often from disk, at the expense
238          of extra system memory.  Decreasing this amount will mean
239          SquashFS uses less memory at the expense of extra reads from disk.
240
241          Note there must be at least one cached fragment.  Anything
242          much more than three will probably not make much difference.
243
244config SQUASHFS_VMALLOC
245        bool "Use Vmalloc rather than Kmalloc" if SQUASHFS_EMBEDDED
246        depends on SQUASHFS
247        default n
248        help
249          By default SquashFS uses kmalloc to obtain fragment cache memory.
250          Kmalloc memory is the standard kernel allocator, but it can fail
251          on memory constrained systems.  Because of the way Vmalloc works,
252          Vmalloc can succeed when kmalloc fails.  Specifying this option
253          will make SquashFS always use Vmalloc to allocate the
254          fragment cache memory.
255
256          If unsure, say N.
257
258
259#source "fs/squashfs/Kconfig"
260source "fs/freevxfs/Kconfig"
261source "fs/minix/Kconfig"
262source "fs/omfs/Kconfig"
263source "fs/hpfs/Kconfig"
264source "fs/qnx4/Kconfig"
265source "fs/romfs/Kconfig"
266source "fs/pstore/Kconfig"
267source "fs/sysv/Kconfig"
268source "fs/ufs/Kconfig"
269source "fs/exofs/Kconfig"
270
271endif # MISC_FILESYSTEMS
272
273source "fs/exofs/Kconfig.ore"
274
275menuconfig NETWORK_FILESYSTEMS
276        bool "Network File Systems"
277        default y
278        depends on NET
279        ---help---
280          Say Y here to get to see options for network filesystems and
281          filesystem-related networking code, such as NFS daemon and
282          RPCSEC security modules.
283
284          This option alone does not add any kernel code.
285
286          If you say N, all options in this submenu will be skipped and
287          disabled; if unsure, say Y here.
288
289if NETWORK_FILESYSTEMS
290
291source "fs/nfs/Kconfig"
292source "fs/nfsd/Kconfig"
293
294config LOCKD
295        tristate
296        depends on FILE_LOCKING
297
298config LOCKD_V4
299        bool
300        depends on NFSD_V3 || NFS_V3
301        depends on FILE_LOCKING
302        default y
303
304config NFS_ACL_SUPPORT
305        tristate
306        select FS_POSIX_ACL
307
308config NFS_COMMON
309        bool
310        depends on NFSD || NFS_FS
311        default y
312
313source "net/sunrpc/Kconfig"
314source "fs/ceph/Kconfig"
315source "fs/cifs/Kconfig"
316source "fs/ncpfs/Kconfig"
317source "fs/coda/Kconfig"
318source "fs/afs/Kconfig"
319source "fs/9p/Kconfig"
320
321endif # NETWORK_FILESYSTEMS
322
323if BLOCK
324menu "Partition Types"
325
326source "fs/partitions/Kconfig"
327
328endmenu
329endif
330
331source "fs/nls/Kconfig"
332source "fs/dlm/Kconfig"
333
334endmenu
Note: See TracBrowser for help on using the repository browser.