Date: Fri, 18 Sep 2009 11:05:04 -0400 (EDT) From: Rick Macklem <rmacklem@uoguelph.ca> To: John Baldwin <jhb@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, Rick Macklem <rmacklem@FreeBSD.org>, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r197298 - head/sbin/mount_nfs Message-ID: <Pine.GSO.4.63.0909181100340.15785@muncher.cs.uoguelph.ca> In-Reply-To: <4AB35086.90502@FreeBSD.org> References: <200909171908.n8HJ8GQs067202@svn.freebsd.org> <4AB35086.90502@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 Sep 2009, John Baldwin wrote: > Rick Macklem wrote: >> Author: rmacklem >> Date: Thu Sep 17 19:08:15 2009 >> New Revision: 197298 >> URL: http://svn.freebsd.org/changeset/base/197298 >> >> Log: >> Change the default transport protocol for use by the Mount protocol >> from UDP to TCP, so that it is consistent with TCP for NFS, which >> became the default at r176198. Without this change, doing an NFS mount >> against a server that only supports UDP would result in an unusable >> mount point if a transport protocol option wasn't specified for the >> mount. >> Approved by: kib (mentor) >> MFC after: 3 days > > Does this still use UDP for the mount protocol for a UDP mount? > Yep. If "udp" is specified, everything uses "udp". The only case affected by the change was when neither "udp" nor "tcp" were specified as options. It happens that it still uses UDP for Portmapper by default and when "tcp" is specified, but that is down inside the libc functions and there are comments in them along the lines of "always use UDP first...", so I don't intend to change those. rick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.63.0909181100340.15785>