From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3MDbsl9021118 for ; Fri, 22 Apr 2005 13:37:54 GMT Received: from localhost ([127.0.0.1] helo=home.wh0rd.org) by smtp.gentoo.org with esmtp (Exim 4.43) id 1DOyLd-0000AC-JE for gentoo-dev@lists.gentoo.org; Fri, 22 Apr 2005 13:37:33 +0000 Received: (qmail 4842 invoked from network); 22 Apr 2005 09:35:32 -0400 Received: from unknown (HELO vapier) (192.168.0.2) by 192.168.0.1 with SMTP; 22 Apr 2005 09:35:32 -0400 From: Mike Frysinger Organization: wh0rd.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 User-Agent: KMail/1.8 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504220938.47437.vapier@gentoo.org> X-Archives-Salt: f633227d-90c1-42fd-bfed-6d3a064dd484 X-Archives-Hash: 96366623efdc1fc3d499880d9f7c1fc4 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