Kconfig 6.9 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. if BLOCK
  9. source "fs/ext2/Kconfig"
  10. source "fs/ext4/Kconfig"
  11. source "fs/jbd2/Kconfig"
  12. config FS_MBCACHE
  13. # Meta block cache for Extended Attributes (ext2/ext3/ext4)
  14. tristate
  15. default y if EXT2_FS=y && EXT2_FS_XATTR
  16. default y if EXT4_FS=y
  17. default m if EXT2_FS_XATTR || EXT4_FS
  18. source "fs/reiserfs/Kconfig"
  19. source "fs/jfs/Kconfig"
  20. source "fs/xfs/Kconfig"
  21. source "fs/gfs2/Kconfig"
  22. source "fs/ocfs2/Kconfig"
  23. source "fs/btrfs/Kconfig"
  24. source "fs/nilfs2/Kconfig"
  25. source "fs/f2fs/Kconfig"
  26. config FS_DAX
  27. bool "Direct Access (DAX) support"
  28. depends on MMU
  29. depends on !(ARM || MIPS || SPARC)
  30. help
  31. Direct Access (DAX) can be used on memory-backed block devices.
  32. If the block device supports DAX and the filesystem supports DAX,
  33. then you can avoid using the pagecache to buffer I/Os. Turning
  34. on this option will compile in support for DAX; you will need to
  35. mount the filesystem using the -o dax option.
  36. If you do not have a block device that is capable of using this,
  37. or if unsure, say N. Saying Y will increase the size of the kernel
  38. by about 5kB.
  39. config FS_DAX_PMD
  40. bool
  41. default FS_DAX
  42. depends on FS_DAX
  43. depends on ZONE_DEVICE
  44. depends on TRANSPARENT_HUGEPAGE
  45. endif # BLOCK
  46. # Posix ACL utility routines
  47. #
  48. # Note: Posix ACLs can be implemented without these helpers. Never use
  49. # this symbol for ifdefs in core code.
  50. #
  51. config FS_POSIX_ACL
  52. def_bool n
  53. config EXPORTFS
  54. tristate
  55. config FILE_LOCKING
  56. bool "Enable POSIX file locking API" if EXPERT
  57. default y
  58. help
  59. This option enables standard file locking support, required
  60. for filesystems like NFS and for the flock() system
  61. call. Disabling this option saves about 11k.
  62. config MANDATORY_FILE_LOCKING
  63. bool "Enable Mandatory file locking"
  64. depends on FILE_LOCKING
  65. default y
  66. help
  67. This option enables files appropriately marked files on appropriely
  68. mounted filesystems to support mandatory locking.
  69. To the best of my knowledge this is dead code that no one cares about.
  70. source "fs/crypto/Kconfig"
  71. source "fs/notify/Kconfig"
  72. source "fs/quota/Kconfig"
  73. source "fs/autofs4/Kconfig"
  74. source "fs/fuse/Kconfig"
  75. source "fs/overlayfs/Kconfig"
  76. menu "Caches"
  77. source "fs/fscache/Kconfig"
  78. source "fs/cachefiles/Kconfig"
  79. endmenu
  80. if BLOCK
  81. menu "CD-ROM/DVD Filesystems"
  82. source "fs/isofs/Kconfig"
  83. source "fs/udf/Kconfig"
  84. endmenu
  85. endif # BLOCK
  86. if BLOCK
  87. menu "DOS/FAT/NT Filesystems"
  88. source "fs/fat/Kconfig"
  89. source "fs/ntfs/Kconfig"
  90. endmenu
  91. endif # BLOCK
  92. menu "Pseudo filesystems"
  93. source "fs/proc/Kconfig"
  94. source "fs/kernfs/Kconfig"
  95. source "fs/sysfs/Kconfig"
  96. config TMPFS
  97. bool "Tmpfs virtual memory file system support (former shm fs)"
  98. depends on SHMEM
  99. help
  100. Tmpfs is a file system which keeps all files in virtual memory.
  101. Everything in tmpfs is temporary in the sense that no files will be
  102. created on your hard drive. The files live in memory and swap
  103. space. If you unmount a tmpfs instance, everything stored therein is
  104. lost.
  105. See <file:Documentation/filesystems/tmpfs.txt> for details.
  106. config TMPFS_POSIX_ACL
  107. bool "Tmpfs POSIX Access Control Lists"
  108. depends on TMPFS
  109. select TMPFS_XATTR
  110. select FS_POSIX_ACL
  111. help
  112. POSIX Access Control Lists (ACLs) support additional access rights
  113. for users and groups beyond the standard owner/group/world scheme,
  114. and this option selects support for ACLs specifically for tmpfs
  115. filesystems.
  116. If you've selected TMPFS, it's possible that you'll also need
  117. this option as there are a number of Linux distros that require
  118. POSIX ACL support under /dev for certain features to work properly.
  119. For example, some distros need this feature for ALSA-related /dev
  120. files for sound to work properly. In short, if you're not sure,
  121. say Y.
  122. To learn more about Access Control Lists, visit the POSIX ACLs for
  123. Linux website <http://acl.bestbits.at/>.
  124. config TMPFS_XATTR
  125. bool "Tmpfs extended attributes"
  126. depends on TMPFS
  127. default n
  128. help
  129. Extended attributes are name:value pairs associated with inodes by
  130. the kernel or by users (see the attr(5) manual page, or visit
  131. <http://acl.bestbits.at/> for details).
  132. Currently this enables support for the trusted.* and
  133. security.* namespaces.
  134. You need this for POSIX ACL support on tmpfs.
  135. If unsure, say N.
  136. config HUGETLBFS
  137. bool "HugeTLB file system support"
  138. depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
  139. SYS_SUPPORTS_HUGETLBFS || BROKEN
  140. help
  141. hugetlbfs is a filesystem backing for HugeTLB pages, based on
  142. ramfs. For architectures that support it, say Y here and read
  143. <file:Documentation/vm/hugetlbpage.txt> for details.
  144. If unsure, say N.
  145. config HUGETLB_PAGE
  146. def_bool HUGETLBFS
  147. source "fs/configfs/Kconfig"
  148. source "fs/efivarfs/Kconfig"
  149. endmenu
  150. menuconfig MISC_FILESYSTEMS
  151. bool "Miscellaneous filesystems"
  152. default y
  153. ---help---
  154. Say Y here to get to see options for various miscellaneous
  155. filesystems, such as filesystems that came from other
  156. operating systems.
  157. This option alone does not add any kernel code.
  158. If you say N, all options in this submenu will be skipped and
  159. disabled; if unsure, say Y here.
  160. if MISC_FILESYSTEMS
  161. source "fs/orangefs/Kconfig"
  162. source "fs/adfs/Kconfig"
  163. source "fs/affs/Kconfig"
  164. source "fs/ecryptfs/Kconfig"
  165. source "fs/hfs/Kconfig"
  166. source "fs/hfsplus/Kconfig"
  167. source "fs/befs/Kconfig"
  168. source "fs/bfs/Kconfig"
  169. source "fs/efs/Kconfig"
  170. source "fs/jffs2/Kconfig"
  171. # UBIFS File system configuration
  172. source "fs/ubifs/Kconfig"
  173. source "fs/logfs/Kconfig"
  174. source "fs/cramfs/Kconfig"
  175. source "fs/squashfs/Kconfig"
  176. source "fs/freevxfs/Kconfig"
  177. source "fs/minix/Kconfig"
  178. source "fs/omfs/Kconfig"
  179. source "fs/hpfs/Kconfig"
  180. source "fs/qnx4/Kconfig"
  181. source "fs/qnx6/Kconfig"
  182. source "fs/romfs/Kconfig"
  183. source "fs/pstore/Kconfig"
  184. source "fs/sysv/Kconfig"
  185. source "fs/ufs/Kconfig"
  186. source "fs/exofs/Kconfig"
  187. endif # MISC_FILESYSTEMS
  188. source "fs/exofs/Kconfig.ore"
  189. menuconfig NETWORK_FILESYSTEMS
  190. bool "Network File Systems"
  191. default y
  192. depends on NET
  193. ---help---
  194. Say Y here to get to see options for network filesystems and
  195. filesystem-related networking code, such as NFS daemon and
  196. RPCSEC security modules.
  197. This option alone does not add any kernel code.
  198. If you say N, all options in this submenu will be skipped and
  199. disabled; if unsure, say Y here.
  200. if NETWORK_FILESYSTEMS
  201. source "fs/nfs/Kconfig"
  202. source "fs/nfsd/Kconfig"
  203. config GRACE_PERIOD
  204. tristate
  205. config LOCKD
  206. tristate
  207. depends on FILE_LOCKING
  208. select GRACE_PERIOD
  209. config LOCKD_V4
  210. bool
  211. depends on NFSD_V3 || NFS_V3
  212. depends on FILE_LOCKING
  213. default y
  214. config NFS_ACL_SUPPORT
  215. tristate
  216. select FS_POSIX_ACL
  217. config NFS_COMMON
  218. bool
  219. depends on NFSD || NFS_FS || LOCKD
  220. default y
  221. source "net/sunrpc/Kconfig"
  222. source "fs/ceph/Kconfig"
  223. source "fs/cifs/Kconfig"
  224. source "fs/ncpfs/Kconfig"
  225. source "fs/coda/Kconfig"
  226. source "fs/afs/Kconfig"
  227. source "fs/9p/Kconfig"
  228. endif # NETWORK_FILESYSTEMS
  229. source "fs/nls/Kconfig"
  230. source "fs/dlm/Kconfig"
  231. endmenu