Skip to contentSkip to conversation

A basic NFSv4 client for 2.5.x

PATCH Trond Myklebust 1 participant 2 messages Oct 14, 2002

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

This patch defines a new switch in fs/Config.in -
CONFIG_NFS_V4: enables nfsv4 client

fs/Config.help +7 -0
diff -u --recursive --new-file linux-2.5.42-nfsv4-E03/fs/Config.help linux-2.5.42-nfsv4-E10/fs/Config.help
@@ -535,6 +535,13 @@
   causes open() to return EINVAL if a file residing in NFS is
   opened with the O_DIRECT flag.
 
+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
fs/Config.in +1 -0
diff -u --recursive --new-file linux-2.5.42-nfsv4-E03/fs/Config.in linux-2.5.42-nfsv4-E10/fs/Config.in
@@ -117,6 +117,7 @@
    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

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

" " == Trond Myklebust <[email protected]> writes:

> This patch defines a new switch in fs/Config.in -
> CONFIG_NFS_V4: enables nfsv4 client

Please note: for those who are interested in trying this out, a patch for the 'mount' program in util-linux-2.11r is available on

http://www.fys.uio.no/~trondmy/src/NFSv4/mount-2.11r-nfsv4.patch

Note however that the NFS client is not yet fully functional, as it lacks the upcall + RPCSEC_GSS. These features are forthcoming...

Cheers,
Trond