8676c034934b070fa9a7967f050b4a2b94e81079
[oweals/busybox.git] / Changelog
1 0.48
2
3         * Glenn McGrath -- tar now supports uncompressing tar files,
4             define BB_FEATURE_TAR_GZIP to use the -z option.
5         * Matt Kraai -- fix all usage of TRUE and FALSE so all apps now
6             return EXIT_SUCCESS or EXIT_FAILURE to the system.
7             Now TRUE and FALSE are set to the C standard where TRUE=1.
8         * me -- Fixed uname problem causing the kernel version to be
9             mis-detected (causing problems with poweroff, init,
10             and other things).  
11         * Alcove, Julien Gaulmin <julien.gaulmin@alcove.fr> and 
12             Nicolas Ferre <nicolas.ferre@alcove.fr> -- insmod support on ARM 
13             and StrongArm, and suport for lsmod on older 2.0.x kernels.
14         * Kent Robotti -- Renamed unrpm to original rpmunpack, so you can use 
15             an included shell script called unrpm as a front end to it.  There's
16             also a shell script called undeb included for debian packages.  
17         * Matt Kraai -- fix an infinite loop with ls -aR
18         * Larry Doolittle -- Shaves off about 100 bytes and 200 bytes heap 
19             from date.c.  Also document the "-d" option in the usage message.
20         * Gennady Feldman -- fixed dd to use blocksize when reading/writing, 
21             (it was reading the whole thing and then writing it out).  Also 
22             updated usage information (was missing conv=notrunc) and added 
23             conv=sync feature.
24         * Larry Doolittle (in collaboration with Matt Kraai) -- allow for a 
25             pristine source directory -- where all the .o files and such are 
26             not placed into the source tree.  Thanks Larry!
27         * Larry Doolittle -- use the applet definitions in applets.h 
28             to autogenerate the applet function and usage prototypes.
29         * Sebastien Huet, Arne Bernin, and Kent Robotti -- Add in tar -X and
30             fixed a bug breaking tar --exclude.  
31         * Jonas Holmberg -- echo option handling made GNU-echo compatible
32         * Aleksey Demidov <asd@ixcelerator.com> -- date option handling made 
33             GNU-date compatible
34         * me -- Progress meter (optional) in wget
35         * Doolittle/me -- programs invoked by full path name take
36             precedence over applets unless
37             BB_FEATURE_SH_BUILTINS_ALWAYS_WIN
38         * Gaute B Strokkenes <gs234@cam.ac.uk> -- applets found using a
39             binary search instead of linear search.  Much faster!
40         * new applets: cmp readlink
41         * Mark Whitley -- Removed advertising clause of Berkeley license
42             according to decision by the Regents of the University of
43             California; included reference
44         * tail's confusing special treatment of single digit options removed;
45             people should use -n instead
46         * Larry Doolittle -- \r handled now in echo and tr
47         * Matt Kraai -- rewrite of uniq
48         * Mark Whitley -- remix of xargs
49         * Jim Gleason <jimg@lineo.com> -- fixed tar so it no longer breaks 
50             hard links.
51         * Matt Kraai -- logger now logs all arguments, not just the first
52         * Gennady Feldman -- syslogd no longer logs to localhost if compiled
53             for remote logging...
54         * various artists -- Other good stuff that I forgot to document.
55
56
57          -Erik Andersen, 13 December 2000
58
59 0.47
60
61         * A bug in syslogd was fixed that allowed it to potentially fork-bomb
62             your system.  Anyone using 0.46 syslogd should upgrade.
63         * Renamed busybox.defs.h to the more sensible "Config.h"
64         * Improved portability between different libcs.
65         * Many apps ported to use getopt()
66         * Common handling of '--help'
67         * All usage messages centralized.
68         * Added a bunch of new commands:
69             * 'rdate' contributed by Sterling Huxley <sterling@europa.com>
70             * 'wget' contributed by Chip Rosenthal <chip@unicom.com>, 
71                     <crosenth@covad.com> and Covad Communications
72             * 'getopt' from "Alfred M. Szmidt" <ams@trillian.itslinux.org>
73             * dos2unix, unix2dos, reset, and unrpm.c (and lots of help
74                 debugging) thanks to Kent Robotti <robotti@metconnect.com>.
75             * 'renice' command, thanks to Dave Cinege <dcinege@psychosis.com>
76             * 'xargs' (written by me)
77             * 'expr' contributed by Edward Betts <edward@debian.org>, based
78                 on GNY expr
79         * lsmod now uses the query_module syscall, rather then /proc (me)
80         * syslogd can now log messages to remote hosts -- patch thanks
81             to Gyepi Sam <gyepi@praxis-sw.com>
82         * chroot can now call the builtin shell - Pavel Roskin <proski@gnu.org>
83         * 'make install' now creates relative symlinks, and added a new
84             'make install-hardlinks' target to (tada) install hardlinks.
85         * Rewrite of 'tail' to make it simpler, smaller, and more robust.  
86             It now weighs only 2.25k (3k when full featured).  The code is
87             cleaner too, thanks to Allen Soard <esp-software@mail.hypermart.net>
88         * Add optional ls file sorting, thanks to a patch from 
89             Sterling Huxley <sterling@europa.com>
90         * Fixed chmod option parsing so things like 'chmod -r /tmp/file'
91             now work (previously it thought -r was an option).  Doh!
92         * Fixed tar handling of stdin and stdout
93         * Renamed "internal.h" to the more sensible "busybox.h"
94         * Preliminary support for GNU HURD.
95         * Updated my devps and devmtab kernel patches for the latest 2.2.x
96             kernel, for those wanting to go proc-less.
97         * Tons of other bugfixes.
98
99
100          -Erik Andersen, 25 September 2000
101
102
103 0.46
104
105         * Better portability.  Now should compile cleanly with libc5, 
106             GNU libc 2.0 and 2.1, and various Linux kernels including 
107             2.0.x, 2.2.x, and to 2.4.0-test*. (patch for 2.4.x kernels
108             to make /proc/mounts behave included in the kernel-patches dir). 
109         * Fixed a _horrible_ bug where 'tar -tvf' could unlink
110             local files that matched tarball contents!!!  Fix thanks 
111             to Marius Groeger <mgroeger@sysgo.de>
112         * Fixed a nasty bug in tar when could mess up saved symlinks.
113         * Fixed tar creation support when reading from stdin ('tar -cf - . ') 
114             thanks to Daniel Quinlan <quinlan@transmeta.com>
115         * Updates to handle Linux 2.4.0 kernels (kludged around the
116             "none" entries in /proc/mounts, added a hack to make sysinfo
117             work with both old and new kernels).
118         * Fixed insmod module option parsing for options lacking an '='.
119             Fix thanks to Marc Nijdam <marc_nijdam@hp.com>
120         * Fixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport.
121             Fix thanks to Arne Bernin <arne@matrix.loopback.org>
122         * Several fixes from Marius Groeger <mag@sysgo.de>
123             - Added support for "sh -c command args..."
124             - Fixed globbing, i.e. 'echo * *' and 'echo "******"' now work.
125             - Added shell environment variable substitution 
126             - Added the "read" shell builtin.
127         * Fixed cursor editing in cmdedit.c. The following keyboard sequence 
128             used to create an infinite loop: ls, cursor up, left, down.
129         * Added support for being a login shell, so things like
130             '-su' or '-sh' (stuff where argv[0][0]=='-') will now always 
131             invoke the shell.  Now you can use BusyBox as a login shell.
132         * ls.c now ignores '-g', since some ftp clients like that sort 
133             of thing.  Patch thanks to David Vrabel <dvrabel@arcom.co.uk>
134         * Fix to init.c from Stuart Menefy <Stuart.Menefy@st.com> so that
135             it always sets the controlling terminal before running any programs
136         * Several fixes from Matt Kraai <kraai@alumni.carnegiemellon.edu>
137             - Fixed tr so it recognizes standard escape sequences.  
138                 Merged common escape seq. code from tr and echo into utility.c.
139             - Major work in updating/cleaning up the docs, and getting the
140                 new SGML based docs into shape.
141             - cleanup of ar.c
142             - BusyBox should now poweroff when asked to do so.
143             - Fixed 'ln -n' and 'ln -s' so they both work properly.
144         * Reorganized signal names in kill.c for better architecture support 
145             -- patch thanks to simon wood <simon@mungewell.uklinux.net>
146         * In 0.43, backspace and delete worked properly, but with 0.45, 
147             it just echoed a ^? for backspace, and ^H for control-h.  This
148             was due to a broken macro in init.c, that is now fixed.
149         * Removed sfdisk from BusyBox.  It was buggy, fat, and we really
150             couldn't maintain it very well, so including it was not really
151             very appropriate.  Those wanting an fdisk are invited to
152             grab a copy from util-linux.
153         * Added 'dumpkmap' to allow people to dump a binary keymap, which can 
154             then be loaded in by 'loadkmap' -- submitted by
155             Arne Bernin <arne@matrix.loopback.org>
156         * Fixed NFS so it supports 2.4.x kernels and NFSv3.
157         * Brand, new versions of grep and sed which use libc regex routines,
158             thanks to Mark Whitley <markw@lineo.com>.  The hand-tooled 
159             "regexp.[ch]" files have been removed. Much help on these from 
160             Matt Kraai as well.
161
162
163          -Erik Andersen, 11 July 2000
164
165
166 0.45
167         * Now compiles vs libc5 (which can save lots of space for 
168             embedded systems).
169         * Added BB_FEATURE_TRIVIAL_HELP which compiles out most all of the
170             help messages (i.e --help).  Saves 17k over a full compile.
171         * Added cut and tr from minix, since due to the license change, 
172             we can now use minix code.  Minix tr saves 4k. 
173         * insmod now works.  It costs 29k, but imagine an initrd with a 
174             staticly linked busybox containing only insmod and sh, a few /dev 
175             entries, and a kernel module or two...  It doesn't get smaller
176             then this folks (I pity the fool that writes insmod in asm ;-).
177             Many kudos go to Ron Alder <alder@lineo.com> for finishing this off!
178         * Added a mini ar archive utility, especially written for BusyBox by 
179             Glenn McGrath <bug1@netconnect.com.au>
180         * Added mktemp, contributed by Daniel Jacobowitz <dan@debian.org>
181         * Added setkeycodes, for those that have wierd keyboard buttons.
182         * Added md5sum, uuencode and uudecode -- thanks to Alfred M. Szmidt 
183             <ams@trillian.itslinux.org> for contributing these.
184         * Added 'grep -v' option (inverted search) and updated 
185             docs accordingly.  -beppu
186         * Wrote which
187         * Replaced the telnet implementation with one written by 
188             Tomi Ollila <too@iki.fi> It works great and costs 3k.
189         * BusyBox sh (lash) now supports being used as a standalone shell.  When
190             BB_FEATURE_SH_STANDALONE_SHELL is defined, all the busybox commands may
191             be invoked as shell internals.  Best used when compiling staticly 
192             (i.e. DOSTATIC=true)
193         * BusyBox sh (lash) internals now behave as expected wrt pipes 
194             and redirects. 
195         * Fixed ping warnings -- fix from Sascha Ziemann <szi@aibon.ping.de>
196         * Fixed update segfault
197         * Fixed mknod -- minor number was always 0
198         * Fixed tar option parsing, so both "tar xvf foo.tar" and 
199             "tar -xvf foo.tar" now work (i.e. no "-" before options) 
200             (this was very broken in 0.43).
201         * Several contributions from Randolph Chung <tausq@debian.org>.
202             * cp/mv now accepts the -f flag
203             * tail can now accept -<num> commands (e.g. -10) for better 
204                 compatibility with the standard tail command
205             * added a simple id implementation; doesn't support sup. groups yet
206         * logname used getlogin(3) which uses utmp.  Now it doesn't. 
207         * whoami used getpwuid(3) which uses libc NSS.  Now it behaves. 
208         * Add support for "noatime" and "nodiratime" mount flags to mount.
209         * Changed 'umount -f' to mean force, and actually use umount2.
210         * Changed 'umount -l' to mean "Do not free loop device".
211         * Fixed basename to support stripping of suffixes.  Patch thanks
212             to xiong jianxin <jxiong@uiuc.edu>
213         * cp -fa now works as expected for symlinks (it didn't before)
214         * zcat now works (wasn't working since option parsing was broken)
215         * Renamed "mnc" to the more correct "nc" (for netcat).
216         * Makefile intelligence updates
217         * Changed the way init parses /etc/inittab entries to avoid problems
218             with commands that contain colons in them.  Fix thanks to 
219             Pavel Roskin <proski@gnu.org>
220         * Fixed a warning in utility.c due to char being unsigned on Linux/PPC, 
221             Fix thanks to Pavel Roskin <proski@gnu.org>
222         * Made "killall" complain (not error and exit) about processes that it 
223             cannot find by name -- Pavel Roskin <proski@gnu.org> 
224         * Fixed more and ps to have sensible terminal width defaults, thanks 
225             to Pavel Roskin.
226         * Fixed all fatalError() calls lacking a "\n", thanks to Pavel Roskin.
227         * Fixed a segfault in yes when no args were given -- Pavel Roskin.
228         * Simplified freeramdisk and added argument checking -- Pavel Roskin. 
229         * Fixed segfault caused by "touch -c"
230         * Fixed segfault caused by "rm -f"
231         * Fixed segfault caused by "ln -s -s" and similar abuses. Further fixes
232             and "--" support from Pavel Roskin.
233         * Fixed segfault caused by "cp -a -a" and similar abuses.
234         * Implemented "rm -- <foo>". Implementation fixed by Pavel Roskin.
235         * "which" rewritten to use stat(). Fixes to improve its compatability
236             with traditional implementations -- Pavel Roskin.
237         * "mount" now reports errors from nfsmount() and assumes NFS mount
238             if ':' is present in the device name - Pavel Roskin
239         * Fixed exit status for killall - Pavel Roskin
240         * Fixed 'swapon -a' and 'swapoff -a', which were broken.
241         * Fixed 'mount -a' so it works as expected.
242         * Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE)
243         * Implemented "ping -s", fixed error messages and argument parsing -
244             Pavel Roskin
245         * Syslogd will not go to background if "-n" is given. Better help
246             and argument checking -- Pavel Roskin
247         * Fixed a small bug that could cause tar to emit warning messages
248             and not extract the first file in a directory in some cases
249             of nested directories.  Thanks to Kevin Traas <kevin@netmaster.com>
250             for helping track this one down.
251         * More doc updates
252         * Fixed grep "Line too long" problem -- John Beppu
253         * Fixed 'grep -q -i B some_file' so it works
254         * math takes input from stdin if no args are given.  -- John Beppu
255         * math was renamed to dc.  Although it deviates from dc's behaviour,
256             this will probably be remedied in the future.  -- John Beppu
257
258
259          -Erik Andersen, June 21, 2000
260
261
262 0.44
263         Previously, an erronous announcement of BusyBox 0.44 was made, so to 
264         avoid possible confusion, we are skipping straight to 0.45, and calling
265         it good.
266
267          -Erik Andersen
268
269
270 0.43
271         * Major update to the provided documentation.
272         * Busybox now includes a shell!  It currently costs 7.5 k (plus an
273             additional 2.5 k if you compile in command line editing).  Handles
274             job control, has the usual set of builtins, and does everything
275             except for handling programming statements (if, while, etc...)
276         * Busybox can now work perfectly when /proc is disabled, thereby 
277             saving a bunch of memory (kernel /proc support is not thin).  This
278             is done by making use of some nice kernel patches I wrote up to
279             support the features that busybox requires and that /proc usually
280             provides.  To enable this, turn on BB_FEATURE_USE_DEVPS_PATCH and
281             patch your kernel with the devps patch in the kernel-patches/
282             directory. 
283         * Wrote basename, dirname, killall, and uptime.
284         * tar has been completely rewritten by me.  Both tar creation and 
285             extraction are now well behaved.  Costs 7.6k with all optional
286             tar features enabled, and 5k for just tar extraction support. 
287         * Added freeramdisk, which will free up all memory associated
288             with a ram disk.  Contributed by Emanuele Caratti <wiz@iol.it>
289             and then adjusted a bit by me.
290         * Added tr from John Lombardo <john@deltanet.com> 
291         * Added echo and test (from me).
292         * Added usleep contributed by Nicolas Pitre <nico@cam.org>
293         * BusyBox's bss size has been majorly reduced (was 384668, is now 28740).
294         * Several fixes from Pavel Roskin <proski@gnu.org>:
295             - When `tail' fails to open a file it now exits.
296             - When `syslogd' is given the `-n' option it should still use 
297                 fork() for running klogd.
298         * nslookup types are now changed to u_int32_t (instead of uint32_t)
299             changed per a patch from Pascal Bellard <pascal.bellard@ascend.com>
300         * Fixed "du" so it gives the same answers as GNU "du" (busybox du used 
301             to count hard-linked files more then once).  Many thanks to 
302             Friedrich Vedder <fwv@myrtle.lahn.de> for the fix.
303         * Removed /proc dependancies for init and free (while maintaining 
304             exactly the same functionality).  /proc takes up 90k of kernel 
305             space, so it is nice to avoid using it at all costs.
306         * init no longer tries to mount /proc (unless there is less the 1 meg 
307             free).  Use of /proc (or not) is policy that should be set up in 
308             /etc/fstab (or in hardcoded scripts), not in init.
309         * Fixed rebooting when init runs as an initrd.
310         * Fixes and updates from Karl M. Hegbloom  <karlheg@debian.org>
311             - update.c rewritten to look more like update-2.11
312             - moveed the inode hash out of du.c and into utility.c to make 
313                 it a common resource that can be used by other apps.
314             - cp_mv.c now checks inodes to see if a source and dest are
315                 the same, and prints an error (instead of endlessly looping).
316             - mv now attempts to do a rename, and will fall back to doing
317                 a copy only if the rename fails.
318             - Syslogd now supports multiple concurrent connections
319         * Several fixes from Pavel Roskin <proski@gnu.org>:
320             - Fixes to sort.  Removed "-g", fixed and added "-r"
321             - Fixes to the makefile for handling "strip"
322         * An initial telnet implementation was added by 
323             Randolph Chung <tausq@debian.org>.
324         * Fixed a bug where "sed 's/foo/bar/g'" (i.e. a script w/o a "-e")
325         * ps now supports BB_FEATURE_AUTOWIDTH, and can adjust its width
326             to match the terminal (defaults to width=79 when this is off).
327         * ps now accepts (and ignores) all options except for "--help" (which
328                 as would be expected displays help).
329         * Fixed mount'ing loop devices when the filesystem type was not 
330             specified.  It used to revert to non-loop after the first try.
331         * all mallocs now use xmalloc (and so are OOM error safe), and
332             the common error handling saves a few bytes.  Thanks to 
333             Bob Tinsley <bob@earthrise.demon.co.uk> for the patch.
334         * Fix "+" parsing bug in date, from "Merle F. McClelland" <mfm@cts.com>.
335         * Fix symlink following bug in chmod -R and friends.  
336         * Now allows SYSV style 'chown foo:bar' in addition to 'chown foo.bar'
337         * Fixed a bug in the busybox globbing routine such that 'find /dir -name [i]' 
338             no longer segfaults.
339
340
341         -Erik Andersen
342
343
344 0.42
345
346         * Fairly massive restructuring of umount.c to deal with remounting 
347           busy devices read-only. Adds a -r option to control that; it is 
348           optionally compiled in with BB_FEATURE_REMOUNT
349         * Added a bunch of functions to mtab.c to interact with the
350           {get,set,end}mntent interface; as it turns out, those functions do
351           not appear to be re-entrant, and that causes a lot of problems with
352           the way umount was originally written.
353         * Makes init send TERM and KILL (instead of HUP and KILL) on reboot
354           to be more consistent with sysvinit
355         * Changes to init.c to use the new -r option to umount. Also increased
356           the sleep time between the time the TERM and KILL signals are sent
357
358         - Randolph Chung
359
360
361         * cp.c, mv.c: removed, replaced by cp_mv.c which has been
362             extensively rewritten from the original cp.c.
363         * Fixed cp and mv so if the source and destination are a the
364             same directory it will print an error and continue.
365         * Also added a warning message to the `mv' usage string saying that
366             this is not GNU mv, and it will break hard links. cp also breaks
367             hard links.
368         * ln.c: implemented `-n' switch, no-deref symlinks.
369         * include<sys/param.h>: and use PATH_MAX everywhere.  busybox: File
370         * name buffer overrun guards to prevent future crashes.
371             - Always check exit status.
372             - Purge all use of `creat()', replace with `open()'.
373         * utility.c 
374             - recursiveAction was overriding the value of followLinks thus
375               ignoring it.
376             - isDirectory now takes a followLinks boolean, updated all callers
377             - copyFile had the followLinks logic reversed.
378         * messages.c: New file. Put common error message strings all in
379             one place in an attempt to shrink the binary a little.
380
381         -Karl M. Hegbloom
382
383
384         * changed fsck_minix.c to reduce its .bss size significantly
385           -beppu -piptigger
386         * Made tar creation support in busybox tar optional.  You no longer
387         * _have_ to put a "-" in front of tar options.  Tar could inadvertently
388         * change permissions and ownership on
389             certain directories pointed to by symlinks.
390         * Made grep and grep -h do the right thing wrt printing
391             the file name (it failed to print files names in many cases).
392         * Fix a namespace aliasing problem wereby if du was built in, the 
393             symlink for both du and dutmp would be installed, or then rm was
394             built in, the symlinks for both rm and rmmod would be installed.
395         * Added a closelog() to init.c after loging -- fix thanks to 
396             Taketoshi Sano <kgh12351@nifty.ne.jp>
397         * Rewrote and simplified logger.  Added the "-t" option, and made it
398             behave itself a bit better.
399         * Optional support contributed by Ben Collins <bcollins@debian.org> 
400             for the kernel init chroot patch by Werner Almesberger, which
401             allows init to chroot to a new device, and umount the old one.
402         * Fixed bug that wouldn't let one chown a symlink -- it would
403             always dereference before.  -beppu
404         * Fixed a bug where init could have reference already freed memory.
405             Found and fixed by Taketoshi Sano <kgh12351@nifty.ne.jp>
406         * Several contributions from Friedrich Vedder <fwv@myrtle.lahn.de>
407         * Added (and documented) "-n" option for head
408         * Cleanup for a number of usage messages -- also 
409             contributed Friedrich Vedder <fwv@myrtle.lahn.de>
410         * Cosmetic fix to busybox.c (Don't print a comma at the
411             end of line if there are no more application names).
412         * Fixed a stupid bug in "head" option handling ("head -n" 
413             would segfault).
414         * Moved commonly used functions "xmalloc()" and "exit()"
415             to utility.c (with proper #ifdef's).
416         * Created a tiny tail implementation, removing -c, -q, -v, and making
417             tail -f work only with a single file.  This reduced tail from 6k to
418             2.4k.  The bigger/more featured tail can still be had by disabling
419             BB_FEATURE_SIMPLE_TAIL in busybox.defs.h
420         * Ping now falls back to doing the right thing if /etc/protocols
421             turns up missing.
422         * Fixed mount and umount.  Previously they could leak loop device 
423             allocations, causing the system to quickly run out.  Fix for umount
424             by Ben Collins <bcollins@debian.org>, and mount was fixed by me.
425         * ls formatting on eight charactor user names fixed by 
426             Randolph Chung <tausq@debian.org>.
427         * cp could, when copying symlinks, change permissions of the
428             files pointed to by the symlinks.
429         * Several fixes from Pavel Roskin <proski@gnu.org>:
430             - `chown' with 1 argument displayed the error incorrectly
431             - `fdflush', `length' and `printf' crashed if run without arguments
432             - `fdflush' tried to flush itself using *argv
433             - added "skip" and "seek" to dd.
434             - ls no longer messus up output when combining files and
435               directories on the command line 
436         * swapoff -a was not working.  Now it is.  
437         * init did not cleanly unmount filesystems on reboot.  Now it does.  
438         * "sed -ne s/foo/bar/" worked but "sed -n -e s/foo/bar/" didn't.
439             Now both work.
440         * Some architectures (PowerPc) assume chars are unsigned, so they could
441             not distinguish between EOF and '\0xFF' in sed.  Sed now uses ints.
442         * Began converting error handling to use some common routines
443             in utility.c
444         * syslogd now has better message handling and ignores SIGHUP.
445         * install.sh had a bug preventing installation to the specified
446             target directory.  Fix from Gilbert Coville <gilbert@mvista.com>
447         * You can now spefify alternative strip commands -- change 
448             also from Gilbert Coville.
449
450
451         -Erik Andersen
452
453 0.41
454         * New Apps: wc, hostid, logname, tty, whoami, yes -- all contributed 
455             by Edward Betts <edward@debian.org>
456         * Fixed a bug in both cp and mv preventing 'cp foo/README bar'
457             type commands (file in a directory to another directory) from
458             working.
459         * Fixed a logger bug that caused garbage to be written to the syslog 
460             (unless you used busybox syslog, which hid the bug).  Thanks to
461             Alex Holden <alex@linuxhacker.org> for the fix.
462         * /bin/true and /bin/false were echoing a blank line when run.  
463             Now fixed.
464         * mkdir -p would print an error when asked to mkdir an existing dir
465             with no interveining subdirectories.
466         * Fixed "syslogd -O" so that it works.  Added -o loop option for mount,
467         * and support in umount for loop
468           devices. Support is toggled by MOUNT_LOOP feature -- Ben Collins
469           <bcollins@debian.org>
470         * Several fixes from Marco Pantaleoni <panta@prosa.it> compile in
471         * fullWrite() not only if BB_TAR is defined, but also
472                 if BB_CP or BB_MV are (fullWrite() is referenced by copyFile())
473             * add some compiler optimizations to further reduce executable size
474                 (as a side note, on my machines the largest code is generated
475                 by gcc 2.95.2 with -Os ! The smallest by plain gcc 2.7.2.3 with
476                 -O2 -m386 ...)
477             * Compile now won't fail if busybox.def.h defines 
478                 BB_FEATURE_LINUXRC but not BB_INIT.  (init_main used to be
479                 referenced, but not compiled)
480         * Fixed a bug in setting TERM for serial console support.  TERM now
481             defaults to "ansi" for serial consoles.
482         * Fixed a bug in handling the CONSOLE env. variable for serial
483         * consoles.
484
485         -Erik Andersen, Jan 15, 2000
486
487 0.40
488         * New Apps: sort, uniq. -beppu New Apps: lsmod, rmmod -erik New Apps:
489         * fbset contributed by Randolph Chung <tausq@debian.org>.  New App::
490         * loadacm contributed by Peter Novodvorsky <petya@logic.ru>
491             for loading application character maps for Unicode fonts.
492         * Major init re-work.  init now supports inittab (slightly different
493             but similar to sysvinit), allowing me to get all the policy out of
494             init and into the conf file.  It works just fine without inittab
495             being present, but if you dont like the default behavior you can
496             now do something about it.  Init is much cleaner as a result.
497         * Fixed an bug in syslogd causing it to stop after 20 minutes. -erik
498         * Fixed an embarrasing segfault in head -beppu Fixed the embarrasing
499         * failure of 'logger -p'. -erik Added the -s option to du -beppu
500         * Re-worked the source tree a bit so it will compile under glibc 2.0.7 
501             with the 2.0.x Linux kernel.
502         * Added 'grep -q' thanks to a patch from "Konstantin Boldyshev" 
503             <konst@voshod.com>.
504         * Grep -i previously failed on UPPER CASE patterns due to a silly 
505             regexp implementation bug that is now fixed.
506         * Fixed a bug where tar would set, and then clear SGID and SUID bits.
507         * Fixed a bug where tar would not set the user and group on device
508             special files.
509         * Fixed a bug where tar would not restore the time to files.  Fixed a
510         * major security problem with tar -- it changed ownership 
511             of any file pointed to by a symlink to 777 (like say libc....)
512             Ouch!!!
513         * cp and mv were very broken when moving directories.  I have rewritten 
514             them so they should now work as expected. 
515         * sed now supports addresses (numeric or regexp, with negation) and 
516             has an append command, thanks to Marco Pantaleoni <panta@prosa.it>
517         * Fixed dmesg.  It wasn't parsing its options (-n or -s) properly.
518         * Some cosmetic fixes to ls output formatting to make it behave more
519             like GNU ls.
520         * Fixed a stupid segfault in kill.  Several fixes from Friedrich Vedder
521         * <fwv@myrtle.lahn.de>:
522             - Added gunzip -t, removed gunzip.c dead code,
523             - fixed several typos
524             - Glibc 2.0.7 and libc5 compile fixes
525         * Fixed a bug where 'mknod --help' would segfault.
526             
527
528         -Erik Andersen, Jan 07, 2000
529
530 0.39 
531         * New Apps: ping, hostname, and mkfifo contributed by Randolph Chung
532             <tausq@debian.org>.  3 items off the TODO list!
533         * I wrote free (just calls "cat /proc/meminfo").  Added tail, based on
534         * tail from GNU textutils-1.19, but adjusted
535             to suit my evil purposes.  Costs 6k.  I'll make it smaller
536             sometime.
537         * on reboot, init called 'umount -a -n', which caused errors
538             when BB_MTAB was not enabled.  Changed to 'umount -a', which does
539             the right thing.
540         * init will now try to run /sbin/getty if it is present (for easy
541             integration with the about-to-be-released tinylogin.)
542         * kill now behaves itself properly, added 'kill -l' to list signals 'ls
543         * -l' was failing on long directories, since my_getid was leaking 
544             one file descriptor per file.  Oops.
545         * Fixed rebooting from init.  I'd accidently left some debugging code
546         * in
547             which blocked reboots.
548         * Fixed reboot, halt (and added poweroff) such that they handle it when
549             init is not at PID 1 (like when running in an initrd).
550         * Added a prelinary du implementation.  Some parameter parsing
551             stuff still needs to be added. -beppu (John Beppu
552             <beppu@lineo.com>)
553         * Implemented tee.  -beppu Implemented head. -beppu
554
555         -Erik Andersen, Dec 10, 1999
556
557 0.38
558         * Fixed a segfault in 'umount -a' when a badly formed /etc/fstab
559             file existed.
560         * df will not exit on error, but will stat all mounted filesystems.
561         * Fixed tar so uid/gid/permissions on extracted tarballs will be 
562             correct.
563         * Fixed find -name so it properly uses shell wildcard patterns 
564             (i.e. `*', `?', and `[]') instead of regular expressions, which
565             was causing some confusing and unexpected behavior.
566         * Added klogd to syslogd, so now the log will contain both system and
567             kernel messages.
568         * syslogd now creates the /dev/log socket to make sure it is there, and
569             is actually a socket with the right permissions.
570         * I've taken a first step to making busybox not need the /proc 
571             filesystem.  Most apps don't need it.  Those that _require_ it, 
572             will complain if you enable them when you disable 
573             BB_FEATURE_USE_PROCFS.
574            
575         -Erik Andersen, Dec 5, 1999
576
577 0.37
578         * Wrote a micro syslogd, and a logger util (to log things to the syslog
579             from the command line or scripts)  With both compiled in, costs 4k.
580         * Fixed 'make install' so symlinks are installed in their proper
581         * locations.  Changed the build system slightly so that features can
582         * now be enabled
583             or disabled from the busybox.defs.h header file, without trying to
584             compile in a source file named after that featue (unless that file
585             exists).
586         * Several options are now moved into busybox.defs.h Now 'rm -R' and 'rm
587         * -r' both work.  dd now properly handles input beyond 1 block from
588         * stdin.  Fixed a bug where tar unpacked everything a directories.
589         * Moved some code 
590             from createPath into mkdir where it belonged, thereby making tar
591             work properly.
592         * Fixed an off-by-one bug in cat.  Given a list of file it wouldn't cat
593         * out the
594             last file in the list.
595         * Fixed 'ls -ln' so numeric group/uid are presented properly, and fixed
596         * 'ls -l' 
597             so when uid/gid is not in /etc/{passwd,group} the numeric group/uid
598             are presented properly.  
599         * Also added a TODO.
600
601
602         -Erik Andersen, Nov 25, 1999
603
604 0.36
605         * fixed dd so it properly defaults to stdin and stdout when no 
606             if= and of= are set (fix thanks to Eric Delaunay).
607         * Don't try to close the file descriptor of a pipein tar. (fix also
608         * from
609             Eric Delaunay).
610         * Made createPath be quiet (again thanks to Eric Delaunay).  If
611         * BB_CONSOLE_CMD_IF_RC_SCRIPT_EXITS is defined, then whatever
612             command you define it as will be run if the init script exits.
613         * Updated install.sh to make it more robust (thanks to Adam Di Carlo)
614         * NFS support added to mount by Eric Delaunay.  It costs 10k when
615         * compiled
616             in, but that is still a big win for those that use NFS.
617         * Made 'rm -f' be silent for non-existant files (thanks to Eric
618         * Delaunay).  changed zcat.c to gunzip.c.  It now obeys the principle
619         * of least surprise 
620             and acts as god intended gunzip and zcat to act.  They answer
621             --help and obey the '-c' flag.
622         * Fixed a bug in mv which caused it to not move files when the
623         * destination
624             was a directory.
625         * Fixed a decimal-instead-of-octal bug causing mkdir to make
626         * directories
627             with very wrong permissions.
628         * chmod would overwrite file permissions instead of modifying them.
629             Now it properly modifies permissions.
630         * Init now sends warnings destined for the console to /dev/console to
631         * ensure
632             they show up on whatever the active console it.  Otherwise
633             important messages (for example that the system is rebooting) were
634             not seen when switched to a different VT.
635
636         -Erik Andersen, Nov 17, 1999
637         
638 0.35
639         * gzip now obeys the principle of least surprise and acts like god
640         * intended 
641             (i.e. it accepts a file name, answers --help, and obeys the '-c'
642             flag and only then outputs to stdout).
643         * Fixed more.c to compile autowidth on sparc and set initial winsize 
644             to 0,0 in case the TIOCGWINSZ ioctl fails.  Fix thanks to Eric
645             Delaunay.
646         * Fixed tar so it now works as expected (it had TRUE/FALSE backwards)
647         * tar now accepts --help chmod, chown, and chgrp usage now works
648         * General usage (i.e. --help) cleanups for most apps umount now parses
649         * options correctly tar can now unpack tarballs containing device
650         * special files, 
651             sockets, and fifos (though it can't pack them up) thanks to Matt
652             Porter.  Creating archives containing these is still left to the
653             interested student.
654         * fixed up the license in more.c to properly point to Bruce Perens.
655
656         -Erik Andersen, Nov  11, 1999
657
658 0.34
659         * ls -l now displays link names outside the current directory,
660             Patch thanks to Eric Delaunay
661         * init now properly handles sparc serial consoles and does a
662             better job of finding the real console device rather than using
663             /dev/console which doesn't support job control. Patch also thanks
664             to Eric Delaunay.
665         * more started to read from stdin after the last file was finished, and 
666             options were not parsed correctly (fix thanks to Eric Delaunay).
667         * more will now use the terminal size if BB_FEATURE_AUTOWIDTH is on.
668         * rm wouldn't remove a symlink unless the symlink was valid.  This was
669             a side effect of the busybox 0.32 recursiveAction() fix.  Things
670             should now work correctly.
671         * grep wouldn't grep stdin.  Now it does.  sed wouldn't sed stdin.  Now
672         * it does.  sed was appending a \n to the end of lines with
673         * replacements.
674             Now it doesn't do that.
675         * ls -l now bypasses libc6 nss when displaying user/group names.
676             Now uses my_getpwuid and my_getgrgid.
677
678          -Erik Andersen, Nov  8, 1999
679
680 0.33
681         * Fixed a bug where init could hang instead of rebooting.
682         * Removed some debugging noise from init.c
683         * Fixed ln so it works now (it was very broken).
684         * Fixed df so it won't segfault when there is no /etc/fstab,
685         * If BB_MTAB is not defined, df and mount will whine if /etc/fstab
686             is not installed (since they cannot fixup "/dev/root" to 
687             state the real root device name)
688         * merged some redundant code from mtab.c/df.c into utility.c
689
690          -Erik Andersen, Nov  5, 1999
691
692 0.32
693         * More changes -- many thanks to Lineo for paying me to work on
694             busybox.  If you have any problems please let me know ASAP at
695             andersen@lineo.com or andersee@debian.org
696         * usage() now prints the BusyBox version.  This will help folks
697             realize that they are not in Kansas anymore.
698         * Fixed mkdir -m option so that it works.  kill segfaulted w/o any
699         * arguments.  Now it doesn't do that.  kill wasn't properly accepting
700         * signal names.  It does now.  Added new apps chvt and deallocvt (I
701         * should probably add open) Major rewrite of init.c.  Code is now
702         * readable by mere mortals IMHO.  Wrote sed -- weighs only 1.8k (5.8k
703         * with full regular expressions!).  Fixed a stupid seg-fault in sync
704         * Fixed mount -- mount -a failed to parse and apply mount options Fixed
705         * umount -n (patch thanks to Matthew Grant <grantma@anathoth.gen.nz>)
706         * umount -a no longer umounts /proc Added BB_MTAB, allowing (at the
707         * cost of ~1.5k and the need for a rw /etc)
708             folks to use a real /etc/mtab file instead of a symlink to
709             /proc/mounts.  mount, and umount will add/remove entries and df
710             will now use /etc/mtab if BB_MTAB is defined. 
711         * Fixed a nice bug in recursiveAction() which caused it to infinitely
712             hunt through /proc/../fd/* creating new file descriptors if it
713             followed the /dev/fd link over to /proc.  recursiveAction() now
714             lstat's the file when followLinks==FALSE so it won't follow links
715             as the name suggests.  Fix thanks to Matt Porter
716             <porter@debian.org>.
717
718
719          -Erik Andersen, Nov  4, 1999
720
721 0.31
722         * I added a changelog for version 0.30.  adjusted find internals to
723         * make it smaller, and removed 
724             some redundancy.
725         * Fixed a segfault in ps when /etc/passwd or /etc/group 
726             are absent.  Now will warn you and carry on.
727         * Added in optional _real_ regular expression support (to be
728             the basis for a future sed utility).  When compiled in it adds
729             3.9k, but makes grep much more capable.
730         * Checked out using nftw(3) for recursive stuff, but unfortunatly
731             it wasn't supported before GNU libc 2.1, and some folks use glibc
732             2.0.7 since it is much smaller than that latest and greatest.
733
734          -Erik Andersen, Oct 21, 1999
735
736 0.30
737         Major changes -- lots of stuff rewritten. Many thanks to Lineo for
738         paying me to make these updates. If you have any problems with busybox, 
739         or notice any bugs -- please let me know so I can fix it.  These 
740         changes include:
741
742         Core Changes:
743             * busybox can now invoke apps in two ways: via symlinks to the
744                 busybox binary, and as 'busybox [function] [arguments]...'
745             * When invoked as busybox, the list of currently compiled in 
746                 functions is printed out (no this is not bloat -- the list has
747                 to be there anyway to map invocation name to function).
748             * busybox no longer parses command lines for apps or displays their
749                 usage info.  Each app gets to handle (or not handle) this for
750                 itself.
751             * Eliminated monadic, dyadic, descend, block_device, and 
752                 postprocess.  It was cumbersome to have so many programs
753                 cobbled together in this way.  Without them, the app is much
754                 more granular.
755             * All shared code now lives in utility.c, and is properly
756                 ifdef'ed to be only included for those apps requiring it.
757             * Eliminated struct FileInfo (the basis of monadic, dyadic, etc)
758                 so now each app has the function prototype of (da-dum): extern
759                 int foo_main(int argc, char** argv); which speeds integration
760                 of new apps.
761             * Adjusted the Makefile to make it easier to 
762                 {en|dis}able debugging.
763             * Changed default compiler optimization to -Os 
764                 (optimize for smaller binaries).
765
766         App Changes:
767             * To cope with the new app function prototype and the removal of
768                 monadic, dyadic, etc, the following apps were re-written:
769                     * cat - Works same as always.  chgrp, chmod, chown -
770                     * rewrite.  Combined into a single 
771                         source file.  Absorbed patches from Enrique Zanardi
772                         <ezanard@debian.org> that removes the dependency on
773                         libc6 libnss* libraries.
774                     * cp - Can now do 'cp -a' can can copy devices,
775                         pipes, symlinks, as well as recursive or non-recursive
776                         dir copies.
777                     * fdflush - adjusted to remove dependancy on struct
778                     * FileInfo.  find - Now includes some basic regexp matching 
779                         which will be the basic of a future mini-sed.
780                     * ln - Same functionality.  mkdir - Added -p flag to
781                     * feature set.  mv - rewrite.  rm - Added -f flag to
782                     * feature set.  rmdir - Same functionality.  swapon,
783                     * swapoff - Combined into a single binary. No longer
784                         uses /etc/swaps.  swap{on|off} -a uses /etc/fstab
785                         instead.
786                     * touch - Same functionality.  date - adjusted with a patch
787                     * from Matthew Grant <grantma@anathoth.gen.nz>
788                 to accomodate glibc timezone support.  I then ripped out GNU
789                 getopt.
790             * mkswap -- new version merged from util-linux.  Can now make 
791                         >128Meg swaps.  
792                 * Replaced the old and star, unstar, and tarcat with the tar 
793                         implementation from sash.   Now tar behaves as god intended it
794                         to (i.e. tar -xvf <file> and tar -cf <file> <dir> work).
795             * dd -- rewritten.  Can with with files, stdin, stdout.  Added the
796             * following new apps: loadfont -- added from debian boot floppies
797             * chroot -- added based on a patch from Paolo Molaro
798             * <lupus@lettere.unipd.it> grep -- I just wrote it.  Only matches
799             * simple strings ps -- I just wrote it.  Has _no_ options at all,
800             * but works.  fsck_minix, mkfs_minix -- added from util-linux, but
801             * I ripped out
802                         internationalization and such to make them smaller.
803                     * sfdisk -- Added from util-linux (minus
804                     * internationalization and such).  Probably some other
805                     * changes that I forgot to document...
806
807          -Erik Andersen, Oct 20, 1999
808
809 0.29    
810         This version was a messy pre-alpha.  stay away or it will bite you.
811          -Erik Andersen, Sep 24, 1999
812         
813 0.28    
814         mini-netcat (mnc) rewritten.
815         
816 0.27
817         Mount now supports -a, and -t auto.
818         Mount now updates mtab correctly for 'ro'.
819         More checks screen rows size, outputs bytes percentage.
820         Printf added as module.
821 0.26
822         Touch now creates files. -c option for no create.
823