Date: Tue, 3 Jun 2003 11:25:46 +0100 (BST) From: Jan Grant <Jan.Grant@bristol.ac.uk> To: Tim Kientzle <kientzle@acm.org> Cc: Dag-Erling Smorgrav <des@ofug.org> Subject: Re: Making a dynamically-linked root Message-ID: <Pine.GSO.4.44.0306031123461.13279-100000@mail.ilrt.bris.ac.uk> In-Reply-To: <3EDBCDD2.1080900@acm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Jun 2003, Tim Kientzle wrote: > Dag-Erling Smorgrav wrote: > > > Gordon Tetlow <gordont@gnf.org> writes: > >>... my boot time ... went from 12 seconds with a static root to 15 > >>seconds with a dynamic root. > > > > Was /bin/sh dynamically linked? It shouldn't be. > > > Sorry, but /bin/sh calls 'getpwnam()', which means > /bin/sh should use NSS, and thus needs to be > dynamically linked. I don't think this reasoning is completely sound. A functional (but minimalist) static /bin/sh (or /sbin/sh) will still let you run /usr/local/bells-and-whistles/sh if you need ~user. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ Axioms speak louder than words.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.44.0306031123461.13279-100000>