Date: Mon, 24 Nov 2003 10:47:24 -0500 (EST) From: Robert Watson <rwatson@freebsd.org> To: "Maxim M. Kazachek" <stranger@sberbank.sibnet.ru> Cc: Duncan Barclay <dmlb@dmlb.org> Subject: Re: Unfortunate dynamic linking for everything Message-ID: <Pine.NEB.3.96L.1031124104428.61465G-100000@fledge.watson.org> In-Reply-To: <20031124092346.F63116@sbk-gw.sibnet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 24 Nov 2003, Maxim M. Kazachek wrote: > MOST people uses /bin/sh only for rc scripts (to be correct, their > system uses it). David O'Brien just tried to told, that NOBODY he knows > will be REALLY impacted by performance loss, caused due dynamic /bin/sh > linking. You will... So, because Duncan Barclay is impacted by > performance loss due dynamic /bin/sh linking, ENTIRE FreeBSD community > will have troubles (at least with NSS) due to static linking... Actually, you appear to be agreeing with him, not disagreeing with him. Duncan was pointing out that he *does* use /bin/sh as his shell, in response to David's suggestion that on one uses it and therefore that making it statically linked wouldn't hurt. It strikes me that this whole conversation has gotten a little confrontational... The "middle ground" of adding a static /sbin/sh for scripts soudds like a reasonable choice, and has precedent in other systems (Solaris). We can set the boot and periodic scripts to use that, and interactive users can keep using /bin/sh. Someone must be using /bin/sh as a shell, because apparently someone spent a lot of time adding things like character input editing, filename completion, etc. We even use "sh" as the default in adduser(8). Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1031124104428.61465G-100000>