From owner-svn-src-all@freebsd.org Thu Jun 16 01:21:29 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A705DA45D5B; Thu, 16 Jun 2016 01:21:29 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BAA81744; Thu, 16 Jun 2016 01:21:29 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with SMTP id DLzkb8XLLEWlrDLzlbkIqF; Wed, 15 Jun 2016 19:21:22 -0600 X-Authority-Analysis: v=2.2 cv=P7p4vWIu c=1 sm=1 tr=0 a=jvE2nwUzI0ECrNeyr98KWA==:117 a=jvE2nwUzI0ECrNeyr98KWA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=pD_ry4oyNxEA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=9EfbjnueN5bFe6Zoxe4A:9 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id C1EBC13753; Wed, 15 Jun 2016 18:21:19 -0700 (PDT) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id u5G1LIPf057835; Wed, 15 Jun 2016 18:21:18 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201606160121.u5G1LIPf057835@slippy.cwsent.com> X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Pedro Giffuni cc: Konstantin Belousov , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: Re: svn commit: r301899 - in vendor/amd/dist: . amd amq conf/checkmount conf/fh_dref conf/hn_dref conf/mount conf/mtab conf/nfs_prot conf/sa_dref conf/transp conf/trap conf/umount doc fixmount fsinfo h... In-Reply-To: Message from Pedro Giffuni of "Wed, 15 Jun 2016 10:53:59 -0500." <129d6f78-e3c6-5d18-9466-a97ca1b11f76@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Jun 2016 18:21:18 -0700 X-CMAE-Envelope: MS4wfFhVT53Fo5H2J+AL0ZXVC0El7UUT9+oQyMjpkbOxsVpMRPu/Dgzc9J+qQpOLW0ZkBKUrbXj0+8dpPhHmJYhEuNqNtarYf+K1bzyYIUcKyWyPPV45WtJv f8qb3dEcBmdB+KidpuGxI1UunE0Vg39Xb3mzjPh/A53VXmG/DGkwPad+HwNx1lvd+8Ee6ew1J63P1L7TO+Nag7hcAVf58fCqV9qT5BJFohuW7798np0WQBRi rMkxCi5dgjMkn/kD0b7a5IzvOGIbOIR6tmWb6Aktb5WY3cvBp6fz73Ym0ev5QTUPLJLabztk4oBGihINhLGqvg== X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2016 01:21:29 -0000 In message <129d6f78-e3c6-5d18-9466-a97ca1b11f76@FreeBSD.org>, Pedro Giffuni wr ites: > Hello; > > On 06/15/16 01:14, Konstantin Belousov wrote: > > On Tue, Jun 14, 2016 at 11:41:08PM +0000, Pedro F. Giffuni wrote: > >> Author: pfg > >> Date: Tue Jun 14 23:41:07 2016 > >> New Revision: 301899 > >> URL: https://svnweb.freebsd.org/changeset/base/301899 > >> > >> Log: > >> am-utils: Disable keyword expansion. > >> > >> As recommended in the Committers guide section 5.4.4.1.2. > > Wouldn't it be better to remove amd before 11 ? > > > > Yes, that would be better. > > FWIW, I was only investigating a README.autofs file in > the upstream distribution but I have *no* plans to > touch any of this, especially not during a code freeze. It doesn't look like there is anything FreeBSD specific in our amd that is not in am-utils. I spent many years as a Solaris (and many other platforms which don't exist any more) admin. I've always found amd, which I ran on SunOS 4, to be superior to automount as implemented by Sun and currently in use on Linux. (Amd supported NIS but not NIS+). It looks like our autofs is a re-implementation of that. For example, in an NIS (or LDAP) map one could have, * host==cwsys;type:=link;fs:=/export/home/${key} \ host==slippy;type:=link;fs:=/export/home/${key} \ host==oslippy;type:=link;fs:=/export/home/${key} \ host==beastie;rhost:=slippy6;rfs:=/export/home/${key};type:=nfs;fs:=${autodir}/${key} \ host==bob;rhost:=cwsys;rfs:=/export/home/${key};type:=nfs;fs:=${autodir}/${key} \ host==bob;rhost:=cwsys2;rfs:=/export/home/${key};type:=nfs;fs:=${autodir}/${key} \ host==bob;rhost:=slippy;rfs:=/export/home/${key};type:=nfs;fs:=${autodir}/${key} (Hopefully exmh won't munge the above beyond recognition.) The above allows for failover and also allows an admin to specify different mappings for different client systems. Unfortunately automount as originally implemented by Sun never allowed such flexibility unless maps were copied to individual servers, even if multiple servers shared the same maps. I suppose we could extend our automount daemons support this but unfortunately it wouldn't be compatible with anything Solaris or Linux. IIRC many Linux distros have replaced automountd with systemd whereas IMO looking at the direction Solaris is going I'd put money on it being irrelevant in the mid future so, this may not be a big argument against extending our autofs to support this. I will lament the loss of such a powerful tool from base. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.