public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Replace 'sash' with 'busybox' as our static rescue shell
Date: Fri, 22 Apr 2005 09:38:47 -0400	[thread overview]
Message-ID: <200504220938.47437.vapier@gentoo.org> (raw)

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


             reply	other threads:[~2005-04-22 13:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-22 13:38 Mike Frysinger [this message]
2005-04-22 13:51 ` [gentoo-dev] Replace 'sash' with 'busybox' as our static rescue shell 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200504220938.47437.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox