Kconfig 6.1 KB

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