Date: Thu, 10 Nov 2011 19:25:31 +0100 From: Ed Schouten <ed@80386.nl> To: Warner Losh <imp@bsdimp.com> Cc: arch@freebsd.org Subject: Re: The strangeness called `sbin' Message-ID: <20111110182531.GL2164@hoeg.nl> In-Reply-To: <C9C138D1-40CC-4B0C-B5A3-4E69EB61806A@bsdimp.com> References: <20111110123919.GF2164@hoeg.nl> <CAGE5yCr3BzWzwOAqo7wifgUTRC%2BG=2o4bDmk9H-%2BCxr=zJqYmw@mail.gmail.com> <20111110171605.GI2164@hoeg.nl> <C9C138D1-40CC-4B0C-B5A3-4E69EB61806A@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--4ybNbZnZ8tziJ7D6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Warner, * Warner Losh <imp@bsdimp.com>, 20111110 18:38: > I'd honestly start small here with (1) move the ones that are > obviously wrong (and aren't specified by posix to be wrong). (2) make > it an option to just make one or two binaries directories with compat > symlinks (because there's a ton of scripts that just know where > binaries life). POSIX doesn't care about specific pathnames that much. According to the spec, only /, /dev, /dev/{console,null,tty} and /tmp are reserved. The rest can be arranged the way you like. The problem is that both proposals (being mine vs. the first option you mentioned) have regressions in some way or another: - Merging sbin with bin may potentially make stuff slower, because of redundant PATH lookups, under the assumption that people don't update their PATH. - Moving utilities from /usr/sbin to /usr/bin and vice versa can potentially cause even more breakage, since 3rd party applications may depend on their location. Even worse: if people don't properly run `make delete-old', they end up having multiple versions of the binary installed on their system. A few symlinks here and there isn't that bad. If we just make sure our base system can eventually work without them, most embedded systems can do so as well. --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --4ybNbZnZ8tziJ7D6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQIcBAEBAgAGBQJOvBcbAAoJEG5e2P40kaK73wMP/27Ff8L0uv9Jhu+2jRmpuOit S4edQrtzE6MauKvYU4yrygXFERj5AClkYMOYiDKM0+ecxMJQ848VkHcAXkZz8aii wDA+jpoaGdu185CixTedNmY05WhoB6RzZg1jFWfikxd0OaLgBHJkNYcmr3t1r6er 2oeFZuCaj/Rt9ZbKd5Z2cc9zSzyoJnDGjKaT8U9sG7UiBTFK3w1+HSIDzoucT+su g87OJIx+abwDl4XANUsWXjHjiwg4w9EzpL+v1VH6hnvpErmNVF09sXoKM30sSVMT IBnVm+6GKa1IE+mflX5EIYow2oRLdomHFXZRZ8uCzUgD/SiAYBJdqKupQCw+NHat EtQV2GU6TgY6TKkuTMpSClbyWiyIgK5Bm804crC7laVdZDukDtX9xcUSlTZSmoEd tYsiuQzmzsmxOIld4MhwdL7HgkAECufgWu+a1Enq6bQubtIbbzCqFzy6izv5HRpf vigGBr5sqgcZRcynx4aa6920ahL10cPWTglBq7jMj302D8xga5B8f6TPVJ+iCqML YRSSu2aD3pPwJ2Vf1W9ifqRVEP9NH2cLI9J2MLF0Bhvc0I5SaOuI3PkCKCIl4vJT FIIi7yvG0If/xGxTq8wOAtvbo/K2NzAruCms97LX1CxADGjVYCCXYT2kiC6pVH4n rRuyzFyVce/gAZvKFBmy =fLQr -----END PGP SIGNATURE----- --4ybNbZnZ8tziJ7D6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111110182531.GL2164>