From owner-svn-src-head@FreeBSD.ORG Sat Sep 19 08:27:10 2009 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A32FE1065670; Sat, 19 Sep 2009 08:27:10 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7260F8FC0A; Sat, 19 Sep 2009 08:27:10 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 09AA146B0C; Sat, 19 Sep 2009 04:27:10 -0400 (EDT) Received: from John-Baldwins-Macbook-Pro.local (localhost [IPv6:::1]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 82F728A01B; Sat, 19 Sep 2009 04:27:07 -0400 (EDT) Message-ID: <4AB495DD.1010006@FreeBSD.org> Date: Sat, 19 Sep 2009 04:27:09 -0400 From: John Baldwin User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Rick Macklem References: <200909171908.n8HJ8GQs067202@svn.freebsd.org> <4AB35086.90502@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Sat, 19 Sep 2009 04:27:08 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: svn-src-head@FreeBSD.org, Rick Macklem , svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r197298 - head/sbin/mount_nfs X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Sep 2009 08:27:10 -0000 Rick Macklem wrote: > > > 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. Ok. > 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. Hmm, it might actually be nice to be able to change those at some point as well. I have looked at this in the past and it is quite deeply buried in libc. :-/ -- John Baldwin