Kconfig 6.5 KB

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