From: Neil Brown Date: Wed, 16 Jul 2008 17:15:46 +0000 (-0400) Subject: If an NFS server is only listening on TCP for portmap (as apparently X-Git-Tag: nfs-utils-1-1-3~5 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=8508942e7244017325690e2d0c17429fa0cb9873;hp=8508942e7244017325690e2d0c17429fa0cb9873 If an NFS server is only listening on TCP for portmap (as apparently MS-Windows-Server2003R2SP2 does), mount doesn't cope. There is retry logic in case the initial choice of version/etc doesn't work, but it doesn't cope with mountd needing tcp. So: Fix probe_port so that a TIMEDOUT error doesn't simply abort but probes with other protocols (e.g. tcp). Fix rewrite_mount_options to extract the mountproto option before doing a probe, then set mountproto (and mount prot) based on the result. Signed-off-by: Neil Brown Signed-off-by: Steve Dickson ---