Kconfig 5.9 KB

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