Date: Wed, 07 Jun 2000 15:58:58 -0700 From: Peter Wemm <peter@netplex.com.au> To: Doug Rabson <dfr@nlsystems.com> Cc: Josef Karthauser <joe@pavilion.net>, "Matthew N. Dodd" <winter@jurai.net>, "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, Mike Smith <msmith@FreeBSD.org>, "Andrey A. Chernov" <ache@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: static binaries (was Re: cvs commit: src/bin/ls extern.h ls.1 ls.c ls.h print.c ) Message-ID: <20000607225858.59FCE1CE1@overcee.netplex.com.au> In-Reply-To: Message from Doug Rabson <dfr@nlsystems.com> of "Mon, 05 Jun 2000 09:20:06 BST." <Pine.BSF.4.21.0006050919000.72373-100000@salmon.nlsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Rabson wrote: > On Sun, 4 Jun 2000, Josef Karthauser wrote: > > > On Sat, Jun 03, 2000 at 11:59:24PM -0400, Matthew N. Dodd wrote: > > > On Sat, 3 Jun 2000, Jordan K. Hubbard wrote: > > > > That's 100K difference and certainly a significant increase, though > > > > one could also perhaps argue that at 189K, ls(1) is no longer the > > > > thin, svelte utility we remember from her youth and another chocolate > > > > eclair or two isn't going to make that big a difference at this point. > > > > > > I think having a /bin/ls and a /usr/bin/ls would be the way to go then. > > > > > > /bin/ls can be the "thin, svelte utility" > > > /usr/bin/ls can have all the eclairs it wants. > > > > If we're going to do that we may as well keep colour support as a > > separate port. There's no point having two ls's in the tree IMHO. > > Or we could develop a "Plug In" model for ls... Note that we would pretty much need to have a dynamic linked ls(1) in order to support something like dlopen() for nsswitch.conf or ls_colour.so style plugins for ls. I still believe we should have /lib/libc.so.4, /lib/ld-elf.so.1 and all of / dynamically linked. Note that even /bin/sh needs to be dynamic in order to have ~user to work in a nsswitch.conf style scheme. Yes, I know that there are other ways to do this, but I wonder if we are getting to the point where we're approaching the point that having / static is more trouble than it's worth. There is nothing stopping us having a couple of key /static/sh style binaries on the offchance that somebody needs to move /lib/libc.so.4.old back to lib/libc.so.4 and cannot boot a fixit floppy or CD or PXE boot. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000607225858.59FCE1CE1>