Kconfig 5.84 KB
Newer Older
Alexey Dobriyan's avatar
Alexey Dobriyan committed
1
2
config NFS_FS
	tristate "NFS client support"
3
	depends on INET && FILE_LOCKING && MULTIUSER
Alexey Dobriyan's avatar
Alexey Dobriyan committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
	select LOCKD
	select SUNRPC
	select NFS_ACL_SUPPORT if NFS_V3_ACL
	help
	  Choose Y here if you want to access files residing on other
	  computers using Sun's Network File System protocol.  To compile
	  this file system support as a module, choose M here: the module
	  will be called nfs.

	  To mount file systems exported by NFS servers, you also need to
	  install the user space mount.nfs command which can be found in
	  the Linux nfs-utils package, available from http://linux-nfs.org/.
	  Information about using the mount command is available in the
	  mount(8) man page.  More detail about the Linux NFS client
	  implementation is available via the nfs(5) man page.

	  Below you can choose which versions of the NFS protocol are
	  available in the kernel to mount NFS servers.  Support for NFS
	  version 2 (RFC 1094) is always available when NFS_FS is selected.

	  To configure a system which mounts its root file system via NFS
	  at boot time, say Y here, select "Kernel level IP
	  autoconfiguration" in the NETWORK menu, and select "Root file
	  system on NFS" below.  You cannot compile this file system as a
	  module in this case.

	  If unsure, say N.

Bryan Schumaker's avatar
Bryan Schumaker committed
32
config NFS_V2
33
	tristate "NFS client support for NFS version 2"
Bryan Schumaker's avatar
Bryan Schumaker committed
34
35
36
37
38
39
40
41
	depends on NFS_FS
	default y
	help
	  This option enables support for version 2 of the NFS protocol
	  (RFC 1094) in the kernel's NFS client.

	  If unsure, say Y.

Alexey Dobriyan's avatar
Alexey Dobriyan committed
42
config NFS_V3
43
	tristate "NFS client support for NFS version 3"
Alexey Dobriyan's avatar
Alexey Dobriyan committed
44
	depends on NFS_FS
Bryan Schumaker's avatar
Bryan Schumaker committed
45
	default y
Alexey Dobriyan's avatar
Alexey Dobriyan committed
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
	help
	  This option enables support for version 3 of the NFS protocol
	  (RFC 1813) in the kernel's NFS client.

	  If unsure, say Y.

config NFS_V3_ACL
	bool "NFS client support for the NFSv3 ACL protocol extension"
	depends on NFS_V3
	help
	  Some NFS servers support an auxiliary NFSv3 ACL protocol that
	  Sun added to Solaris but never became an official part of the
	  NFS version 3 protocol.  This protocol extension allows
	  applications on NFS clients to manipulate POSIX Access Control
	  Lists on files residing on NFS servers.  NFS servers enforce
	  ACLs on local files whether this protocol is available or not.

	  Choose Y here if your NFS server supports the Solaris NFSv3 ACL
	  protocol extension and you want your NFS client to allow
	  applications to access and modify ACLs on files on the server.

	  Most NFS servers don't support the Solaris NFSv3 ACL protocol
	  extension.  You can choose N here or specify the "noacl" mount
	  option to prevent your NFS client from trying to use the NFSv3
	  ACL protocol.

	  If unsure, say N.

config NFS_V4
75
	tristate "NFS client support for NFS version 4"
76
	depends on NFS_FS
77
	select SUNRPC_GSS
78
	select KEYS
Alexey Dobriyan's avatar
Alexey Dobriyan committed
79
80
81
82
83
84
85
86
	help
	  This option enables support for version 4 of the NFS protocol
	  (RFC 3530) in the kernel's NFS client.

	  To mount NFS servers using NFSv4, you also need to install user
	  space programs which can be found in the Linux nfs-utils package,
	  available from http://linux-nfs.org/.

87
	  If unsure, say Y.
Mel Gorman's avatar
Mel Gorman committed
88
89
90
91
92
93
94
95

