1 --- util-linux-2.10f/mount/nfsmount.c.orig Wed May 10 13:54:58 2000
2 +++ util-linux-2.10f/mount/nfsmount.c Wed May 10 13:57:09 2000
4 server_addr.sin_port = PMAPPORT;
5 port = pmap_getport(&server_addr, nfsprog, nfsvers,
6 tcp ? IPPROTO_TCP : IPPROTO_UDP);
8 + /* Here we check to see if user is mounting with the tcp
9 + ** option. If so, and if the portmap returns a '0' for
10 + ** port (service unavailable), we then exit out notifying
11 + ** the user, rather than hanging up mount.
13 + if (port == 0 && tcp == 1) {
14 + perror(_("nfs server reported service unavailable"));
20 #ifdef NFS_MOUNT_DEBUG