Ref: Beyond LinuxR From Scratch - Version 2016-04-10 Chapter 15. Networking Programs
NFS-Utils-1.3.3 Compiling with "--disable-nfsv4" has no effect: $ sudo mount.nfs -v localhost:/mnt/nfs nfs_test mount.nfs: timeout set for Mon Apr 11 12:16:38 2016 mount.nfs: trying text-based options 'vers=4.2,addr=127.0.0.1,clientaddr=127.0.0.1' mount.nfs: mount(2): Connection refused mount.nfs: trying text-based options 'addr=127.0.0.1' mount.nfs: prog 100003, trying vers=3, prot=6 mount.nfs: portmap query retrying: RPC: Program not registered mount.nfs: prog 100003, trying vers=3, prot=17 mount.nfs: portmap query failed: RPC: Program not registered mount.nfs: requested NFS version or transport protocol is not supported $ sudo mount.nfs -o nfsvers=3 -v localhost:/mnt/nfs ~/nfs_test mount.nfs: timeout set for Mon Apr 11 12:32:35 2016 mount.nfs: trying text-based options 'nfsvers=3,addr=127.0.0.1' mount.nfs: prog 100003, trying vers=3, prot=6 mount.nfs: trying 127.0.0.1 prog 100003 vers 3 prot TCP port 2049 mount.nfs: prog 100005, trying vers=3, prot=17 mount.nfs: trying 127.0.0.1 prog 100005 vers 3 prot UDP port 33763 localhost:/mnt/nfs on /home/tc/nfs_test type nfs (nfsvers=3) Regards John -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
