Kconfig 6.0 KB

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