Date: Fri, 23 Nov 2001 09:50:38 +0100 From: Andrea Campi <andrea@webcom.it> To: Peter Jeremy <peter.jeremy@alcatel.com.au> Cc: Mark Murray <mark@grondar.za>, Bruce Evans <bde@zeta.org.au>, Sheldon Hearn <sheldonh@starjuice.net>, Akinori MUSHA <knu@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/share/man/man1 builtin.1 src/bin/sh Makefile builtins.def sh.1 src/usr.bin/printf printf.1 Message-ID: <20011123085038.GB960@webcom.it> In-Reply-To: <20011123105232.Q94635@gsmx07.alcatel.com.au> References: <20011122015842.T9998-100000@delplex.bde.org> <bde@zeta.org.au> <200111221012.fAMACqN35344@grimreaper.grondar.org> <20011123105232.Q94635@gsmx07.alcatel.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> As I see it, the options are: > 1) Accept the bloat - which is probably OK except for PicoBSD and > the install/fixit floppies where space is at a premium. > 2) Drop the ability to do '~' expansion. > 3) Have a small statically linked shell in /bin and an "all the bells > and whistles" version in /usr/bin. > 4) Arrange /bin/sh to dynamically load /usr/lib/libc.so if it's > available when getpwnam() is called, otherwise use a staticly > linked version that only uses /etc/passwd. > > Option 4 would seem to solve the bloat problem without losing the > ability to ~-expand a YP username. (And if /usr isn't mounted, > there's a reasable likelihood that the network isn't up so YP isn't > available anyway). I'm less certain how practical this is since it > requires the ability to try to dynamically link a library from an > otherwise static executable when neither the library nor the loader > may be available. What about making /bin/sh a small, static, ~-less executable which as first thing tries to exec /usr/bin/sh (big regular dynamic shell) if /usr is mounted? I know, it's a departure from tradition, but it could still be useful. Just my E 0.02 Bye, Brian > > Peter > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe cvs-all" in the body of the message -- Tagline generated by 'gensig' mail-client-independent .signature generator. Get your copy at http://www.geeks.com/~robf/gensig/ 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?20011123085038.GB960>