Kconfig 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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. default NFS_V4
  103. config PNFS_OBJLAYOUT
  104. tristate
  105. depends on NFS_V4_1 && SCSI_OSD_ULD
  106. default NFS_V4
  107. config PNFS_FLEXFILE_LAYOUT
  108. tristate
  109. depends on NFS_V4_1 && NFS_V3
  110. default m
  111. config NFS_V4_1_IMPLEMENTATION_ID_DOMAIN
  112. string "NFSv4.1 Implementation ID Domain"
  113. depends on NFS_V4_1
  114. default "kernel.org"
  115. help
  116. This option defines the domain portion of the implementation ID that
  117. may be sent in the NFS exchange_id operation. The value must be in
  118. the format of a DNS domain name and should be set to the DNS domain
  119. name of the distribution.
  120. If the NFS client is unchanged from the upstream kernel, this
  121. option should be set to the default "kernel.org".
  122. config NFS_V4_1_MIGRATION
  123. bool "NFSv4.1 client support for migration"
  124. depends on NFS_V4_1
  125. default n
  126. help
  127. This option makes the NFS client advertise to NFSv4.1 servers that
  128. it can support NFSv4 migration.
  129. The NFSv4.1 pieces of the Linux NFSv4 migration implementation are
  130. still experimental. If you are not an NFSv4 developer, say N here.
  131. config NFS_V4_SECURITY_LABEL
  132. bool
  133. depends on NFS_V4_2 && SECURITY
  134. default y
  135. config ROOT_NFS
  136. bool "Root file system on NFS"
  137. depends on NFS_FS=y && IP_PNP
  138. help
  139. If you want your system to mount its root file system via NFS,
  140. choose Y here. This is common practice for managing systems
  141. without local permanent storage. For details, read
  142. <file:Documentation/filesystems/nfs/nfsroot.txt>.
  143. Most people say N here.
  144. config NFS_FSCACHE
  145. bool "Provide NFS client caching support"
  146. depends on NFS_FS=m && FSCACHE || NFS_FS=y && FSCACHE=y
  147. help
  148. Say Y here if you want NFS data to be cached locally on disc through
  149. the general filesystem cache manager
  150. config NFS_USE_LEGACY_DNS
  151. bool "Use the legacy NFS DNS resolver"
  152. depends on NFS_V4
  153. help
  154. The kernel now provides a method for translating a host name into an
  155. IP address. Select Y here if you would rather use your own DNS
  156. resolver script.
  157. If unsure, say N
  158. config NFS_USE_KERNEL_DNS
  159. bool
  160. depends on NFS_V4 && !NFS_USE_LEGACY_DNS
  161. select DNS_RESOLVER
  162. default y
  163. config NFS_DEBUG
  164. bool
  165. depends on NFS_FS && SUNRPC_DEBUG
  166. select CRC32
  167. default y