Kconfig 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. config NFS_FS
  2. tristate "NFS client support"
  3. depends on INET && FILE_LOCKING && MULTIUSER
  4. select LOCKD
  5. select SUNRPC
  6. select NFS_ACL_SUPPORT if NFS_V3_ACL
  7. help
  8. Choose Y here if you want to access files residing on other
  9. computers using Sun's Network File System protocol. To compile
  10. this file system support as a module, choose M here: the module
  11. will be called nfs.
  12. To mount file systems exported by NFS servers, you also need to
  13. install the user space mount.nfs command which can be found in
  14. the Linux nfs-utils package, available from http://linux-nfs.org/.
  15. Information about using the mount command is available in the
  16. mount(8) man page. More detail about the Linux NFS client
  17. implementation is available via the nfs(5) man page.
  18. Below you can choose which versions of the NFS protocol are
  19. available in the kernel to mount NFS servers. Support for NFS
  20. version 2 (RFC 1094) is always available when NFS_FS is selected.
  21. To configure a system which mounts its root file system via NFS
  22. at boot time, say Y here, select "Kernel level IP
  23. autoconfiguration" in the NETWORK menu, and select "Root file
  24. system on NFS" below. You cannot compile this file system as a
  25. module in this case.
  26. If unsure, say N.
  27. config NFS_V2
  28. tristate "NFS client support for NFS version 2"
  29. depends on NFS_FS
  30. default y
  31. help
  32. This option enables support for version 2 of the NFS protocol
  33. (RFC 1094) in the kernel's NFS client.
  34. If unsure, say Y.
  35. config NFS_V3
  36. tristate "NFS client support for NFS version 3"
  37. depends on NFS_FS
  38. default y
  39. help
  40. This option enables support for version 3 of the NFS protocol
  41. (RFC 1813) in the kernel's NFS client.
  42. If unsure, say Y.
  43. config NFS_V3_ACL
  44. bool "NFS client support for the NFSv3 ACL protocol extension"
  45. depends on NFS_V3
  46. help
  47. Some NFS servers support an auxiliary NFSv3 ACL protocol that
  48. Sun added to Solaris but never became an official part of the
  49. NFS version 3 protocol. This protocol extension allows
  50. applications on NFS clients to manipulate POSIX Access Control
  51. Lists on files residing on NFS servers. NFS servers enforce
  52. ACLs on local files whether this protocol is available or not.
  53. Choose Y here if your NFS server supports the Solaris NFSv3 ACL
  54. protocol extension and you want your NFS client to allow
  55. applications to access and modify ACLs on files on the server.
  56. Most NFS servers don't support the Solaris NFSv3 ACL protocol
  57. extension. You can choose N here or specify the "noacl" mount
  58. option to prevent your NFS client from trying to use the NFSv3
  59. ACL protocol.
  60. If unsure, say N.
  61. config NFS_V4
  62. tristate "NFS client support for NFS version 4"
  63. depends on NFS_FS
  64. select SUNRPC_GSS
  65. select KEYS
  66. help
  67. This option enables support for version 4 of the NFS protocol
  68. (RFC 3530) in the kernel's NFS client.
  69. To mount NFS servers using NFSv4, you also need to install user
  70. space programs which can be found in the Linux nfs-utils package,
  71. available from http://linux-nfs.org/.
  72. If unsure, say Y.
  73. config NFS_SWAP
  74. bool "Provide swap over NFS support"
  75. default n
  76. depends on NFS_FS
  77. select SUNRPC_SWAP
  78. help
  79. This option enables swapon to work on files located on NFS mounts.
  80. config NFS_V4_1
  81. bool "NFS client support for NFSv4.1"
  82. depends on NFS_V4
  83. select SUNRPC_BACKCHANNEL
  84. help
  85. This option enables support for minor version 1 of the NFSv4 protocol
  86. (RFC 5661) in the kernel's NFS client.
  87. If unsure, say N.
  88. config NFS_V4_2
  89. bool "NFS client support for NFSv4.2"
  90. depends on NFS_V4_1
  91. help
  92. This option enables support for minor version 2 of the NFSv4 protocol
  93. in the kernel's NFS client.
  94. If unsure, say N.
  95. config PNFS_FILE_LAYOUT
  96. tristate
  97. depends on NFS_V4_1
  98. default NFS_V4
  99. config PNFS_BLOCK
  100. tristate
  101. depends on NFS_V4_1 && BLK_DEV_DM
  102. depends on 64BIT || LBDAF
  103. default NFS_V4
  104. config PNFS_OBJLAYOUT
  105. tristate
  106. depends on NFS_V4_1 && SCSI_OSD_ULD
  107. default NFS_V4
  108. config PNFS_FLEXFILE_LAYOUT
  109. tristate
  110. depends on NFS_V4_1 && NFS_V3
  111. default m
  112. config NFS_V4_1_IMPLEMENTATION_ID_DOMAIN
  113. string "NFSv4.1 Implementation ID Domain"
  114. depends on NFS_V4_1
  115. default "kernel.org"
  116. help
  117. This option defines the domain portion of the implementation ID that
  118. may be sent in the NFS exchange_id operation. The value must be in
  119. the format of a DNS domain name and should be set to the DNS domain
  120. name of the distribution.
  121. If the NFS client is unchanged from the upstream kernel, this
  122. option should be set to the default "kernel.org".
  123. config NFS_V4_1_MIGRATION
  124. bool "NFSv4.1 client support for migration"
  125. depends on NFS_V4_1
  126. default n
  127. help
  128. This option makes the NFS client advertise to NFSv4.1 servers that
  129. it can support NFSv4 migration.
  130. The NFSv4.1 pieces of the Linux NFSv4 migration implementation are
  131. still experimental. If you are not an NFSv4 developer, say N here.
  132. config NFS_V4_SECURITY_LABEL
  133. bool
  134. depends on NFS_V4_2 && SECURITY
  135. default y
  136. config ROOT_NFS
  137. bool "Root file system on NFS"
  138. depends on NFS_FS=y && IP_PNP
  139. help
  140. If you want your system to mount its root file system via NFS,
  141. choose Y here. This is common practice for managing systems
  142. without local permanent storage. For details, read
  143. <file:Documentation/filesystems/nfs/nfsroot.txt>.
  144. Most people say N here.
  145. config NFS_FSCACHE
  146. bool "Provide NFS client caching support"
  147. depends on NFS_FS=m && FSCACHE || NFS_FS=y && FSCACHE=y
  148. help
  149. Say Y here if you want NFS data to be cached locally on disc through
  150. the general filesystem cache manager
  151. config NFS_USE_LEGACY_DNS
  152. bool "Use the legacy NFS DNS resolver"
  153. depends on NFS_V4
  154. help
  155. The kernel now provides a method for translating a host name into an
  156. IP address. Select Y here if you would rather use your own DNS
  157. resolver script.
  158. If unsure, say N
  159. config NFS_USE_KERNEL_DNS
  160. bool
  161. depends on NFS_V4 && !NFS_USE_LEGACY_DNS
  162. select DNS_RESOLVER
  163. default y
  164. config NFS_DEBUG
  165. bool
  166. depends on NFS_FS && SUNRPC_DEBUG
  167. select CRC32
  168. default y