# SPDX-License-Identifier: GPL-2.0-only
config [31mCONFIG_NFS_FS[0m
tristate "NFS client support"
depends on [31mCONFIG_INET[0m && [31mCONFIG_FILE_LOCKING[0m && [31mCONFIG_MULTIUSER[0m
select [31mCONFIG_LOCKD[0m
select [31mCONFIG_SUNRPC[0m
select [31mCONFIG_NFS_ACL_SUPPORT[0m if [31mCONFIG_NFS_V3_ACL[0m
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 [31mCONFIG_M[0m 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 [31mCONFIG_NFS_FS[0m 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.
config [31mCONFIG_NFS_V2[0m
tristate "NFS client support for NFS version 2"
depends on [31mCONFIG_NFS_FS[0m
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.
config [31mCONFIG_NFS_V3[0m
tristate "NFS client support for NFS version 3"
depends on [31mCONFIG_NFS_FS[0m
default y
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 [31mCONFIG_NFS_V3_ACL[0m
bool "NFS client support for the NFSv3 ACL protocol extension"
depends on [31mCONFIG_NFS_V3[0m
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 [31mCONFIG_NFS_V4[0m
tristate "NFS client support for NFS version 4"
depends on [31mCONFIG_NFS_FS[0m
select [31mCONFIG_SUNRPC_GSS[0m
select [31mCONFIG_KEYS[0m
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/.
If unsure, say Y.
config [31mCONFIG_NFS_SWAP[0m
bool "Provide swap over NFS support"
default n
depends on [31mCONFIG_NFS_FS[0m
select [31mCONFIG_SUNRPC_SWAP[0m
help
This option enables swapon to work on files located on NFS mounts.
config [31mCONFIG_NFS_V4_1[0m
bool "NFS client support for NFSv4.1"
depends on [31mCONFIG_NFS_V4[0m
select [31mCONFIG_SUNRPC_BACKCHANNEL[0m
help
This option enables support for minor version 1 of the NFSv4 protocol
(RFC 5661) in the kernel's NFS client.
If unsure, say N.
config [31mCONFIG_NFS_V4_2[0m
bool "NFS client support for NFSv4.2"
depends on [31mCONFIG_NFS_V4_1[0m
help
This option enables support for minor version 2 of the NFSv4 protocol
in the kernel's NFS client.
If unsure, say N.
config [31mCONFIG_PNFS_FILE_LAYOUT[0m
tristate
depends on [31mCONFIG_NFS_V4_1[0m
default [31mCONFIG_NFS_V4[0m
config [31mCONFIG_PNFS_BLOCK[0m
tristate
depends on [31mCONFIG_NFS_V4_1[0m && [31mCONFIG_BLK_DEV_DM[0m
default [31mCONFIG_NFS_V4[0m
config [31mCONFIG_PNFS_FLEXFILE_LAYOUT[0m
tristate
depends on [31mCONFIG_NFS_V4_1[0m && [31mCONFIG_NFS_V3[0m
default m
config [31mCONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN[0m
string "NFSv4.1 Implementation ID Domain"
depends on [31mCONFIG_NFS_V4_1[0m
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".
config [31mCONFIG_NFS_V4_1_MIGRATION[0m
bool "NFSv4.1 client support for migration"
depends on [31mCONFIG_NFS_V4_1[0m
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.
config [31mCONFIG_NFS_V4_SECURITY_LABEL[0m
bool
depends on [31mCONFIG_NFS_V4_2[0m && [31mCONFIG_SECURITY[0m
default y
config [31mCONFIG_ROOT_NFS[0m
bool "Root file system on NFS"
depends on [31mCONFIG_NFS_FS[0m=y && [31mCONFIG_IP_PNP[0m
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
<file:Documentation/filesystems/nfs/nfsroot.txt>.
Most people say N here.
config [31mCONFIG_NFS_FSCACHE[0m
bool "Provide NFS client caching support"
depends on [31mCONFIG_NFS_FS[0m=m && [31mCONFIG_FSCACHE[0m || [31mCONFIG_NFS_FS[0m=y && [31mCONFIG_FSCACHE[0m=y
help
Say Y here if you want NFS data to be cached locally on disc through
the general filesystem cache manager
config [31mCONFIG_NFS_USE_LEGACY_DNS[0m
bool "Use the legacy NFS DNS resolver"
depends on [31mCONFIG_NFS_V4[0m
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 [31mCONFIG_NFS_USE_KERNEL_DNS[0m
bool
depends on [31mCONFIG_NFS_V4[0m && ![31mCONFIG_NFS_USE_LEGACY_DNS[0m
select [31mCONFIG_DNS_RESOLVER[0m
default y
config [31mCONFIG_NFS_DEBUG[0m
bool
depends on [31mCONFIG_NFS_FS[0m && [31mCONFIG_SUNRPC_DEBUG[0m
select [31mCONFIG_CRC32[0m
default y