Erik Andersen [Wed, 19 Apr 2000 20:02:50 +0000 (20:02 -0000)]
Add #include <sys/param.h> to syslogd.
-Erik
Erik Andersen [Wed, 19 Apr 2000 18:52:56 +0000 (18:52 -0000)]
Make the sys logger for so that concurrent logging will work
properly (see tests/syslog_test.c for example).
-Erik
Erik Andersen [Wed, 19 Apr 2000 05:15:12 +0000 (05:15 -0000)]
Fix email address
-Erik
Erik Andersen [Wed, 19 Apr 2000 05:12:02 +0000 (05:12 -0000)]
Minor doc change
-Erik
Erik Andersen [Wed, 19 Apr 2000 04:34:06 +0000 (04:34 -0000)]
Some emails I exchanged with Alan Cox and Linus re my /dev/ps
kernel patch. To summarize, it won't be going into the kernel.
-Erik
Erik Andersen [Wed, 19 Apr 2000 04:26:30 +0000 (04:26 -0000)]
Fix the makefile so docs get built
-Erik
Erik Andersen [Wed, 19 Apr 2000 03:59:10 +0000 (03:59 -0000)]
More minor updates to docs (and making apps behave as the docs
suggest they should)
-Erik
Erik Andersen [Wed, 19 Apr 2000 03:38:01 +0000 (03:38 -0000)]
make ps accept (and ignore) all options (--help works of course).
tar now works with or without the leading "-" on the options.
-Erik
Erik Andersen [Tue, 18 Apr 2000 23:51:51 +0000 (23:51 -0000)]
More stuff
-Erik
Erik Andersen [Tue, 18 Apr 2000 23:32:10 +0000 (23:32 -0000)]
Fix creation of /linuxrc
-Erik
Erik Andersen [Tue, 18 Apr 2000 22:41:30 +0000 (22:41 -0000)]
Really fix the killall segfault this time.
-Erik
Erik Andersen [Tue, 18 Apr 2000 22:09:06 +0000 (22:09 -0000)]
Fix symlink following bug in chmod -R and friends. Allow SYSV style
'chown foo:bar' in addition to 'chown foo.bar', and fix a bug in the
busybox globbing routine such that 'find /dir -name [i]' no longer
segfaults.
-Erik
Erik Andersen [Tue, 18 Apr 2000 21:18:57 +0000 (21:18 -0000)]
Fix stupid bug (wrong variable)
-Erik
Jim Gleason [Tue, 18 Apr 2000 20:40:38 +0000 (20:40 -0000)]
Reset DODEBUG to false
Erik Andersen [Tue, 18 Apr 2000 20:00:03 +0000 (20:00 -0000)]
More little stuff.
-Erik
Erik Andersen [Tue, 18 Apr 2000 18:38:29 +0000 (18:38 -0000)]
Fix killall
-Erik
Erik Andersen [Tue, 18 Apr 2000 01:09:29 +0000 (01:09 -0000)]
Remove debug noise
-Erik
Erik Andersen [Tue, 18 Apr 2000 00:00:52 +0000 (00:00 -0000)]
Updates
-Erik
John Beppu [Mon, 17 Apr 2000 17:49:44 +0000 (17:49 -0000)]
- grep -v ^\.PHONY < Makefile
+ busybox.def.h
BB_FEATURE_TRIVIAL_HELP
+ uname.c has an example of how BB_FEATURE_TRIVIAL_HELP
is to be applied.
John Beppu [Mon, 17 Apr 2000 17:46:46 +0000 (17:46 -0000)]
- removal of (stray|stealth) spaces
John Beppu [Mon, 17 Apr 2000 16:53:45 +0000 (16:53 -0000)]
+ no need for comments.
Erik Andersen [Mon, 17 Apr 2000 16:44:46 +0000 (16:44 -0000)]
Bugfixes.
-Erik
Erik Andersen [Mon, 17 Apr 2000 16:16:10 +0000 (16:16 -0000)]
More updates to the docs, and fixes to sync things with the docs.
-Erik
John Beppu [Mon, 17 Apr 2000 05:13:59 +0000 (05:13 -0000)]
+ added John Lombardo to AUTHORS section
John Beppu [Mon, 17 Apr 2000 04:41:15 +0000 (04:41 -0000)]
- got rid of the .PHONY: docs, because I didn't want it to
generate the qw(man html txt) documentation every time I
ran make.
Unfortunately, "make docs" never amounts to anything, because
make sees the docs/ directory and thinks, "oh, I don't have
to do any work". Maybe the target should be "doc" to make it
different from "docs"?
John Beppu [Mon, 17 Apr 2000 04:22:09 +0000 (04:22 -0000)]
+ in the interest of robustness, I added
utility.c :: cstring_alloc()
utility.c :: cstring_lineFromFile() /* they're at the bottom */
so that I could read in lines of arbitrary length from FILE*s
(instead of using fgets(huge_ass_buffer,...)).
+ I tested it out on sort, and it seems to be fine.
John Beppu [Mon, 17 Apr 2000 03:37:52 +0000 (03:37 -0000)]
+ added a .PHONY: docs
target
John Beppu [Sun, 16 Apr 2000 10:55:27 +0000 (10:55 -0000)]
+ fixed segfault when no parameters are given to math
John Beppu [Sun, 16 Apr 2000 10:22:28 +0000 (10:22 -0000)]
+ wrap things in B<> to make pod2man happy
Erik Andersen [Sat, 15 Apr 2000 16:37:45 +0000 (16:37 -0000)]
Turn off debugging
-Erik
Erik Andersen [Sat, 15 Apr 2000 16:34:54 +0000 (16:34 -0000)]
More documentation updates, and minor fixes to make things sync
up with the docs.
-Erik
Erik Andersen [Fri, 14 Apr 2000 21:45:29 +0000 (21:45 -0000)]
Fix a tar bug: tar removed leading '/'s for symlink targets.
Fix a syslogd bug: Only the first sizeof(buffer) was read from the
/dev/log socket, causing (for most cases) only every other log item to be logged.
-Erik
Erik Andersen [Fri, 14 Apr 2000 00:40:31 +0000 (00:40 -0000)]
Latest and greatest. Seems there is a bug.
-Erik
John Beppu [Thu, 13 Apr 2000 23:44:04 +0000 (23:44 -0000)]
+ minor whitespace oddities removed
+ re-alphabetized AUTHORS section
+ added Id tag at bottom
John Beppu [Thu, 13 Apr 2000 22:57:45 +0000 (22:57 -0000)]
+ VERSION wasn't being propagated to the sub-make happening in docs/
so I exported VERSION and invoked make with a -C docs
Erik Andersen [Thu, 13 Apr 2000 18:49:43 +0000 (18:49 -0000)]
More doc updates for BusyBox, with fixes to apps for bugs revealed
while trying to write docs . :-)
-Erik
John Beppu [Thu, 13 Apr 2000 03:36:01 +0000 (03:36 -0000)]
- the message that comes up when busybox is invoked
w/o parameters was extending beyond the 80th column
John Beppu [Thu, 13 Apr 2000 03:22:20 +0000 (03:22 -0000)]
+ a comment on line 1 w/ suggested pod2man invocation:
pod2man --center=Lineo --release="version 0.43" busybox.pod > busybox.1
John Beppu [Thu, 13 Apr 2000 03:16:01 +0000 (03:16 -0000)]
+ formatting modifications to make pod2man(1p) happy.
Erik Andersen [Thu, 13 Apr 2000 01:18:56 +0000 (01:18 -0000)]
Upates to include copyright 2000 to everything
-Erik
Erik Andersen [Thu, 13 Apr 2000 01:18:23 +0000 (01:18 -0000)]
Some docs
-Erik
Erik Andersen [Wed, 12 Apr 2000 17:49:52 +0000 (17:49 -0000)]
Some enhancements I've been working on over the weekend,
-Erik
Erik Andersen [Sun, 9 Apr 2000 18:27:46 +0000 (18:27 -0000)]
Make tab completion an option
-Erik
Erik Andersen [Sun, 9 Apr 2000 18:24:05 +0000 (18:24 -0000)]
More minor patches
-Erik
Erik Andersen [Sun, 9 Apr 2000 15:17:40 +0000 (15:17 -0000)]
This makes tar work perfectly, and adds in "--exclude" as an option
-Erik
Erik Andersen [Sat, 8 Apr 2000 20:58:35 +0000 (20:58 -0000)]
Fix tar checksum calculation bug.
-Erik
Erik Andersen [Sat, 8 Apr 2000 03:08:21 +0000 (03:08 -0000)]
Latest and greatest
-Erik
Erik Andersen [Fri, 7 Apr 2000 16:19:30 +0000 (16:19 -0000)]
Oops. Left in some debug noise.
-Erik
Erik Andersen [Fri, 7 Apr 2000 06:55:38 +0000 (06:55 -0000)]
Slightly better fringe case handling and GNU tar like error messages.
-Erik
Erik Andersen [Fri, 7 Apr 2000 06:00:07 +0000 (06:00 -0000)]
Patch to make killall actually kill all PIDs with the specified name,
rather then busylooping trying to kill the first one until it dies.
Should be more efficient now, and will only send one signal to each
specified process.
-Erik
Erik Andersen [Thu, 6 Apr 2000 08:06:36 +0000 (08:06 -0000)]
Some more minor updates to better use some gcc attributes.
-Erik
Erik Andersen [Thu, 6 Apr 2000 07:37:35 +0000 (07:37 -0000)]
Fix sed regexp replacement, which I had hosed (thanks to
Jim Gleason for finding and fixing the problem)
-Erik
Erik Andersen [Thu, 6 Apr 2000 07:25:44 +0000 (07:25 -0000)]
Fix time stamp style
-Erik
Erik Andersen [Thu, 6 Apr 2000 07:24:45 +0000 (07:24 -0000)]
Turn off static linking. Duh.
-Erik
Erik Andersen [Thu, 6 Apr 2000 00:10:39 +0000 (00:10 -0000)]
Use gcc -E instead of cpp to enhance portability for brain
damaged platforms (i.e. OpenLinux) that do not have cpp in
the default path but instead hide it under /usr/lib/...
-Erik
Erik Andersen [Wed, 5 Apr 2000 05:19:03 +0000 (05:19 -0000)]
Minor noise removal
-Erik
Erik Andersen [Wed, 5 Apr 2000 01:00:52 +0000 (01:00 -0000)]
Tar now works perfectly. It behaves much better now then it
used to. Only thing left to do is add in exclude (-X) option.
-Erik
Erik Andersen [Tue, 4 Apr 2000 18:52:02 +0000 (18:52 -0000)]
Oops. Forgot the usleep.c file.
/me dons a paper bag.
-Erik
Erik Andersen [Tue, 4 Apr 2000 18:49:18 +0000 (18:49 -0000)]
usleep contributed by Nicolas Pitre <nico@cam.org>
-Erik
Erik Andersen [Tue, 4 Apr 2000 18:39:50 +0000 (18:39 -0000)]
Update tar so creation of tarballs is much closer to working...
-Erik
Erik Andersen [Tue, 4 Apr 2000 18:36:37 +0000 (18:36 -0000)]
Minor structural change to allow core dumping(or not) from init
-Erik
Erik Andersen [Tue, 4 Apr 2000 18:14:25 +0000 (18:14 -0000)]
minor changes to mount/umount to support-by-ignoring the "-v" flag.
Added optional core dumping as a feature for init, and include a rewrite
of syslogd so that it now supports multiple concurrent connections.
-Erik
Erik Andersen [Tue, 28 Mar 2000 00:58:14 +0000 (00:58 -0000)]
Yet another installment in the ongoing tar saga
-Erik
Erik Andersen [Sun, 26 Mar 2000 14:03:20 +0000 (14:03 -0000)]
First stages of (re-)writing busybox's tar creation support.
-Erik
Erik Andersen [Sat, 25 Mar 2000 23:09:29 +0000 (23:09 -0000)]
Latest and greatest
-Erik
Erik Andersen [Fri, 24 Mar 2000 00:54:46 +0000 (00:54 -0000)]
The new tar for busybox is now done, and works just fine
for extracting files. Creation of tarballs is next...
-Erik
Erik Andersen [Thu, 23 Mar 2000 04:27:58 +0000 (04:27 -0000)]
More changes that are broken. It doesn't compile
yet, but is closer.
-Erik
Erik Andersen [Thu, 23 Mar 2000 01:09:18 +0000 (01:09 -0000)]
My latest ramblings.
-Erik
Erik Andersen [Wed, 22 Mar 2000 07:12:05 +0000 (07:12 -0000)]
Use the nice new find_real_root_device function to find the
name of the root device, instead of having libc read whatever
lies happen to be in /etc/mtab.
-Erik
Erik Andersen [Wed, 22 Mar 2000 00:58:54 +0000 (00:58 -0000)]
Add in a nifty function for mount to use.
-Erik
Erik Andersen [Tue, 21 Mar 2000 22:32:57 +0000 (22:32 -0000)]
* all mallocs now use xmalloc (and so are OOM error safe), and
the common error handling saves a few bytes. Thanks to
Bob Tinsley <bob@earthrise.demon.co.uk> for the patch.
-Erik
Erik Andersen [Tue, 21 Mar 2000 01:31:24 +0000 (01:31 -0000)]
Hmm. Missed this change
Erik Andersen [Mon, 20 Mar 2000 21:34:52 +0000 (21:34 -0000)]
Fix bug in memory total checking.
-Erik
Erik Andersen [Sun, 19 Mar 2000 10:46:06 +0000 (10:46 -0000)]
more minor fixes
-Erik
Erik Andersen [Sun, 19 Mar 2000 05:28:55 +0000 (05:28 -0000)]
Some more stuff.
-Erik
Erik Andersen [Sun, 19 Mar 2000 05:13:49 +0000 (05:13 -0000)]
Adjust the termio settings, and don't use octal since it
is impossible to read by mere mortals.
-Erik
Erik Andersen [Fri, 17 Mar 2000 20:49:55 +0000 (20:49 -0000)]
Minor update
Erik Andersen [Fri, 17 Mar 2000 01:12:41 +0000 (01:12 -0000)]
Several fixes.
-Erik
Erik Andersen [Thu, 16 Mar 2000 08:12:48 +0000 (08:12 -0000)]
Fix fg bug
-Erik
Erik Andersen [Thu, 16 Mar 2000 08:09:57 +0000 (08:09 -0000)]
Forgot these files...
-Erik
Erik Andersen [Thu, 16 Mar 2000 08:09:09 +0000 (08:09 -0000)]
Major build system updates...
-Erik
Erik Andersen [Tue, 14 Mar 2000 16:34:49 +0000 (16:34 -0000)]
Bug fix
-Erik
Erik Andersen [Mon, 13 Mar 2000 04:07:02 +0000 (04:07 -0000)]
Some bug fixes I forgot to check-in the other day.
Mounting loop devices w/o specifying the filesystem
type choked if it didn't guess right the first time.
-Erik
Erik Andersen [Sun, 12 Mar 2000 23:49:18 +0000 (23:49 -0000)]
First pass at writing a shell for busybox.
Works fine, full job control support, etc.
No syntax yet (if, then, while, etc). Handles
pipes and & processes fine.
TODO: add command editing, add syntax suport.
-Erik
Erik Andersen [Wed, 8 Mar 2000 14:50:47 +0000 (14:50 -0000)]
Change BB_FEATURE_USE_DEVPS_N_DEVMTAB to the simpler
BB_FEATURE_USE_DEVPS_PATCH.
-Erik
Erik Andersen [Wed, 8 Mar 2000 06:52:04 +0000 (06:52 -0000)]
First edition of my Busybox kernel patch. implements devps, devmtab, and
devmodules. With this patch, you can enable BB_FEATURE_USE_DEVPS_N_DEVMTAB and
have a completely full featured busybox without having to even compile /proc
into the kernel. I'm pretty proud of this patch. It has a few loose ends that
should be filled in sometime, but arn't used by busybox (so they arn't very
important).
-Erik
Erik Andersen [Wed, 8 Mar 2000 06:42:34 +0000 (06:42 -0000)]
Fixed up lsmod so it works with my devmodules kernel driver,
and with /proc.
-Erik
John Beppu [Wed, 8 Mar 2000 00:14:35 +0000 (00:14 -0000)]
+ changed a static array (FileList) into a dynamically allocated one
in an attempt to make the .bss section smaller.
Erik Andersen [Tue, 7 Mar 2000 23:32:17 +0000 (23:32 -0000)]
Fix bugs related to finding PIDs.
-Erik
Erik Andersen [Tue, 7 Mar 2000 07:58:57 +0000 (07:58 -0000)]
Fix up some #define stuff to ensure the Right Thing(tm)
happens with all combinations of BB_KILL and BB_KILLALL
being defined.
-Erik
Erik Andersen [Tue, 7 Mar 2000 07:48:53 +0000 (07:48 -0000)]
Add some description
-Erik
Erik Andersen [Tue, 7 Mar 2000 07:47:10 +0000 (07:47 -0000)]
Add a #define to make init extra quiet on boot.
-Erik
Erik Andersen [Tue, 7 Mar 2000 07:41:42 +0000 (07:41 -0000)]
Wrote killall.
Adjusted mount, ps, utility.c, etc to handle my nifty new kernel
patches the allow busybox to run perfectly without /proc.
-Erik
Erik Andersen [Mon, 6 Mar 2000 19:20:35 +0000 (19:20 -0000)]
Fixed a bug where "sed 's/foo/bar/g'" (i.e. a script w/o a -e)
would go into an infinite loop.
-Erik
Erik Andersen [Mon, 6 Mar 2000 18:34:48 +0000 (18:34 -0000)]
Oops. I left debugging turned on...
-Erik
Erik Andersen [Sun, 5 Mar 2000 08:16:03 +0000 (08:16 -0000)]
Oops. Forgot to add in uptime when I added uptime.
Here it is in all its /proc free glory.
-Erik
Erik Andersen [Sun, 5 Mar 2000 08:07:00 +0000 (08:07 -0000)]
Add in tr and dirname
-Erik
Erik Andersen [Sun, 5 Mar 2000 07:52:05 +0000 (07:52 -0000)]
Wrote uptime. Doesn't use /proc. :)
-Erik
Erik Andersen [Sat, 4 Mar 2000 22:23:27 +0000 (22:23 -0000)]
Add in freeramdisk.c, which (duh) frees ramdisks. If you have any
ramdisks lying about and want to free up the memory they have used,
this baby is the answar you have been waiting for.
-Erik
Erik Andersen [Sat, 4 Mar 2000 21:19:32 +0000 (21:19 -0000)]
A few updates (including the cp fix the Craig has been looking for)
-Erik