Kconfig 6.0 KB

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