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