From owner-freebsd-arch@FreeBSD.ORG Thu Nov 10 17:47:22 2011 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E11E6106566B for ; Thu, 10 Nov 2011 17:47:22 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2a01:4f8:101:5343::aa]) by mx1.freebsd.org (Postfix) with ESMTP id A77918FC19 for ; Thu, 10 Nov 2011 17:47:22 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 1C4DF2A28CC9; Thu, 10 Nov 2011 18:47:22 +0100 (CET) Date: Thu, 10 Nov 2011 18:47:22 +0100 From: Ed Schouten To: Peter Wemm Message-ID: <20111110174722.GJ2164@hoeg.nl> References: <20111110123919.GF2164@hoeg.nl> <20111110171605.GI2164@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cEobB2knsyc5ebfU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: arch@freebsd.org Subject: Re: The strangeness called `sbin' X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2011 17:47:23 -0000 --cEobB2knsyc5ebfU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Peter Wemm , 20111110 18:33: > Having /sbin in $PATH where /sbin is a symlink to /bin would be worse > than having no /sbin at all, from a perspective of rootvnode lock > lifetime. If you can figure out how to get people to remove /sbin and > /usr/sbin from their paths after the symlink changes then it becomes a > moot point. But heck, I still have /usr/X11R6 in mine... :( On the other hand, if people used to have /sbin in their path and *do* remove it properly after the upgrade, they should in theory see a performance improvement, right? Assume $PATH used to be /bin:/sbin:/usr/bin:/usr/sbin:/usr/games:... and is switched to /bin:/usr/bin:... after the upgrade. Now if somebody tries to execute something that's not part of the base system, then it would require at least 3 calls to execve(), whereas in our current setup it would require 6 system calls. Therefore I think it's hard to say anything conclusive about performance in this area. --=20 Ed Schouten WWW: http://80386.nl/ --cEobB2knsyc5ebfU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQIcBAEBAgAGBQJOvA4pAAoJEG5e2P40kaK7uj0P/Rv2PrPsBy2RQre7LJlANaWh mC/qsrP/snio8nSI/szHYL3DDv6ELT1ghofNLapoEn4+drwZxG+OlHrLq9lwHS/s 7/HK8fGQHejIf93TcFc/wEH8OzKEvaYs06yi2yIQ/QLI4Ul6vifZ9S2JLFe/e+PR q/MlbMHE0tllF7kznc0rtJngnjCj5DxVrlHAhOw9al5/XZBYhSJCvkGQ5LTF09jB WFt5HzbKmz5ouYK0VF5eK1RW6g7dDdzQeOqfYqnUjsCN4TBXlZCqT8rUnlzYlx71 x9gheIw70zV3u97e9vLoeknxQsGPID1HnFJOgulqn6tOgDU0ueUzj6DQ7hhXp1kw 2gV1xyHIKHzAMnEC9xx222kfap+sJ1LmbdNJfuS0Acg1Z0kaBe9pjGPltmnwM1T5 vPrpxSKzEGN0Fy8IcN/I0quQhDRa7GBKRtxxTZUVMBGB+AICxuB7+/kFop/KxVXP 7JHW1VVisrFyVygM3NE4DFPfWm4n98ahCw7YL4kDk6jtfea8mamQo8foz0EDxeG7 vlgYt5xNbDlxFtFVwoMP8Y/6ajWOTPFoF4w8BGwwPxrCiKkBAUkK8TPv0FFr7cVP jXTbkby4brMgXad3zTvsvpp9JG2FtN853bD6OUVrHB1Jkszb7szSWHPt1D09J52L iUg7HNQLw47XvONW3bAR =HF7G -----END PGP SIGNATURE----- --cEobB2knsyc5ebfU--