Kconfig 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. #
  2. # File system configuration
  3. #
  4. menu "File systems"
  5. # Use unaligned word dcache accesses
  6. config DCACHE_WORD_ACCESS
  7. bool
  8. # klaatu@sec
  9. config LOW_ORDER_SEQ_MALLOC
  10. bool "Let seq_file allocation only low order page memory"
  11. default y
  12. help
  13. Sometimes high-order allocation is requested via seq_file.
  14. This will cause system performance degradation.
  15. When high-order allocation is requested, change it to vmalloc.
  16. if BLOCK
  17. source "fs/ext2/Kconfig"
  18. source "fs/ext3/Kconfig"
  19. source "fs/ext4/Kconfig"
  20. config FS_XIP
  21. # execute in place
  22. bool
  23. depends on EXT2_FS_XIP
  24. default y
  25. source "fs/jbd/Kconfig"
  26. source "fs/jbd2/Kconfig"
  27. config FS_MBCACHE
  28. # Meta block cache for Extended Attributes (ext2/ext3/ext4)
  29. tristate
  30. default y if EXT2_FS=y && EXT2_FS_XATTR
  31. default y if EXT3_FS=y && EXT3_FS_XATTR
  32. default y if EXT4_FS=y && EXT4_FS_XATTR
  33. default m if EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS_XATTR
  34. source "fs/reiserfs/Kconfig"
  35. source "fs/jfs/Kconfig"
  36. source "fs/xfs/Kconfig"
  37. source "fs/gfs2/Kconfig"
  38. source "fs/ocfs2/Kconfig"
  39. source "fs/btrfs/Kconfig"
  40. source "fs/nilfs2/Kconfig"
  41. source "fs/f2fs/Kconfig"
  42. endif # BLOCK
  43. # Posix ACL utility routines
  44. #
  45. # Note: Posix ACLs can be implemented without these helpers. Never use
  46. # this symbol for ifdefs in core code.
  47. #
  48. config FS_POSIX_ACL
  49. def_bool n
  50. config EXPORTFS
  51. tristate
  52. config 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. source "fs/notify/Kconfig"
  60. source "fs/quota/Kconfig"
  61. source "fs/autofs4/Kconfig"
  62. source "fs/fuse/Kconfig"
  63. config CUSE
  64. tristate "Character device in Userspace support"
  65. depends on FUSE_FS
  66. help
  67. This FUSE extension allows character devices to be
  68. implemented in userspace.
  69. If you want to develop or use userspace character device
  70. based on CUSE, answer Y or M.
  71. config GENERIC_ACL
  72. bool
  73. select FS_POSIX_ACL
  74. menu "Caches"
  75. source "fs/fscache/Kconfig"
  76. source "fs/cachefiles/Kconfig"
  77. endmenu
  78. if BLOCK
  79. menu "CD-ROM/DVD Filesystems"
  80. source "fs/isofs/Kconfig"
  81. source "fs/udf/Kconfig"
  82. endmenu
  83. endif # BLOCK
  84. if BLOCK
  85. menu "DOS/FAT/NT Filesystems"
  86. source "fs/fat/Kconfig"
  87. source "fs/exfat/Kconfig"
  88. source "fs/ntfs/Kconfig"
  89. source "fs/sdfat/Kconfig"
  90. endmenu
  91. endif # BLOCK
  92. menu "Pseudo filesystems"
  93. source "fs/proc/Kconfig"
  94. source "fs/sysfs/Kconfig"
  95. config TMPFS
  96. bool "Tmpfs virtual memory file system support (former shm fs)"
  97. depends on SHMEM
  98. help
  99. Tmpfs is a file system which keeps all files in virtual memory.
  100. Everything in tmpfs is temporary in the sense that no files will be
  101. created on your hard drive. The files live in memory and swap
  102. space. If you unmount a tmpfs instance, everything stored therein is
  103. lost.
  104. See <file:Documentation/filesystems/tmpfs.txt> for details.
  105. config TMPFS_POSIX_ACL
  106. bool "Tmpfs POSIX Access Control Lists"
  107. depends on TMPFS
  108. select TMPFS_XATTR
  109. select GENERIC_ACL
  110. help
  111. POSIX Access Control Lists (ACLs) support additional access rights
  112. for users and groups beyond the standard owner/group/world scheme,
  113. and this option selects support for ACLs specifically for tmpfs
  114. filesystems.
  115. If you've selected TMPFS, it's possible that you'll also need
  116. this option as there are a number of Linux distros that require
  117. POSIX ACL support under /dev for certain features to work properly.
  118. For example, some distros need this feature for ALSA-related /dev
  119. files for sound to work properly. In short, if you're not sure,
  120. say Y.
  121. To learn more about Access Control Lists, visit the POSIX ACLs for
  122. Linux website <http://acl.bestbits.at/>.
  123. config TMPFS_XATTR
  124. bool "Tmpfs extended attributes"
  125. depends on TMPFS
  126. default n
  127. help
  128. Extended attributes are name:value pairs associated with inodes by
  129. the kernel or by users (see the attr(5) manual page, or visit
  130. <http://acl.bestbits.at/> for details).
  131. Currently this enables support for the trusted.* and
  132. security.* namespaces.
  133. You need this for POSIX ACL support on tmpfs.
  134. If unsure, say N.
  135. config HUGETLBFS
  136. bool "HugeTLB file system support"
  137. depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
  138. 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. If unsure, say N.
  144. config HUGETLB_PAGE
  145. def_bool HUGETLBFS
  146. source "fs/configfs/Kconfig"
  147. endmenu
  148. menuconfig MISC_FILESYSTEMS
  149. bool "Miscellaneous filesystems"
  150. default y
  151. ---help---
  152. Say Y here to get to see options for various miscellaneous
  153. filesystems, such as filesystems that came from other
  154. operating systems.
  155. This option alone does not add any kernel code.
  156. If you say N, all options in this submenu will be skipped and
  157. disabled; if unsure, say Y here.
  158. if MISC_FILESYSTEMS
  159. source "fs/adfs/Kconfig"
  160. source "fs/affs/Kconfig"
  161. source "fs/ecryptfs/Kconfig"
  162. source "fs/scfs/Kconfig"
  163. source "fs/sdcardfs/Kconfig"
  164. source "fs/hfs/Kconfig"
  165. source "fs/hfsplus/Kconfig"
  166. source "fs/befs/Kconfig"
  167. source "fs/bfs/Kconfig"
  168. source "fs/efs/Kconfig"
  169. # Patched by YAFFS
  170. source "fs/yaffs2/Kconfig"
  171. source "fs/jffs2/Kconfig"
  172. # UBIFS File system configuration
  173. source "fs/ubifs/Kconfig"
  174. source "fs/logfs/Kconfig"
  175. source "fs/cramfs/Kconfig"
  176. source "fs/squashfs/Kconfig"
  177. source "fs/freevxfs/Kconfig"
  178. source "fs/minix/Kconfig"
  179. source "fs/omfs/Kconfig"
  180. source "fs/hpfs/Kconfig"
  181. source "fs/qnx4/Kconfig"
  182. source "fs/qnx6/Kconfig"
  183. source "fs/romfs/Kconfig"
  184. source "fs/pstore/Kconfig"
  185. source "fs/sysv/Kconfig"
  186. source "fs/ufs/Kconfig"
  187. source "fs/exofs/Kconfig"
  188. endif # MISC_FILESYSTEMS
  189. source "fs/exofs/Kconfig.ore"
  190. menuconfig NETWORK_FILESYSTEMS
  191. bool "Network File Systems"
  192. default y
  193. depends on NET
  194. ---help---
  195. Say Y here to get to see options for network filesystems and
  196. filesystem-related networking code, such as NFS daemon and
  197. RPCSEC security modules.
  198. This option alone does not add any kernel code.
  199. If you say N, all options in this submenu will be skipped and
  200. disabled; if unsure, say Y here.
  201. if NETWORK_FILESYSTEMS
  202. source "fs/nfs/Kconfig"
  203. source "fs/nfsd/Kconfig"
  204. config LOCKD
  205. tristate
  206. depends on FILE_LOCKING
  207. config LOCKD_V4
  208. bool
  209. depends on NFSD_V3 || NFS_V3
  210. depends on FILE_LOCKING
  211. default y
  212. config NFS_ACL_SUPPORT
  213. tristate
  214. select FS_POSIX_ACL
  215. config NFS_COMMON
  216. bool
  217. depends on NFSD || NFS_FS
  218. default y
  219. source "net/sunrpc/Kconfig"
  220. source "fs/ceph/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. endif # NETWORK_FILESYSTEMS
  227. source "fs/nls/Kconfig"
  228. source "fs/dlm/Kconfig"
  229. endmenu