Kconfig 6.4 KB

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