Go to file
Eric Andersen 1acfb72e71 Manuel Novoa III writes:
Hello Rob,

Here's a patch to your bunzip-3.c file.  Nice work btw.

One minor bug fix... checking for error return when read()ing.
Some size/performance optimizations as well.  One instance of
memset() seems unnecssary.  You might want to take a look.

Anyway, on my machine, decompressing linux-2.6.0-test7.tar.bz2
to /dev/null gave the following times:

        bunzip-3.c    bzcat (system)   bunzip-3.c (patched)
real    0m24.420s     0m22.725s        0m20.701s
user    0m23.930s     0m22.170s        0m20.180s
sys     0m0.070s      0m0.080s         0m0.140s

Size of the patched version is comparable (slightly larger or
smaller depending on compiler flags).

Manuel
2003-10-18 01:59:46 +00:00
applets Woops, the previous patch reversal wasnt complete, breaking everything. 2003-10-04 00:05:47 +00:00
archival Manuel Novoa III writes: 2003-10-18 01:59:46 +00:00
console-tools Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
coreutils Patch from Steven Scholz, fix some warnings 2003-10-09 11:38:45 +00:00
debian Syncronise with debian busybox-cvs package 2003-09-24 15:30:44 +00:00
debianutils Patch from Eric Spakman to update "run-parts" help text in Config.in. 2003-08-06 09:43:09 +00:00
docs Thomas Lundquist, update for current structure 2003-10-01 11:33:46 +00:00
editors Fix some warnings that have crept in recently 2003-10-09 08:18:36 +00:00
examples example devfs config file, patch from Tito. 2003-10-09 13:25:00 +00:00
findutils Vodz last_patch_117, update options for new xargs 2003-10-10 23:15:23 +00:00
include Vodz last_patch_117, update options for new xargs 2003-10-10 23:15:23 +00:00
init Patch by Guillaume Morin 2003-09-26 10:45:55 +00:00
libbb Fix an ommision preventing building, patch by Tito. 2003-10-09 13:40:17 +00:00
libpwdgrp Patch from Nick Fedchik to fixup paths in busybox/libpwdgrp 2003-07-26 07:48:13 +00:00
loginutils Set the default password to md5, patch by Joshua Jackson 2003-09-04 08:21:36 +00:00
miscutils old gcc 2003-10-17 18:54:55 +00:00
modutils Busybox modprobe has a couple of irritating quirks: 2003-09-08 00:32:49 +00:00
networking Vodz last_patch_105 without his xargs patch which doenst apply cleanly 2003-10-06 13:23:06 +00:00
procps Paul Mundt (lethal) writes: 2003-10-11 18:47:20 +00:00
scripts Patch by Rob Landley, fix warning 2003-10-03 08:28:59 +00:00
shell Patch by Junio C Hamano to workaround a gcc compiler bug. 2003-09-17 00:22:26 +00:00
sysdeps/linux Update the config file by running it from menuconfig, get rid of some 2003-09-09 15:53:56 +00:00
sysklogd Arnd Ben Otto writes: 2003-10-09 09:43:18 +00:00
tests Fix a bug where make clean complained about having both : and :: entries. 2003-09-10 23:47:10 +00:00
testsuite Configuration option to define wether to follows GNU sed's behaviour 2003-09-16 05:25:43 +00:00
util-linux Patch from Steven Scholz, fix some warnings 2003-10-09 11:38:45 +00:00
.cvsignore Yet another major rework of the BusyBox config system, using the considerably 2002-12-05 08:41:41 +00:00
.indent.pro First revision of the Busybox Style Guide and an accompanying .indent.pro 2000-07-24 22:36:06 +00:00
AUTHORS I don't need to have my email adder listed twice 2003-10-09 21:19:21 +00:00
Changelog Final changelog update 2003-09-12 07:03:52 +00:00
INSTALL Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
LICENSE Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
Makefile Use a variable for the config files, makes it easier to syncronise with 2003-09-24 15:48:29 +00:00
README Move shell descriptions to the config system 2003-08-08 23:41:50 +00:00
Rules.mak Substitute busybox for uClibc, patch by Hideki IWAMOTO 2003-08-29 12:23:09 +00:00
TODO Update TODO list 2003-07-22 08:55:12 +00:00

Please see the LICENSE file for details on copying and usage.
    
BusyBox combines tiny versions of many common UNIX utilities into a single
small executable. It provides minimalist replacements for most of the utilities
you usually find in fileutils, shellutils, findutils, textutils, grep, gzip,
tar, etc. BusyBox provides a fairly complete POSIX environment for any small or
embedded system. The utilities in BusyBox generally have fewer options than
their full featured GNU cousins; however, the options that are included provide
the expected functionality and behave very much like their GNU counterparts.

BusyBox was originally written to support the Debian Rescue/Install disks, but
it also makes an excellent environment for any small or embedded system.

BusyBox has been written with size-optimization and limited resources in mind.
It is also extremely modular so you can easily include or exclude commands (or
features) at compile time. This makes it easy to customize your embedded
systems. To create a working system, just add /dev, /etc, and a kernel.

As of version 0.20 there is now a version number. : ) Also as of version 0.20,
BusyBox is now modularized to easily allow you to build only the components you
need, thereby reducing binary size. Run 'make config' or 'make menuconfig'
for select the functionality that you wish to enable.

After the build is complete, a busybox.links file is generated.  This is
used by 'make install' to create symlinks to the busybox binary for all
compiled in functions.  By default, 'make install' will place the symlink
forest into `pwd`/_install unless you have defined the PREFIX environment
variable (i.e., 'make PREFIX=/tmp/foo install')

If you wish to install hardlinks, rather than symlinks, you can use 
'make install-hardlinks' instead.

----------------
    
Supported architectures:

   Busybox in general will build on any architecture supported by gcc.  It has
   a few specialized features added for __sparc__ and __alpha__.  insmod
   functionality is currently limited to x86, ARM, SH3/4, powerpc, m68k, 
   MIPS, and v850e.

Supported libcs:

   glibc-2.0.x, glibc-2.1.x, glibc-2.2.x, glibc-2.3.x, uClibc.  People
   are looking at newlib and diet-libc, but consider them unsupported,
   untested, or worse.  Linux-libc5 is no longer supported -- you
   should probably use uClibc instead if you want a small C library.

Supported kernels:

   Full functionality requires Linux 2.2.x or better.  A large fraction of the
   code should run on just about anything.  While the current code is fairly
   Linux specific, it should be fairly easy to port the majority of the code
   to, say, FreeBSD or Solaris, or MacOsX, or even Windows (if you are into that
   sortof thing).

----------------

Getting help:

When you find you need help, you can check out the BusyBox mailing list
archives at http://busybox.net/lists/busybox/ or even join
the mailing list if you are interested.

----------------

Bugs:

If you find bugs, please submit a detailed bug report to the busybox mailing
list at busybox@busybox.net.  A well-written bug report should include a
transcript of a shell session that demonstrates the bad behavior and enables
anyone else to duplicate the bug on their own machine. The following is such 
an example:

    To: busybox@busybox.net
    From: diligent@testing.linux.org
    Subject: /bin/date doesn't work

    Package: busybox
    Version: 1.00

    When I execute Busybox 'date' it produces unexpected results.
    With GNU date I get the following output:

	$ date
	Wed Mar 21 14:19:41 MST 2001

    But when I use BusyBox date I get this instead:

	$ date
	llegal instruction

    I am using Debian unstable, kernel version 2.4.19-rmk1 on an Netwinder, 
    and the latest uClibc from CVS.  Thanks for the wonderful program!

	-Diligent

Note the careful description and use of examples showing not only what BusyBox
does, but also a counter example showing what an equivalent GNU app does.  Bug
reports lacking such detail may never be fixed...  Thanks for understanding.

----------------

FTP:

Source for the latest released version, as well as daily snapshots, can always 
be downloaded from 
    http://busybox.net/downloads/

----------------

CVS:

BusyBox now has its own publicly browsable CVS tree at:
    http://busybox.net/cgi-bin/cvsweb/busybox/

Anonymous CVS access is available.  For instructions, check out:
    http://busybox.net/cvs_anon.html

For those that are actively contributing there is even CVS write access:
    http://busybox.net/cvs_write.html

----------------

Please feed suggestions, bug reports, insults, and bribes back to:
	Erik Andersen 
	<andersen@codepoet.org>
	<andersen@codepoet.org>