Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Aug 2008 23:16:15 -0400
From:      Diane Bruce <db@db.net>
To:        Jeremy Chadwick <koitsu@FreeBSD.org>
Cc:        Luigi Rizzo <rizzo@iet.unipi.it>, fbsd2@yahoo.com, Sam Leffler <sam@freebsd.org>, freebsd-stable@freebsd.org
Subject:   Re: busybox and small scripting languages on FreeBSD ? (was Re: 80 Mb / enough for 7.x? OK to delete /stand/ and /modules/ ?)
Message-ID:  <20080803031615.GA46483@night.db.net>
In-Reply-To: <20080802233814.GA25565@eos.sc1.parodius.com>
References:  <372128.56919.qm@web51502.mail.re2.yahoo.com> <20080802.002039.58462077.imp@bsdimp.com> <4894A9D8.2090606@freebsd.org> <20080802225643.GA84798@onelab2.iet.unipi.it> <4894E8C3.5060004@freebsd.org> <20080802233814.GA25565@eos.sc1.parodius.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 02, 2008 at 04:38:14PM -0700, Jeremy Chadwick wrote:
> On Sat, Aug 02, 2008 at 04:07:47PM -0700, Sam Leffler wrote:
> > Luigi Rizzo wrote:
> >> On Sat, Aug 02, 2008 at 11:39:20AM -0700, Sam Leffler wrote:
> >> ...
> >>> I've been looking at nanobsd for a couple of applications and working
> >>> to reduce the footprint of the images without hacking special rules.
...
> >>> compact flash) then we'll need to do a lot of work to pare down the
> >>> bloat--or replace current apps w/ special purpose replacements a la
> >>> busybox (not something I find appealing).

What's wrong with /rescue being used for this?
ls -ltai /rescue
70662 -r-xr-xr-x  121 root  wheel  3728352 Jul 22 14:56 [
70662 -r-xr-xr-x  121 root  wheel  3728352 Jul 22 14:56 atacontrol
70662 -r-xr-xr-x  121 root  wheel  3728352 Jul 22 14:56 atmconfig

Still a little too large?
gzipped it's a little less
-r-xr-xr-x  1 db  wheel  1772385 Aug  2 23:11 /tmp/vi.gz
I bet it would be easier to trim down the number of utilities in
/rescue to make a smaller image than to make busybox go.

> >> related to this thread -- does anyone have experience in trying
> >> to build busybox on FreeBSD ?
> >
> > My last experience w/ busybox was >1 year ago and I'm not sure I was
> > using anything close to up to date, but...it was utterly linux-specific.
> >  Given what it does and what I saw in the code I'd be more inclined to
> > write one from scratch.

busybox is the worst pile of doggie doo doo I have ever had the misfortune
to see. It should be put into a brown paper bag and set on fire
after putting it on RMS's doorstep and ringing the doorbell.

- Diane
--
- db@FreeBSD.org db@db.net http://www.db.net/~db



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080803031615.GA46483>