blob: 8b0b0be1d8835e51e6738351f9a0be5e237f1ab5 [file] [log] [blame]
John Beppu935fb381999-12-15 19:35:02 +000010.40
2 * Added the -s option to du -beppu
3 * Fixed an embarrasing segfault in head -beppu
Erik Andersen4d1d0111999-12-17 18:44:15 +00004 * Fixed an bug in syslogd causing it to stop logging after 20 minutes. -erik
Erik Andersen3d7e3411999-12-16 23:04:20 +00005 * New Apps: lsmod, rmmod -erik
Erik Andersen1c5b2581999-12-16 20:59:36 +00006 * New Apps: fbset contributed by Randolph Chung <tausq@debian.org>.
Erik Andersen1c5b2581999-12-16 20:59:36 +00007 * Fixed the embarrasing failure of the -p opition in the logger app. -erik
Erik Andersen4d1d0111999-12-17 18:44:15 +00008 * Re-worked the whole source tree a bit so it will compile under glibc 2.0.7
9 with the 2.0.x Linux kernel.
Erik Andersen3fe2ecf1999-12-21 08:52:04 +000010 * Added 'grep -q' thanks to a patch from "Konstantin Boldyshev"
11 <konst@voshod.com>.
John Beppu00417a31999-12-23 22:46:10 +000012 * Implemented sort. -beppu
Erik Andersen69ba6b21999-12-27 23:56:17 +000013 * Fixed tar SGID and SUID bug. Seems that chown(2) clears S_ISUID and
14 S_ISGID, even when chown is called as root. I changed the ordering
15 of chown and chmod so SGID and SUID file permissions don't get munged.
Erik Andersen6f23cec1999-12-15 22:14:12 +000016
17 -Erik Andersen
John Beppu935fb381999-12-15 19:35:02 +000018
Eric Andersenabc0f4f1999-12-08 23:19:36 +0000190.39
Eric Andersen19db07b1999-12-11 08:41:28 +000020 * New Apps: ping, hostname, and mkfifo contributed by Randolph Chung
21 <tausq@debian.org>. 3 items off the TODO list!
Eric Andersenabc0f4f1999-12-08 23:19:36 +000022 * I wrote free (just calls "cat /proc/meminfo").
Eric Andersen1792f8c1999-12-09 06:11:36 +000023 * Added tail, based on tail from GNU textutils-1.19, but adjusted
Eric Andersen59248ba1999-12-11 04:21:50 +000024 to suit my evil purposes. Costs 6k. I'll make it smaller sometime.
Eric Andersen485b9551999-12-07 23:14:59 +000025 * on reboot, init called 'umount -a -n', which caused errors
26 when BB_MTAB was not enabled. Changed to 'umount -a',
27 which does the right thing.
Eric Andersenabc0f4f1999-12-08 23:19:36 +000028 * init will now try to run /sbin/getty if it is present (for easy
29 integration with the about-to-be-released tinylogin.)
30 * kill now behaves itself properly, added 'kill -l' to list signals
Eric Andersen1792f8c1999-12-09 06:11:36 +000031 * 'ls -l' was failing on long directories, since my_getid was leaking
32 one file descriptor per file. Oops.
Eric Andersen2cb55071999-12-10 08:25:07 +000033 * Fixed rebooting from init. I'd accidently left some debugging code in
Eric Andersenf0758dd1999-12-09 07:57:58 +000034 which blocked reboots.
Eric Andersen2cb55071999-12-10 08:25:07 +000035 * Fixed reboot, halt (and added poweroff) such that they handle it when
36 init is not at PID 1 (like when running in an initrd).
John Beppu29fcc901999-12-09 23:33:04 +000037 * Added a prelinary du implementation. Some parameter parsing
Eric Andersen59248ba1999-12-11 04:21:50 +000038 stuff still needs to be added. -beppu (John Beppu <beppu@lineo.com>)
John Beppuc5ff0161999-12-10 07:48:34 +000039 * Implemented tee. -beppu
40 * Implemented head. -beppu
Eric Andersen485b9551999-12-07 23:14:59 +000041
Eric Andersen664584b1999-12-11 23:25:59 +000042 -Erik Andersen, Dec 10, 1999
Eric Andersen485b9551999-12-07 23:14:59 +000043
Eric Andersenbb587021999-11-29 04:30:12 +0000440.38
45 * Fixed a segfault in 'umount -a' when a badly formed /etc/fstab
46 file existed.
Eric Andersend00c2621999-12-07 08:37:31 +000047 * df will not exit on error, but will stat all mounted filesystems.
Eric Andersen77619b91999-11-29 04:31:50 +000048 * Fixed tar so uid/gid/permissions on extracted tarballs will be correct.
Eric Andersenb186d981999-12-03 09:19:54 +000049 * Fixed find -name so it properly uses shell wildcard patterns
50 (i.e. `*', `?', and `[]') instead of regular expressions, which
51 was causing some confusing and unexpected behavior.
Eric Andersende1d6121999-12-03 15:14:25 +000052 * Added klogd to syslogd, so now the log will contain both system and
53 kernel messages.
Eric Andersen0ecb54a1999-12-05 23:24:55 +000054 * syslogd now creates the /dev/log socket to make sure it is there, and
55 is actually a socket with the right permissions.
Eric Andersend00c2621999-12-07 08:37:31 +000056 * I've taken a first step to making busybox not need the /proc
57 filesystem. Most apps don't need it. Those that _require_ it,
58 will complain if you enable them when you disable
59 BB_FEATURE_USE_PROCFS.
Eric Andersen0ecb54a1999-12-05 23:24:55 +000060
Eric Andersen664584b1999-12-11 23:25:59 +000061 -Erik Andersen, Dec 5, 1999
Eric Andersenbb587021999-11-29 04:30:12 +000062
Eric Andersen08b10341999-11-19 02:38:58 +0000630.37
Eric Andersenbefda6e1999-11-25 08:06:22 +000064 * Wrote a micro syslogd, and a logger util (to log things to the syslog
65 from the command line or scripts) With both compiled in, costs 4k.
Eric Andersenfa213cd1999-11-19 06:24:35 +000066 * Fixed 'make install' so symlinks are installed in their proper locations.
Eric Andersen5d44d1f1999-11-22 06:01:01 +000067 * Changed the build system slightly so that features can now be enabled
68 or disabled from the busybox.defs.h header file, without trying to
69 compile in a source file named after that featue (unless that file exists).
70 * Several options are now moved into busybox.defs.h
Eric Andersen08b10341999-11-19 02:38:58 +000071 * Now 'rm -R' and 'rm -r' both work.
Eric Andersenfa213cd1999-11-19 06:24:35 +000072 * dd now properly handles input beyond 1 block from stdin.
Eric Andersen394f7641999-11-23 21:38:12 +000073 * Fixed a bug where tar unpacked everything a directories. Moved some code
74 from createPath into mkdir where it belonged, thereby making tar work properly.
75 * Fixed an off-by-one bug in cat. Given a list of file it wouldn't cat out the
76 last file in the list.
Eric Andersen3843e961999-11-25 07:30:46 +000077 * Fixed 'ls -ln' so numeric group/uid are presented properly, and fixed 'ls -l'
78 so when uid/gid is not in /etc/{passwd,group} the numeric group/uid are
79 presented properly.
80 * Also added a TODO.
81
Eric Andersen08b10341999-11-19 02:38:58 +000082
Eric Andersen664584b1999-12-11 23:25:59 +000083 -Erik Andersen, Nov 25, 1999
Eric Andersen08b10341999-11-19 02:38:58 +000084
Eric Andersenb6a44b81999-11-13 04:47:09 +0000850.36
86 * fixed dd so it properly defaults to stdin and stdout when no
87 if= and of= are set (fix thanks to Eric Delaunay).
Eric Andersended62591999-11-18 00:19:26 +000088 * Don't try to close the file descriptor of a pipein tar. (fix also from
Eric Andersenb6a44b81999-11-13 04:47:09 +000089 Eric Delaunay).
90 * Made createPath be quiet (again thanks to Eric Delaunay).
91 * If BB_CONSOLE_CMD_IF_RC_SCRIPT_EXITS is defined, then whatever
92 command you define it as will be run if the init script exits.
Eric Andersended62591999-11-18 00:19:26 +000093 * Updated install.sh to make it more robust (thanks to Adam Di Carlo)
Eric Andersena9c95ea1999-11-15 17:33:30 +000094 * NFS support added to mount by Eric Delaunay. It costs 10k when compiled
95 in, but that is still a big win for those that use NFS.
96 * Made 'rm -f' be silent for non-existant files (thanks to Eric Delaunay).
Eric Andersend80e8511999-11-16 00:46:00 +000097 * changed zcat.c to gunzip.c. It now obeys the principle of least surprise
98 and acts as god intended gunzip and zcat to act. They answer --help and
99 obey the '-c' flag.
100 * Fixed a bug in mv which caused it to not move files when the destination
Eric Andersended62591999-11-18 00:19:26 +0000101 was a directory.
102 * Fixed a decimal-instead-of-octal bug causing mkdir to make directories
103 with very wrong permissions.
104 * chmod would overwrite file permissions instead of modifying them.
105 Now it properly modifies permissions.
106 * Init now sends warnings destined for the console to /dev/console to ensure
107 they show up on whatever the active console it. Otherwise important
108 messages (for example that the system is rebooting) were not seen when
109 switched to a different VT.
Eric Andersenb6a44b81999-11-13 04:47:09 +0000110
Eric Andersended62591999-11-18 00:19:26 +0000111 -Erik Andersen, Nov 17, 1999
Eric Andersenb6a44b81999-11-13 04:47:09 +0000112
Eric Andersend73dc5b1999-11-10 23:13:02 +00001130.35
Eric Andersen96bcfd31999-11-12 01:30:18 +0000114 * gzip now obeys the principle of least surprise and acts like god intended
115 (i.e. it accepts a file name, answers --help, and obeys the '-c' flag
116 and only then outputs to stdout).
117 * Fixed more.c to compile autowidth on sparc and set initial winsize
118 to 0,0 in case the TIOCGWINSZ ioctl fails. Fix thanks to Eric Delaunay.
Eric Andersend73dc5b1999-11-10 23:13:02 +0000119 * Fixed tar so it now works as expected (it had TRUE/FALSE backwards)
120 * tar now accepts --help
121 * chmod, chown, and chgrp usage now works
Eric Andersen96bcfd31999-11-12 01:30:18 +0000122 * General usage (i.e. --help) cleanups for most apps
Eric Andersend73dc5b1999-11-10 23:13:02 +0000123 * umount now parses options correctly
Eric Andersen96bcfd31999-11-12 01:30:18 +0000124 * tar can now unpack tarballs containing device special files,
125 sockets, and fifos (though it can't pack them up) thanks
126 to Matt Porter. Creating archives containing these is still
127 left to the interested student.
128 * fixed up the license in more.c to properly point to Bruce Perens.
Eric Andersend73dc5b1999-11-10 23:13:02 +0000129
Eric Andersen96bcfd31999-11-12 01:30:18 +0000130 -Erik Andersen, Nov 11, 1999
Eric Andersend73dc5b1999-11-10 23:13:02 +0000131
Eric Andersen07e52971999-11-07 07:38:08 +00001320.34
Eric Andersen84d85681999-11-10 20:17:47 +0000133 * ls -l now displays link names outside the current directory,
Eric Andersen07e52971999-11-07 07:38:08 +0000134 Patch thanks to Eric Delaunay
135 * init now properly handles sparc serial consoles and does a
Eric Andersen84d85681999-11-10 20:17:47 +0000136 better job of finding the real console device rather than using
Eric Andersen07e52971999-11-07 07:38:08 +0000137 /dev/console which doesn't support job control. Patch also
138 thanks to Eric Delaunay.
Eric Andersen50d63601999-11-09 01:47:36 +0000139 * more started to read from stdin after the last file was finished, and
140 options were not parsed correctly (fix thanks to Eric Delaunay).
Eric Andersen3d8dbe11999-11-09 01:51:02 +0000141 * more will now use the terminal size if BB_FEATURE_AUTOWIDTH is on.
Eric Andersen50d63601999-11-09 01:47:36 +0000142 * rm wouldn't remove a symlink unless the symlink was valid. This was
143 a side effect of the busybox 0.32 recursiveAction() fix. Things
144 should now work correctly.
145 * grep wouldn't grep stdin. Now it does.
146 * sed wouldn't sed stdin. Now it does.
147 * sed was appending a \n to the end of lines with replacements.
148 Now it doesn't do that.
149 * ls -l now bypasses libc6 nss when displaying user/group names.
150 Now uses my_getpwuid and my_getgrgid.
Eric Andersen07e52971999-11-07 07:38:08 +0000151
Eric Andersen96bcfd31999-11-12 01:30:18 +0000152 -Erik Andersen, Nov 8, 1999
Eric Andersen3e2bb281999-11-09 03:12:29 +0000153
Eric Andersenf14937d1999-11-06 03:02:42 +00001540.33
155 * Fixed a bug where init could hang instead of rebooting.
Eric Andersen29d2e361999-11-06 06:07:27 +0000156 * Removed some debugging noise from init.c
157 * Fixed ln so it works now (it was very broken).
158 * Fixed df so it won't segfault when there is no /etc/fstab,
159 * If BB_MTAB is not defined, df and mount will whine if /etc/fstab
160 is not installed (since they cannot fixup "/dev/root" to
161 state the real root device name)
162 * merged some redundant code from mtab.c/df.c into utility.c
Eric Andersenf14937d1999-11-06 03:02:42 +0000163
Eric Andersen96bcfd31999-11-12 01:30:18 +0000164 -Erik Andersen, Nov 5, 1999
Eric Andersendc6301e1999-11-06 07:34:50 +0000165
Eric Andersenfa0540f1999-10-22 18:18:31 +00001660.32
Eric Andersen99976851999-11-05 01:21:49 +0000167 * More changes -- many thanks to Lineo for paying me to work on
168 busybox. If you have any problems please let me know ASAP
169 at andersen@lineo.com or andersee@debian.org
170 * usage() now prints the BusyBox version. This will help folks
Eric Andersena07f0b01999-10-22 19:49:09 +0000171 realize that they are not in Kansas anymore.
Eric Andersenfa0540f1999-10-22 18:18:31 +0000172 * Fixed mkdir -m option so that it works.
Eric Andersena7093171999-10-23 05:42:08 +0000173 * kill segfaulted w/o any arguments. Now it doesn't do that.
174 * kill wasn't properly accepting signal names. It does now.
Eric Andersend0246fb1999-11-04 21:18:07 +0000175 * Added new apps chvt and deallocvt (I should probably add open)
176 * Major rewrite of init.c. Code is now readable by mere mortals IMHO.
Eric Andersenff719d61999-10-29 23:36:31 +0000177 * Wrote sed -- weighs only 1.8k (5.8k with full regular expressions!).
Eric Andersenbe971d61999-11-03 16:52:50 +0000178 * Fixed a stupid seg-fault in sync
Eric Andersend0246fb1999-11-04 21:18:07 +0000179 * Fixed mount -- mount -a failed to parse and apply mount options
Eric Andersencf8c9cf1999-11-05 00:31:46 +0000180 * Fixed umount -n (patch thanks to Matthew Grant <grantma@anathoth.gen.nz>)
181 * umount -a no longer umounts /proc
Eric Andersend0246fb1999-11-04 21:18:07 +0000182 * Added BB_MTAB, allowing (at the cost of ~1.5k and the need for a rw /etc)
183 folks to use a real /etc/mtab file instead of a symlink to /proc/mounts.
184 mount, and umount will add/remove entries and df will now use /etc/mtab
185 if BB_MTAB is defined.
Eric Andersencf8c9cf1999-11-05 00:31:46 +0000186 * Fixed a nice bug in recursiveAction() which caused it to infinitely
187 hunt through /proc/../fd/* creating new file descriptors if it
188 followed the /dev/fd link over to /proc. recursiveAction() now
189 lstat's the file when followLinks==FALSE so it won't follow links
190 as the name suggests. Fix thanks to Matt Porter <porter@debian.org>.
191
Eric Andersena7093171999-10-23 05:42:08 +0000192
Eric Andersen96bcfd31999-11-12 01:30:18 +0000193 -Erik Andersen, Nov 4, 1999
Eric Andersenfa0540f1999-10-22 18:18:31 +0000194
Eric Andersenaa0765e1999-10-22 04:30:20 +00001950.31
196 * I added a changelog for version 0.30.
197 * adjusted find internals to make it smaller, and removed
198 some redundancy.
199 * Fixed a segfault in ps when /etc/passwd or /etc/group
200 are absent. Now will warn you and carry on.
201 * Added in optional _real_ regular expression support (to be
Eric Andersen8eefd021999-10-22 05:18:28 +0000202 the basis for a future sed utility). When compiled in
203 it adds 3.9k, but makes grep much more capable.
Eric Andersen51f8c891999-10-22 05:14:44 +0000204 * Checked out using nftw(3) for recursive stuff, but unfortunatly
205 it wasn't supported before GNU libc 2.1, and some folks use
206 glibc 2.0.7 since it is much smaller than that latest and greatest.
Eric Andersenaa0765e1999-10-22 04:30:20 +0000207
Eric Andersen96bcfd31999-11-12 01:30:18 +0000208 -Erik Andersen, Oct 21, 1999
Eric Andersenaa0765e1999-10-22 04:30:20 +0000209
Eric Andersenc4996011999-10-20 22:08:37 +00002100.30
211 Major changes -- lots of stuff rewritten. Many thanks to Lineo for
212 paying me to make these updates. If you have any problems with busybox,
Eric Andersenaa0765e1999-10-22 04:30:20 +0000213 or notice any bugs -- please let me know so I can fix it. These
214 changes include:
215
216 Core Changes:
217 * busybox can now invoke apps in two ways: via symlinks to the
218 busybox binary, and as 'busybox [function] [arguments]...'
219 * When invoked as busybox, the list of currently compiled in
220 functions is printed out (no this is not bloat -- the list
221 has to be there anyway to map invocation name to function).
222 * busybox no longer parses command lines for apps or displays their
223 usage info. Each app gets to handle (or not handle) this for
224 itself.
225 * Eliminated monadic, dyadic, descend, block_device, and
226 postprocess. It was cumbersome to have so many programs
227 cobbled together in this way. Without them, the app is much
228 more granular.
229 * All shared code now lives in utility.c, and is properly
230 ifdef'ed to be only included for those apps requiring it.
231 * Eliminated struct FileInfo (the basis of monadic, dyadic, etc)
232 so now each app has the function prototype of (da-dum):
233 extern int foo_main(int argc, char** argv);
234 which speeds integration of new apps.
235 * Adjusted the Makefile to make it easier to
236 {en|dis}able debugging.
237 * Changed default compiler optimization to -Os
238 (optimize for smaller binaries).
239
240 App Changes:
241 * To cope with the new app function prototype and the removal of
242 monadic, dyadic, etc, the following apps were re-written:
243 * cat - Works same as always.
244 * chgrp, chmod, chown - rewrite. Combined into a single
245 source file. Absorbed patches from Enrique Zanardi <ezanard@debian.org>
246 that removes the dependency on libc6 libnss* libraries.
247 * cp - Can now do 'cp -a' can can copy devices,
248 pipes, symlinks, as well as recursive or non-recursive dir copies.
249 * fdflush - adjusted to remove dependancy on struct FileInfo.
250 * find - Now includes some basic regexp matching
251 which will be the basic of a future mini-sed.
252 * ln - Same functionality.
253 * mkdir - Added -p flag to feature set.
254 * mv - rewrite.
255 * rm - Added -f flag to feature set.
256 * rmdir - Same functionality.
257 * swapon, swapoff - Combined into a single binary. No longer
258 uses /etc/swaps. swap{on|off} -a uses /etc/fstab instead.
259 * touch - Same functionality.
260 * date - adjusted with a patch from Matthew Grant <grantma@anathoth.gen.nz>
261 to accomodate glibc timezone support. I then ripped out GNU getopt.
262 * mkswap -- new version merged from util-linux. Can now make >128Meg swaps.
263 * Replaced the old and star, unstar, and tarcat with the tar
264 implementation from sash. Now tar behaves as god intended
265 it to (i.e. tar -xvf <file> and tar -cf <file> <dir> work).
266 * dd -- rewritten. Can with with files, stdin, stdout.
267 * Added the following new apps:
268 * loadfont -- added from debian boot floppies
269 * chroot -- added based on a patch from Paolo Molaro <lupus@lettere.unipd.it>
270 * grep -- I just wrote it. Only matches simple strings
271 * ps -- I just wrote it. Has _no_ options at all, but works.
272 * fsck_minix, mkfs_minix -- added from util-linux, but I ripped out
273 internationalization and such to make them smaller.
274 * sfdisk -- Added from util-linux (minus internationalization and such).
275 * Probably some other changes that I forgot to document...
276
Eric Andersen96bcfd31999-11-12 01:30:18 +0000277 -Erik Andersen, Oct 20, 1999
278
2790.29
280 This version was a messy pre-alpha. stay away or it will bite you.
281 -Erik Andersen, Sep 24, 1999
Eric Andersenc4996011999-10-20 22:08:37 +0000282
Eric Andersen2ce1edc1999-10-12 15:42:48 +00002830.28
284 mini-netcat (mnc) rewritten.
285
Eric Andersencc8ed391999-10-05 16:24:54 +00002860.27
287 Mount now supports -a, and -t auto.
288 Mount now updates mtab correctly for 'ro'.
289 More checks screen rows size, outputs bytes percentage.
290 Printf added as module.
2910.26
292 Touch now creates files. -c option for no create.
Eric Andersenc4996011999-10-20 22:08:37 +0000293