public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Replace 'sash' with 'busybox' as our static rescue shell
@ 2005-04-22 13:38 Mike Frysinger
  2005-04-22 13:51 ` Chris Gianelloni
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Mike Frysinger @ 2005-04-22 13:38 UTC (permalink / raw
  To: gentoo-dev

i dont want to discuss the logistics of how this will be done just yet ...

the idea is to remove 'sash' from our system target and replace it with 
busybox ... there are a few applets that sash implements and busybox does not 
(chattr ed file lsattr printenv sum where), but i added chattr, lsattr, 
printenv, and sum to busybox yesterday :) ... i've never heard of 'where' and 
going by its behavior in sash, it's basically 'which' ... that leaves us with 
'ed' and 'file' which i think we can ignore and be OK ...

for those of you who do not know, busybox is a single binary which implements 
the functionality of most system utils ... it does not completely implement 
some features, just the most common ones, but then again sash does the same 
thing :)

details:
- busybox implements a *ton* more applets ... it can be configured to replace 
over 100 system funcs while sash provides about 35 ...
- size wise, busybox would be larger, probably by about ~150k - ~200k
- busybox commands are transparent while sash requires you to prefix internal 
commands with a '-' ... so running `cp` in busybox will use busybox's cp 
while sash needs to run '-cp', and you can still execute the real cp by 
doing /bin/cp in busybox

feedback !?
-mike
-- 
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-04-23  4:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-22 13:38 [gentoo-dev] Replace 'sash' with 'busybox' as our static rescue shell Mike Frysinger
2005-04-22 13:51 ` Chris Gianelloni
2005-04-22 14:03 ` Spider
2005-04-22 14:15   ` Ned Ludd
2005-04-22 14:51     ` Spider
2005-04-22 14:17   ` Mike Frysinger
2005-04-22 18:08 ` Stelian Ionescu
2005-04-22 19:26   ` Mike Frysinger
2005-04-23  4:44 ` [gentoo-dev] " Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox