This patch defines new switches in fs/Config.in -
CONFIG_NFS_V4: enables nfsv4 client
CONFIG_NFSD_V4: enables nfsv4 server
CONFIG_SUNRPC_GSSD_CLNT: enables in-kernel client for GSSD
[Background: GSSD is a service which runs in userspace, whose
purpose in life (for now) is to provide translation between
strings of the form user@realm, which are used in the NFSv4
protocol, and numerical uid/gid's, which the kernel can
understand. The kernel communicates with GSSD through
loopback RPC calls.]
--- old/fs/Config.in Thu Aug 1 16:16:29 2002
+++ new/fs/Config.in Sun Aug 11 18:08:46 2002
@@ -109,10 +109,12 @@ if [ "$CONFIG_NET" = "y" ]; then
dep_tristate 'InterMezzo file system support (replicating fs) (EXPERIMENTAL)' CONFIG_INTERMEZZO_FS $CONFIG_INET $CONFIG_EXPERIMENTAL
dep_tristate 'NFS file system support' CONFIG_NFS_FS $CONFIG_INET
dep_mbool ' Provide NFSv3 client support' CONFIG_NFS_V3 $CONFIG_NFS_FS
+ dep_mbool ' Provide NFSv4 client support (EXPERIMENTAL)' CONFIG_NFS_V4 $CONFIG_NFS_FS $CONFIG_EXPERIMENTAL
dep_bool ' Root file system on NFS' CONFIG_ROOT_NFS $CONFIG_NFS_FS $CONFIG_IP_PNP
dep_tristate 'NFS server support' CONFIG_NFSD $CONFIG_INET
dep_mbool ' Provide NFSv3 server support' CONFIG_NFSD_V3 $CONFIG_NFSD
+ dep_mbool ' Provide NFSv4 server support (EXPERIMENTAL)' CONFIG_NFSD_V4 $CONFIG_NFSD_V3 $CONFIG_EXPERIMENTAL
dep_mbool ' Provide NFS server over TCP support (EXPERIMENTAL)' CONFIG_NFSD_TCP $CONFIG_NFSD $CONFIG_EXPERIMENTAL
if [ "$CONFIG_NFS_FS" = "y" -o "$CONFIG_NFSD" = "y" ]; then
@@ -130,6 +132,9 @@ if [ "$CONFIG_NET" = "y" ]; then
if [ "$CONFIG_NFSD_V3" = "y" -o "$CONFIG_NFS_V3" = "y" ]; then
define_bool CONFIG_LOCKD_V4 y
fi
+ if [ "$CONFIG_NFSD_V4" = "y" -o "$CONFIG_NFS_V4" = "y" ]; then
+ define_bool CONFIG_SUNRPC_GSSD_CLNT y
+ fi
define_tristate CONFIG_EXPORTFS $CONFIG_NFSD
dep_tristate 'SMB file system support (to mount Windows shares etc.)' CONFIG_SMB_FS $CONFIG_INET
--- old/fs/Config.help Thu Aug 1 16:16:33 2002
+++ new/fs/Config.help Sun Aug 11 18:08:46 2002
@@ -514,6 +514,13 @@ CONFIG_NFS_V3
If unsure, say N.
+CONFIG_NFS_V4
+ Say Y here if you want your NFS client to be able to speak the newer
+ version 4 of the NFS protocol. This feature is experimental, and
+ should only be used if you are interested in helping to test NFSv4.
+
+ If unsure, say N.
+
CONFIG_ROOT_NFS
If you want your Linux box to mount its whole root file system (the
one containing the directory /) from some other computer over the
@@ -555,6 +562,12 @@ CONFIG_NFSD_V3
If you would like to include the NFSv3 server as well as the NFSv2
server, say Y here. If unsure, say Y.
+CONFIG_NFSD_V4
+ If you would like to include the NFSv4 server as well as the NFSv2
+ server, say Y here. This feature is experimental, and should only
+ be used if you are interested in helping to test NFSv4. If unsure,
+ say N.
+
CONFIG_NFSD_TCP
Enable NFS service over TCP connections. This the officially
still experimental, but seems to work well.