config NFS_SWAP
	bool "Provide swap over NFS support"
	default n
	depends on NFS_FS
	select SUNRPC_SWAP
	help
	  This option enables swapon to work on files located on NFS mounts.
Alexey Dobriyan's avatar
Alexey Dobriyan committed
96

97
config NFS_V4_1
98
99
	bool "NFS client support for NFSv4.1"
	depends on NFS_V4
100
	select SUNRPC_BACKCHANNEL
101
102
	help
	  This option enables support for minor version 1 of the NFSv4 protocol
Peng Tao's avatar
Peng Tao committed
103
	  (RFC 5661) in the kernel's NFS client.
104

105
	  If unsure, say N.
106

107
108
109
110
111
112
113
114
115
config NFS_V4_2
	bool "NFS client support for NFSv4.2"
	depends on NFS_V4_1
	help
	  This option enables support for minor version 2 of the NFSv4 protocol
	  in the kernel's NFS client.

	  If unsure, say N.

116
117
config PNFS_FILE_LAYOUT
	tristate
118
	depends on NFS_V4_1
119
	default NFS_V4
120

121
config PNFS_BLOCK
122
	tristate
123
	depends on NFS_V4_1 && BLK_DEV_DM
124
	depends on 64BIT || LBDAF
125
	default NFS_V4
126

127
128
129
130
131
config PNFS_FLEXFILE_LAYOUT
	tristate
	depends on NFS_V4_1 && NFS_V3
	default m

132
133
134
135
136
137
138
139
140
141
142
143
config NFS_V4_1_IMPLEMENTATION_ID_DOMAIN
	string "NFSv4.1 Implementation ID Domain"
	depends on NFS_V4_1
	default "kernel.org"
	help
	  This option defines the domain portion of the implementation ID that
	  may be sent in the NFS exchange_id operation.  The value must be in
	  the format of a DNS domain name and should be set to the DNS domain
	  name of the distribution.
	  If the NFS client is unchanged from the upstream kernel, this
	  option should be set to the default "kernel.org".

144
145
146
147
148
149
150
151
152
153
154
config NFS_V4_1_MIGRATION
	bool "NFSv4.1 client support for migration"
	depends on NFS_V4_1
	default n
	help
	  This option makes the NFS client advertise to NFSv4.1 servers that
          it can support NFSv4 migration.

          The NFSv4.1 pieces of the Linux NFSv4 migration implementation are
          still experimental.  If you are not an NFSv4 developer, say N here.

155
156
157
158
159
config NFS_V4_SECURITY_LABEL
	bool
	depends on NFS_V4_2 && SECURITY
	default y

Alexey Dobriyan's avatar
Alexey Dobriyan committed
160
161
162
163
164
165
166
config ROOT_NFS
	bool "Root file system on NFS"
	depends on NFS_FS=y && IP_PNP
	help
	  If you want your system to mount its root file system via NFS,
	  choose Y here.  This is common practice for managing systems
	  without local permanent storage.  For details, read
167
	  <file:Documentation/filesystems/nfs/nfsroot.txt>.
Alexey Dobriyan's avatar
Alexey Dobriyan committed
168
169

	  Most people say N here.
170
171

config NFS_FSCACHE
172
	bool "Provide NFS client caching support"
173
174
175
176
	depends on NFS_FS=m && FSCACHE || NFS_FS=y && FSCACHE=y
	help
	  Say Y here if you want NFS data to be cached locally on disc through
	  the general filesystem cache manager
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192

config NFS_USE_LEGACY_DNS
	bool "Use the legacy NFS DNS resolver"
	depends on NFS_V4
	help
	  The kernel now provides a method for translating a host name into an
	  IP address.  Select Y here if you would rather use your own DNS
	  resolver script.

	  If unsure, say N

config NFS_USE_KERNEL_DNS
	bool
	depends on NFS_V4 && !NFS_USE_LEGACY_DNS
	select DNS_RESOLVER
	default y
193
194
195
196
197
198

config NFS_DEBUG
	bool
	depends on NFS_FS && SUNRPC_DEBUG
	select CRC32
	default y