[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what's the best small shell for initrd?



On Wed, 18 Jul 2001 13:10, Thierry Laronde wrote:
> On Wed, Jul 18, 2001 at 03:18:21AM -0700, David Schleef wrote:
> > On Wed, Jul 18, 2001 at 08:57:02AM +0200, Thierry Laronde wrote:
> > > But if one wants a great shell with historic, completion, `which' like
> > > functionnality and so on, the best choice is Public Domain Korn Shell
> > > `pdksh'.
> >
> > Busybox hush has history, completion, and which.  (And isn't ksh. =) )
> >
> > > pdksh, statically compiled against uClibc, with historic, completion
> > > and so on is 178ko. This SHOULD be the system shell of a Debian system
> > > :-^
> >
> > Busybox, statically compiled against uClibc, with hush, 260 k.
>
> And it does scripting too (i.e. is POSIX compliant and allow the use of
> scripts)?

Scripts that start with the following appear to work OK:
#!/bin/busybox sh

Also is full POSIX compliance the highest priority for an initrd?  I think 
that busybox should do.

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page



Reply to: