Kconfig 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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. config GENERIC_ACL
  55. bool
  56. select FS_POSIX_ACL
  57. menu "Caches"
  58. source "fs/fscache/Kconfig"
  59. source "fs/cachefiles/Kconfig"
  60. endmenu
  61. if BLOCK
  62. menu "CD-ROM/DVD Filesystems"
  63. source "fs/isofs/Kconfig"
  64. source "fs/udf/Kconfig"
  65. endmenu
  66. endif # BLOCK
  67. if BLOCK
  68. menu "DOS/FAT/NT Filesystems"
  69. source "fs/fat/Kconfig"
  70. source "fs/ntfs/Kconfig"
  71. endmenu
  72. endif # BLOCK
  73. menu "Pseudo filesystems"
  74. source "fs/proc/Kconfig"
  75. source "fs/sysfs/Kconfig"
  76. config TMPFS
  77. bool "Tmpfs virtual memory file system support (former shm fs)"
  78. depends on SHMEM
  79. help
  80. Tmpfs is a file system which keeps all files in virtual memory.
  81. Everything in tmpfs is temporary in the sense that no files will be
  82. created on your hard drive. The files live in memory and swap
  83. space. If you unmount a tmpfs instance, everything stored therein is
  84. lost.
  85. See <file:Documentation/filesystems/tmpfs.txt> for details.
  86. config TMPFS_POSIX_ACL
  87. bool "Tmpfs POSIX Access Control Lists"
  88. depends on TMPFS
  89. select TMPFS_XATTR
  90. select GENERIC_ACL
  91. help
  92. POSIX Access Control Lists (ACLs) support additional access rights
  93. for users and groups beyond the standard owner/group/world scheme,
  94. and this option selects support for ACLs specifically for tmpfs
  95. filesystems.
  96. If you've selected TMPFS, it's possible that you'll also need
  97. this option as there are a number of Linux distros that require
  98. POSIX ACL support under /dev for certain features to work properly.
  99. For example, some distros need this feature for ALSA-related /dev
  100. files for sound to work properly. In short, if you're not sure,
  101. say Y.
  102. To learn more about Access Control Lists, visit the POSIX ACLs for
  103. Linux website <http://acl.bestbits.at/>.
  104. config TMPFS_XATTR
  105. bool "Tmpfs extended attributes"
  106. depends on TMPFS
  107. default n
  108. help
  109. Extended attributes are name:value pairs associated with inodes by
  110. the kernel or by users (see the attr(5) manual page, or visit
  111. <http://acl.bestbits.at/> for details).
  112. Currently this enables support for the trusted.* and
  113. security.* namespaces.
  114. You need this for POSIX ACL support on tmpfs.
  115. If unsure, say N.
  116. config HUGETLBFS
  117. bool "HugeTLB file system support"
  118. depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
  119. SYS_SUPPORTS_HUGETLBFS || BROKEN
  120. help
  121. hugetlbfs is a filesystem backing for HugeTLB pages, based on
  122. ramfs. For architectures that support it, say Y here and read
  123. <file:Documentation/vm/hugetlbpage.txt> for details.
  124. If unsure, say N.
  125. config HUGETLB_PAGE
  126. def_bool HUGETLBFS
  127. source "fs/configfs/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 LOCKD
  183. tristate
  184. depends on FILE_LOCKING
  185. config LOCKD_V4
  186. bool
  187. depends on NFSD_V3 || NFS_V3
  188. depends on FILE_LOCKING
  189. default y
  190. config NFS_ACL_SUPPORT
  191. tristate
  192. select FS_POSIX_ACL
  193. config NFS_COMMON
  194. bool
  195. depends on NFSD || NFS_FS
  196. default y
  197. source "net/sunrpc/Kconfig"
  198. source "fs/ceph/Kconfig"
  199. source "fs/cifs/Kconfig"
  200. source "fs/ncpfs/Kconfig"
  201. source "fs/coda/Kconfig"
  202. source "fs/afs/Kconfig"
  203. source "fs/9p/Kconfig"
  204. endif # NETWORK_FILESYSTEMS
  205. source "fs/nls/Kconfig"
  206. source "fs/dlm/Kconfig"
  207. endmenu