Kconfig 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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. config FS_POSIX_ACL
  26. # Posix ACL utility routines (for now, only ext2/ext3/jfs/reiserfs/nfs4)
  27. #
  28. # NOTE: you can implement Posix ACLs without these helpers (XFS does).
  29. # Never use this symbol for ifdefs.
  30. #
  31. bool
  32. default n
  33. source "fs/xfs/Kconfig"
  34. source "fs/gfs2/Kconfig"
  35. source "fs/ocfs2/Kconfig"
  36. source "fs/btrfs/Kconfig"
  37. endif # BLOCK
  38. config FILE_LOCKING
  39. bool "Enable POSIX file locking API" if EMBEDDED
  40. default y
  41. help
  42. This option enables standard file locking support, required
  43. for filesystems like NFS and for the flock() system
  44. call. Disabling this option saves about 11k.
  45. source "fs/notify/Kconfig"
  46. source "fs/quota/Kconfig"
  47. source "fs/autofs/Kconfig"
  48. source "fs/autofs4/Kconfig"
  49. source "fs/fuse/Kconfig"
  50. config CUSE
  51. tristate "Character device in Userpace support"
  52. depends on FUSE_FS
  53. help
  54. This FUSE extension allows character devices to be
  55. implemented in userspace.
  56. If you want to develop or use userspace character device
  57. based on CUSE, answer Y or M.
  58. config GENERIC_ACL
  59. bool
  60. select FS_POSIX_ACL
  61. menu "Caches"
  62. source "fs/fscache/Kconfig"
  63. source "fs/cachefiles/Kconfig"
  64. endmenu
  65. if BLOCK
  66. menu "CD-ROM/DVD Filesystems"
  67. source "fs/isofs/Kconfig"
  68. source "fs/udf/Kconfig"
  69. endmenu
  70. endif # BLOCK
  71. if BLOCK
  72. menu "DOS/FAT/NT Filesystems"
  73. source "fs/fat/Kconfig"
  74. source "fs/ntfs/Kconfig"
  75. endmenu
  76. endif # BLOCK
  77. menu "Pseudo filesystems"
  78. source "fs/proc/Kconfig"
  79. source "fs/sysfs/Kconfig"
  80. config TMPFS
  81. bool "Virtual memory file system support (former shm fs)"
  82. help
  83. Tmpfs is a file system which keeps all files in virtual memory.
  84. Everything in tmpfs is temporary in the sense that no files will be
  85. created on your hard drive. The files live in memory and swap
  86. space. If you unmount a tmpfs instance, everything stored therein is
  87. lost.
  88. See <file:Documentation/filesystems/tmpfs.txt> for details.
  89. config TMPFS_POSIX_ACL
  90. bool "Tmpfs POSIX Access Control Lists"
  91. depends on TMPFS
  92. select GENERIC_ACL
  93. help
  94. POSIX Access Control Lists (ACLs) support permissions for users and
  95. groups beyond the owner/group/world scheme.
  96. To learn more about Access Control Lists, visit the POSIX ACLs for
  97. Linux website <http://acl.bestbits.at/>.
  98. If you don't know what Access Control Lists are, say N.
  99. config HUGETLBFS
  100. bool "HugeTLB file system support"
  101. depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
  102. (S390 && 64BIT) || BROKEN
  103. help
  104. hugetlbfs is a filesystem backing for HugeTLB pages, based on
  105. ramfs. For architectures that support it, say Y here and read
  106. <file:Documentation/vm/hugetlbpage.txt> for details.
  107. If unsure, say N.
  108. config HUGETLB_PAGE
  109. def_bool HUGETLBFS
  110. source "fs/configfs/Kconfig"
  111. endmenu
  112. menuconfig MISC_FILESYSTEMS
  113. bool "Miscellaneous filesystems"
  114. default y
  115. ---help---
  116. Say Y here to get to see options for various miscellaneous
  117. filesystems, such as filesystems that came from other
  118. operating systems.
  119. This option alone does not add any kernel code.
  120. If you say N, all options in this submenu will be skipped and
  121. disabled; if unsure, say Y here.
  122. if MISC_FILESYSTEMS
  123. source "fs/adfs/Kconfig"
  124. source "fs/affs/Kconfig"
  125. source "fs/ecryptfs/Kconfig"
  126. source "fs/hfs/Kconfig"
  127. source "fs/hfsplus/Kconfig"
  128. source "fs/befs/Kconfig"
  129. source "fs/bfs/Kconfig"
  130. source "fs/efs/Kconfig"
  131. source "fs/jffs2/Kconfig"
  132. # UBIFS File system configuration
  133. source "fs/ubifs/Kconfig"
  134. source "fs/cramfs/Kconfig"
  135. source "fs/squashfs/Kconfig"
  136. source "fs/freevxfs/Kconfig"
  137. source "fs/minix/Kconfig"
  138. source "fs/omfs/Kconfig"
  139. source "fs/hpfs/Kconfig"
  140. source "fs/qnx4/Kconfig"
  141. source "fs/romfs/Kconfig"
  142. source "fs/sysv/Kconfig"
  143. source "fs/ufs/Kconfig"
  144. source "fs/exofs/Kconfig"
  145. config NILFS2_FS
  146. tristate "NILFS2 file system support (EXPERIMENTAL)"
  147. depends on BLOCK && EXPERIMENTAL
  148. select CRC32
  149. help
  150. NILFS2 is a log-structured file system (LFS) supporting continuous
  151. snapshotting. In addition to versioning capability of the entire
  152. file system, users can even restore files mistakenly overwritten or
  153. destroyed just a few seconds ago. Since this file system can keep
  154. consistency like conventional LFS, it achieves quick recovery after
  155. system crashes.
  156. NILFS2 creates a number of checkpoints every few seconds or per
  157. synchronous write basis (unless there is no change). Users can
  158. select significant versions among continuously created checkpoints,
  159. and can change them into snapshots which will be preserved for long
  160. periods until they are changed back to checkpoints. Each
  161. snapshot is mountable as a read-only file system concurrently with
  162. its writable mount, and this feature is convenient for online backup.
  163. Some features including atime, extended attributes, and POSIX ACLs,
  164. are not supported yet.
  165. To compile this file system support as a module, choose M here: the
  166. module will be called nilfs2. If unsure, say N.
  167. endif # MISC_FILESYSTEMS
  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. config LOCKD_V4
  185. bool
  186. depends on NFSD_V3 || NFS_V3
  187. default y
  188. config EXPORTFS
  189. tristate
  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/smbfs/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. if BLOCK
  206. menu "Partition Types"
  207. source "fs/partitions/Kconfig"
  208. endmenu
  209. endif
  210. source "fs/nls/Kconfig"
  211. source "fs/dlm/Kconfig"
  212. endmenu