📄 changelog
字号:
hard links. * Matt Kraai -- logger now logs all arguments, not just the first * Gennady Feldman -- syslogd no longer logs to localhost if compiled for remote logging... * Richard June <rjune@ims1.imagestream-is.com> -- support for 'gzip -d' * various artists -- Other good stuff that I forgot to document. -Erik Andersen, 13 December 20000.47 * A bug in syslogd was fixed that allowed it to potentially fork-bomb your system. Anyone using 0.46 syslogd should upgrade. * Renamed busybox.defs.h to the more sensible "Config.h" * Improved portability between different libcs. * Many apps ported to use getopt() * Common handling of '--help' * All usage messages centralized. * Added a bunch of new commands: * 'rdate' contributed by Sterling Huxley <sterling@europa.com> * 'wget' contributed by Chip Rosenthal <chip@unicom.com>, <crosenth@covad.com> and Covad Communications * 'getopt' from "Alfred M. Szmidt" <ams@trillian.itslinux.org> * dos2unix, unix2dos, reset, and unrpm.c (and lots of help debugging) thanks to Kent Robotti <robotti@metconnect.com>. * 'renice' command, thanks to Dave Cinege <dcinege@psychosis.com> * 'xargs' (written by me) * 'expr' contributed by Edward Betts <edward@debian.org>, based on GNY expr * lsmod now uses the query_module syscall, rather then /proc (me) * syslogd can now log messages to remote hosts -- patch thanks to Gyepi Sam <gyepi@praxis-sw.com> * chroot can now call the builtin shell - Pavel Roskin <proski@gnu.org> * 'make install' now creates relative symlinks, and added a new 'make install-hardlinks' target to (tada) install hardlinks. * Rewrite of 'tail' to make it simpler, smaller, and more robust. It now weighs only 2.25k (3k when full featured). The code is cleaner too, thanks to Allen Soard <esp-software@mail.hypermart.net> * Add optional ls file sorting, thanks to a patch from Sterling Huxley <sterling@europa.com> * Fixed chmod option parsing so things like 'chmod -r /tmp/file' now work (previously it thought -r was an option). Doh! * Fixed tar handling of stdin and stdout * Renamed "internal.h" to the more sensible "busybox.h" * Preliminary support for GNU HURD. * Updated my devps and devmtab kernel patches for the latest 2.2.x kernel, for those wanting to go proc-less. * Tons of other bugfixes. -Erik Andersen, 25 September 20000.46 * Better portability. Now should compile cleanly with libc5, GNU libc 2.0 and 2.1, and various Linux kernels including 2.0.x, 2.2.x, and to 2.4.0-test*. (patch for 2.4.x kernels to make /proc/mounts behave included in the kernel-patches dir). * Fixed a _horrible_ bug where 'tar -tvf' could unlink local files that matched tarball contents!!! Fix thanks to Marius Groeger <mgroeger@sysgo.de> * Fixed a nasty bug in tar when could mess up saved symlinks. * Fixed tar creation support when reading from stdin ('tar -cf - . ') thanks to Daniel Quinlan <quinlan@transmeta.com> * Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries in /proc/mounts, added a hack to make sysinfo work with both old and new kernels). * Fixed insmod module option parsing for options lacking an '='. Fix thanks to Marc Nijdam <marc_nijdam@hp.com> * Fixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport. Fix thanks to Arne Bernin <arne@matrix.loopback.org> * Several fixes from Marius Groeger <mag@sysgo.de> - Added support for "sh -c command args..." - Fixed globbing, i.e. 'echo * *' and 'echo "******"' now work. - Added shell environment variable substitution - Added the "read" shell builtin. * Fixed cursor editing in cmdedit.c. The following keyboard sequence used to create an infinite loop: ls, cursor up, left, down. * Added support for being a login shell, so things like '-su' or '-sh' (stuff where argv[0][0]=='-') will now always invoke the shell. Now you can use BusyBox as a login shell. * ls.c now ignores '-g', since some ftp clients like that sort of thing. Patch thanks to David Vrabel <dvrabel@arcom.co.uk> * Fix to init.c from Stuart Menefy <Stuart.Menefy@st.com> so that it always sets the controlling terminal before running any programs * Several fixes from Matt Kraai <kraai@alumni.carnegiemellon.edu> - Fixed tr so it recognizes standard escape sequences. Merged common escape seq. code from tr and echo into utility.c. - Major work in updating/cleaning up the docs, and getting the new SGML based docs into shape. - cleanup of ar.c - BusyBox should now poweroff when asked to do so. - Fixed 'ln -n' and 'ln -s' so they both work properly. * Reorganized signal names in kill.c for better architecture support -- patch thanks to simon wood <simon@mungewell.uklinux.net> * In 0.43, backspace and delete worked properly, but with 0.45, it just echoed a ^? for backspace, and ^H for control-h. This was due to a broken macro in init.c, that is now fixed. * Removed sfdisk from BusyBox. It was buggy, fat, and we really couldn't maintain it very well, so including it was not really very appropriate. Those wanting an fdisk are invited to grab a copy from util-linux. * Added 'dumpkmap' to allow people to dump a binary keymap, which can then be loaded in by 'loadkmap' -- submitted by Arne Bernin <arne@matrix.loopback.org> * Fixed NFS so it supports 2.4.x kernels and NFSv3. * Brand, new versions of grep and sed which use libc regex routines, thanks to Mark Whitley <markw@codepoet.org>. The hand-tooled "regexp.[ch]" files have been removed. Much help on these from Matt Kraai as well. -Erik Andersen, 11 July 20000.45 * Now compiles vs libc5 (which can save lots of space for embedded systems). * Added BB_FEATURE_TRIVIAL_HELP which compiles out most all of the help messages (i.e --help). Saves 17k over a full compile. * Added cut and tr from minix, since due to the license change, we can now use minix code. Minix tr saves 4k. * insmod now works. It costs 29k, but imagine an initrd with a staticly linked busybox containing only insmod and sh, a few /dev entries, and a kernel module or two... It doesn't get smaller then this folks (I pity the fool that writes insmod in asm ;-). Many kudos go to Ron Alder <alder@lineo.com> for finishing this off! * Added a mini ar archive utility, especially written for BusyBox by Glenn McGrath <bug1@netconnect.com.au> * Added mktemp, contributed by Daniel Jacobowitz <dan@debian.org> * Added setkeycodes, for those that have wierd keyboard buttons. * Added md5sum, uuencode and uudecode -- thanks to Alfred M. Szmidt <ams@trillian.itslinux.org> for contributing these. * Added 'grep -v' option (inverted search) and updated docs accordingly. -beppu * Wrote which * Replaced the telnet implementation with one written by Tomi Ollila <too@iki.fi> It works great and costs 3k. * BusyBox sh (lash) now supports being used as a standalone shell. When BB_FEATURE_SH_STANDALONE_SHELL is defined, all the busybox commands may be invoked as shell internals. Best used when compiling staticly (i.e. DOSTATIC=true) * BusyBox sh (lash) internals now behave as expected wrt pipes and redirects. * Fixed ping warnings -- fix from Sascha Ziemann <szi@aibon.ping.de> * Fixed update segfault * Fixed mknod -- minor number was always 0 * Fixed tar option parsing, so both "tar xvf foo.tar" and "tar -xvf foo.tar" now work (i.e. no "-" before options) (this was very broken in 0.43). * Several contributions from Randolph Chung <tausq@debian.org>. * cp/mv now accepts the -f flag * tail can now accept -<num> commands (e.g. -10) for better compatibility with the standard tail command * added a simple id implementation; doesn't support sup. groups yet * logname used getlogin(3) which uses utmp. Now it doesn't. * whoami used getpwuid(3) which uses libc NSS. Now it behaves. * Add support for "noatime" and "nodiratime" mount flags to mount. * Changed 'umount -f' to mean force, and actually use umount2. * Changed 'umount -l' to mean "Do not free loop device". * Fixed basename to support stripping of suffixes. Patch thanks to xiong jianxin <jxiong@uiuc.edu> * cp -fa now works as expected for symlinks (it didn't before) * zcat now works (wasn't working since option parsing was broken) * Renamed "mnc" to the more correct "nc" (for netcat). * Makefile intelligence updates * Changed the way init parses /etc/inittab entries to avoid problems with commands that contain colons in them. Fix thanks to Pavel Roskin <proski@gnu.org> * Fixed a warning in utility.c due to char being unsigned on Linux/PPC, Fix thanks to Pavel Roskin <proski@gnu.org> * Made "killall" complain (not error and exit) about processes that it cannot find by name -- Pavel Roskin <proski@gnu.org> * Fixed more and ps to have sensible terminal width defaults, thanks to Pavel Roskin. * Fixed all fatalError() calls lacking a "\n", thanks to Pavel Roskin. * Fixed a segfault in yes when no args were given -- Pavel Roskin. * Simplified freeramdisk and added argument checking -- Pavel Roskin. * Fixed segfault caused by "touch -c" * Fixed segfault caused by "rm -f" * Fixed segfault caused by "ln -s -s" and similar abuses. Further fixes and "--" support from Pavel Roskin. * Fixed segfault caused by "cp -a -a" and similar abuses. * Implemented "rm -- <foo>". Implementation fixed by Pavel Roskin. * "which" rewritten to use stat(). Fixes to improve its compatability with traditional implementations -- Pavel Roskin. * "mount" now reports errors from nfsmount() and assumes NFS mount if ':' is present in the device name - Pavel Roskin * Fixed exit status for killall - Pavel Roskin * Fixed 'swapon -a' and 'swapoff -a', which were broken. * Fixed 'mount -a' so it works as expected. * Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE) * Implemented "ping -s", fixed error messages and argument parsing - Pavel Roskin * Syslogd will not go to background if "-n" is given. Better help and argument checking -- Pavel Roskin * Fixed a small bug that could cause tar to emit warning messages and not extract the first file in a directory in some cases of nested directories. Thanks to Kevin Traas <kevin@netmaster.com> for helping track this one down. * More doc updates * Fixed grep "Line too long" problem -- John Beppu * Fixed 'grep -q -i B some_file' so it works * math takes input from stdin if no args are given. -- John Beppu * math was renamed to dc. Although it deviates from dc's behaviour, this will probably be remedied in the future. -- John Beppu -Erik Andersen, June 21, 20000.44 Previously, an erronous announcement of BusyBox 0.44 was made, so to avoid possible confusion, we are skipping straight to 0.45, and calling it good. -Erik Andersen0.43 * Major update to the provided documentation. * Busybox now includes a shell! It currently costs 7.5 k (plus an additional 2.5 k if you compile in command line editing). Handles job control, has the usual set of builtins, and does everything except for handling programming statements (if, while, etc...) * Busybox can now work perfectly when /proc is disabled, thereby saving a bunch of memory (kernel /proc support is not thin). This is done by making use of some nice kernel patches I wrote up to support the features that busybox requires and that /proc usually provides. To enable this, turn on BB_FEATURE_USE_DEVPS_PATCH and patch your kernel with the devps patch in the kernel-patches/ directory. * Wrote basename, dirname, killall, and uptime. * tar has been completely rewritten by me. Both tar creation and extraction are now well behaved. Costs 7.6k with all optional tar features enabled, and 5k for just tar extraction support. * Added freeramdisk, which will free up all memory associated with a ram disk. Contributed by Emanuele Caratti <wiz@iol.it> and then adjusted a bit by me. * Added tr from John Lombardo <john@deltanet.com> * Added echo and test (from me). * Added usleep contributed by Nicolas Pitre <nico@cam.org> * BusyBox's bss size has been majorly reduced (was 384668, is now 28740). * Several fixes from Pavel Roskin <proski@gnu.org>: - When `tail' fails to open a file it now exits. - When `syslogd' is given the `-n' option it should still use fork() for running klogd. * nslookup types are now changed to u_int32_t (instead of uint32_t) changed per a patch from Pascal Bellard <pascal.bellard@ascend.com> * Fixed "du" so it gives the same answers as GNU "du" (busybox du used to count hard-linked files more then once). Many thanks to Friedrich Vedder <fwv@myrtle.lahn.de> for the fix. * Removed /proc dependancies for init and free (while maintaining exactly the same functionality). /proc takes up 90k of kernel space, so it is nice to avoid using it at all costs. * init no longer tries to mount /proc (unless there is less the 1 meg free). Use of /proc (or not) is policy that should be set up in /etc/fstab (or in hardcoded scripts), not in init.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -