John Beppu [Wed, 23 Feb 2000 18:17:35 +0000 (18:17 -0000)]
+ this is a small script for helping TargetWizard auto-generate
busybox.defs.h
Erik Andersen [Tue, 22 Feb 2000 17:17:45 +0000 (17:17 -0000)]
Sync up a few things. Add in a new telnet implementation (still
not perfect though).
-Erik
Erik Andersen [Tue, 22 Feb 2000 17:12:00 +0000 (17:12 -0000)]
Add in a TODO item,
-Erik
Erik Andersen [Mon, 21 Feb 2000 21:35:11 +0000 (21:35 -0000)]
Update the changelog
-Erik
Erik Andersen [Mon, 21 Feb 2000 21:26:32 +0000 (21:26 -0000)]
Removed proc dependancies for init and free (which maintaining exactly
the same functionality). /proc takes up 90k of kernel space, so it is
nice to avoid using it at all costs. The only places where it is depended
on is for cetain optional mount/umount features, and for ps and lsmod.
-Erik
Erik Andersen [Mon, 21 Feb 2000 19:25:12 +0000 (19:25 -0000)]
Minor update for handling TERM with serial consoles.
-Erik
Erik Andersen [Mon, 21 Feb 2000 17:27:17 +0000 (17:27 -0000)]
Forgot to add basename. More fixes to du from
Friedrich Vedder <fwv@myrtle.lahn.de>.
-Erik
Erik Andersen [Sat, 19 Feb 2000 18:16:49 +0000 (18:16 -0000)]
Fixed du. Now behaves just like GNU du (only less so).
-Erik
Erik Andersen [Fri, 18 Feb 2000 21:34:17 +0000 (21:34 -0000)]
Some updates for the day,
-Erik
Erik Andersen [Mon, 14 Feb 2000 18:44:33 +0000 (18:44 -0000)]
Formatting fix
-Erik
John Beppu [Sun, 13 Feb 2000 04:10:57 +0000 (04:10 -0000)]
- I suspect the problem has something to do w/ symlinks.
- It's not completely in agreement w/ GNU/du, but
+ the answer is much closer than before.
- Some of the right-shifts seem to have mysteriously disappeared.
I put them back in.
Erik Andersen [Fri, 11 Feb 2000 21:55:41 +0000 (21:55 -0000)]
Add this in
-Erik
Erik Andersen [Fri, 11 Feb 2000 21:55:04 +0000 (21:55 -0000)]
Updates
-Erik
John Beppu [Fri, 11 Feb 2000 12:52:55 +0000 (12:52 -0000)]
+ memory allocation/deallocation is less tolerant of evil.
John Beppu [Fri, 11 Feb 2000 12:44:07 +0000 (12:44 -0000)]
fsck_minix.c lost fat.
John Beppu [Fri, 11 Feb 2000 12:43:20 +0000 (12:43 -0000)]
reduced .bss size by dynmaically allocating a certain large
array instead of letting it be static.
objdump -t busybox \
| grep .bss \
| sed 's/^.*\.bss //' \
| grep -v ABS \
#| perl -e 'while(<>) { @x = split; @y = reverse split(//, $x[0]); for ($i=0; $i<@y; $i++) { $s += $y[$i] * (16 ** $i); if ($y[$i] && $i > 2) { print "> $y[$i] * 16 ** $i $x[1]\n"; } } } print "$s\n";'
Erik Andersen [Thu, 10 Feb 2000 22:58:40 +0000 (22:58 -0000)]
Fixed a bug,
-Erik
Erik Andersen [Thu, 10 Feb 2000 07:31:15 +0000 (07:31 -0000)]
More minor touchups.
-Erik
Erik Andersen [Wed, 9 Feb 2000 16:37:08 +0000 (16:37 -0000)]
Fix stupid typos -- thanks to Taketoshi Sano <kgh12351@nifty.ne.jp>
for noticing these bugs.
-Erik
Erik Andersen [Wed, 9 Feb 2000 06:05:01 +0000 (06:05 -0000)]
Fix a possible /linuxrc crash.
-Erik
Erik Andersen [Wed, 9 Feb 2000 04:40:25 +0000 (04:40 -0000)]
Update the sample inittab to add the "ctrlaltdel" action.
Note a bug in busybox init that I need to fix.
-Erik
Erik Andersen [Wed, 9 Feb 2000 04:16:43 +0000 (04:16 -0000)]
Fixed the init problem where it wouldn't unmount filesystems
on reboot. Also fixed swapoff -a so it works.
-Erik
Erik Andersen [Tue, 8 Feb 2000 19:58:47 +0000 (19:58 -0000)]
Some formatting updates (ran the code through indent)
-Erik
Erik Andersen [Tue, 8 Feb 2000 06:19:29 +0000 (06:19 -0000)]
mkdir -p had gotten broken. Fixed now.
-Erik
Erik Andersen [Mon, 7 Feb 2000 20:35:14 +0000 (20:35 -0000)]
Forgot a semicolon.
-Erik
Erik Andersen [Mon, 7 Feb 2000 20:31:19 +0000 (20:31 -0000)]
device_open is common code -- moved into utility.c
-Erik
Erik Andersen [Mon, 7 Feb 2000 05:53:48 +0000 (05:53 -0000)]
Forgot cp and mv are now cp_mv
-Erik
Erik Andersen [Mon, 7 Feb 2000 05:30:41 +0000 (05:30 -0000)]
Remove the now obsolete test. Tests now
live in the tests directory.
-Erik
Erik Andersen [Mon, 7 Feb 2000 05:29:42 +0000 (05:29 -0000)]
A few minor updates. ;-)
Seriously though, read the Changelog for busybox 0.42,
which this is about to become...
-Erik
John Beppu [Sun, 30 Jan 2000 09:47:16 +0000 (09:47 -0000)]
made more robust and commented my code.
John Beppu [Sat, 29 Jan 2000 12:59:01 +0000 (12:59 -0000)]
nslookup -- a work in progress...
Erik Andersen [Sat, 29 Jan 2000 07:06:24 +0000 (07:06 -0000)]
Clear up some ambiguity with old style assignments.
-Erik
Erik Andersen [Sat, 29 Jan 2000 06:29:32 +0000 (06:29 -0000)]
Minor change. init now uses dup2.
-Erik
Erik Andersen [Sat, 29 Jan 2000 05:52:40 +0000 (05:52 -0000)]
copy fixes to simplify link copying and always do the right thing.
ping could segfault because I'm an idiot, and tried to put a value
in where I hadn't allocated storage. choke.
-Erik
Erik Andersen [Thu, 27 Jan 2000 23:00:01 +0000 (23:00 -0000)]
Forgot some debugging noise.
-Erik
Erik Andersen [Thu, 27 Jan 2000 19:50:47 +0000 (19:50 -0000)]
copyFile could call chmod on a symlink, changing the perms
of the pointed to file. Minor fix to tar for directory handling.
-Erik
Erik Andersen [Thu, 27 Jan 2000 02:40:21 +0000 (02:40 -0000)]
Fixed ls formatting for 8 char user names.
-Erik
Erik Andersen [Wed, 26 Jan 2000 23:49:21 +0000 (23:49 -0000)]
Shuffle location of generic code into utility.c
-Erik
Erik Andersen [Wed, 26 Jan 2000 20:06:48 +0000 (20:06 -0000)]
mount and umount could leak loop device allocations causing the system to
quickly run out. Also disable init's SIGHUP handler during shutdown.
-Erik
Erik Andersen [Tue, 25 Jan 2000 18:13:53 +0000 (18:13 -0000)]
Some busybox updates. See the changelog for details if you care.
-Erik
John Beppu [Mon, 24 Jan 2000 12:06:22 +0000 (12:06 -0000)]
put #if's around the lchown, because
older glibc versions don't have it.
Erik Andersen [Sun, 23 Jan 2000 18:19:02 +0000 (18:19 -0000)]
* added (and documented) "-n" option for head -
contributed Friedrich Vedder <fwv@myrtle.lahn.de>
* Cleanup for a number of usage messages -- also
contributed Friedrich Vedder <fwv@myrtle.lahn.de>
-Erik
John Beppu [Sun, 23 Jan 2000 13:54:15 +0000 (13:54 -0000)]
Making note of my changes
John Beppu [Sun, 23 Jan 2000 13:38:32 +0000 (13:38 -0000)]
Went ahead and fixed bug #301 (chown not working on symlinks)
in fileAction(), I changed the chown() to lchown(); Hopefully, that
doesn't break anything. (I don't think it does).
nested ?:?:?: madness in chmod_chown_chgrp.c
Erik Andersen [Sun, 23 Jan 2000 02:14:20 +0000 (02:14 -0000)]
Fix a bug where tar could change perms and ownership of dirs pointed
to by symlink within a tarball.
-Erik
Erik Andersen [Sun, 23 Jan 2000 01:34:05 +0000 (01:34 -0000)]
Some busybox updates. You no longer _have_ to put a "-" in front of tar
options, logger is better behaved and has a "-t" option now. init now supports
the kernel chroot patch, so you can chroot to a new device and umount the old
root.
-Erik
Erik Andersen [Sat, 22 Jan 2000 04:55:32 +0000 (04:55 -0000)]
Better way to check for namespace aliasing.
-Erik
Erik Andersen [Thu, 20 Jan 2000 19:51:48 +0000 (19:51 -0000)]
Tell what I did
-Erik
Erik Andersen [Thu, 20 Jan 2000 19:32:32 +0000 (19:32 -0000)]
Fix a namespace aliasing problem wereby du and dutmp, or
rm and rmmod symlinks would be created when only du or rm
was included.
-Erik
John Beppu [Wed, 19 Jan 2000 15:04:41 +0000 (15:04 -0000)]
foreach (@busybox_command) {
put_help_message_in_busybox_pod($_);
}
John Beppu [Wed, 19 Jan 2000 12:39:16 +0000 (12:39 -0000)]
added a little more content.
Erik Andersen [Wed, 19 Jan 2000 04:30:37 +0000 (04:30 -0000)]
Bug fix. grep wasn't printing file names they way it was supposed to.
-Erik
John Beppu [Tue, 18 Jan 2000 22:33:11 +0000 (22:33 -0000)]
fleshed out a bit more... just wanted to put the current
changes under version control.
John Beppu [Tue, 18 Jan 2000 15:45:59 +0000 (15:45 -0000)]
the beginnings of a proper man page for busybox.
Erik Andersen [Sun, 16 Jan 2000 01:30:52 +0000 (01:30 -0000)]
tar creation support is now optional.
-Erik
Erik Andersen [Sat, 15 Jan 2000 22:33:09 +0000 (22:33 -0000)]
Ready for release
Erik Andersen [Sat, 15 Jan 2000 22:28:50 +0000 (22:28 -0000)]
Sync up busybox with the latest and greatest. This is not stuff for
the Embedix release.
-Erik
Erik Andersen [Thu, 13 Jan 2000 06:38:14 +0000 (06:38 -0000)]
* Added -o loop option for mount, and support in umount for loop
devices. Support is toggled by MOUNT_LOOP feature -- Ben Collins
<bcollins@debian.org>
-Erik
Erik Andersen [Thu, 13 Jan 2000 04:43:48 +0000 (04:43 -0000)]
Bug fixes.
-Erik
Erik Andersen [Sun, 9 Jan 2000 06:49:08 +0000 (06:49 -0000)]
Fix a logger bug.
-Erik
Erik Andersen [Sat, 8 Jan 2000 22:04:33 +0000 (22:04 -0000)]
Possible fixes...
-Erik
Erik Andersen [Sat, 8 Jan 2000 21:20:49 +0000 (21:20 -0000)]
Oops. left debug on.
-Erik
Erik Andersen [Sat, 8 Jan 2000 21:16:29 +0000 (21:16 -0000)]
Fix cp and mv so 'cp foo/README bar' where foo and bar are directories,
and README is a file.
-Erik
Erik Andersen [Fri, 7 Jan 2000 23:30:07 +0000 (23:30 -0000)]
foo
Erik Andersen [Fri, 7 Jan 2000 23:11:00 +0000 (23:11 -0000)]
Remove some leftover debug noise.
-Erik
Erik Andersen [Fri, 7 Jan 2000 18:33:06 +0000 (18:33 -0000)]
More adjustments
-Erik
Erik Andersen [Fri, 7 Jan 2000 18:30:40 +0000 (18:30 -0000)]
More minor fixes.
-Erik
Erik Andersen [Fri, 7 Jan 2000 11:40:44 +0000 (11:40 -0000)]
Init is now even more perfect then before.
-Erik
Erik Andersen [Fri, 7 Jan 2000 09:43:38 +0000 (09:43 -0000)]
Trivial type fix.
-Erik
Erik Andersen [Fri, 7 Jan 2000 02:55:55 +0000 (02:55 -0000)]
foo
Erik Andersen [Fri, 7 Jan 2000 02:54:55 +0000 (02:54 -0000)]
Init is now _more_ perfect then before.
-Erik
John Beppu [Fri, 7 Jan 2000 02:04:58 +0000 (02:04 -0000)]
making note of my changes.
John Beppu [Fri, 7 Jan 2000 01:57:32 +0000 (01:57 -0000)]
added uniq_usage message
John Beppu [Thu, 6 Jan 2000 23:49:21 +0000 (23:49 -0000)]
did tedious stuff
Erik Andersen [Thu, 6 Jan 2000 01:16:59 +0000 (01:16 -0000)]
Add in sample inittab file
-Erik
Erik Andersen [Thu, 6 Jan 2000 01:16:13 +0000 (01:16 -0000)]
inittab is now perfect. The universe will now submit to my
will. muhahahaha!!! Phear!
-Erik
Erik Andersen [Thu, 6 Jan 2000 01:14:56 +0000 (01:14 -0000)]
Cool. Beppu is doing uniq.
-Erik
John Beppu [Thu, 6 Jan 2000 00:48:21 +0000 (00:48 -0000)]
i am busybox of borg. unix will be assimilated.
Erik Andersen [Wed, 5 Jan 2000 09:34:26 +0000 (09:34 -0000)]
The latest and greatest. init basically works, though needs
a minor inittab design change to accomodate specifying the device
to run each process on.
-Erik
Erik Andersen [Wed, 5 Jan 2000 05:49:51 +0000 (05:49 -0000)]
heheh. Forgot the fix. Here it is:
* Grep -i previously failed on UPPER CASE patterns due to a silly
regexp implementation bug that is now fixed.
-Erik
Erik Andersen [Wed, 5 Jan 2000 05:47:11 +0000 (05:47 -0000)]
* Grep -i previously failed on UPPER CASE patterns due to a silly
regexp implementation bug that is now fixed.
-Erik
Erik Andersen [Tue, 4 Jan 2000 01:10:25 +0000 (01:10 -0000)]
Bunches of fixes. Typos, bugs, etc.
Added 'gunzip -t'. inittab support _almost_ works (but it isn't
ready for prime time useage yet).
-Erik
Erik Andersen [Thu, 30 Dec 1999 09:25:17 +0000 (09:25 -0000)]
First pass inittab parser written
-Erik
Erik Andersen [Wed, 29 Dec 1999 22:19:46 +0000 (22:19 -0000)]
* sed now supports addresses (numeric or regexp, with negation) and
has an append command, thanks to Marco Pantaleoni <panta@prosa.it>
* Fixed dmesg. It wasn't parsing its options (-n or -s) properly.
* Some cosmetic fixes to ls output formatting to make it behave more
like GNU ls.
-Erik
Erik Andersen [Wed, 29 Dec 1999 03:34:00 +0000 (03:34 -0000)]
Add the beginings of some regression testing. Add in the recently
contributed loadacm utility (for dealing with unicode fonts)
-Erik
Erik Andersen [Wed, 29 Dec 1999 02:36:29 +0000 (02:36 -0000)]
Fixed mv so it now does the right thing (same method used in cp). Removed
some cruft from cp.
-Erik
Erik Andersen [Wed, 29 Dec 1999 02:10:35 +0000 (02:10 -0000)]
Fixed cp so it works as God intended it to.
-Erik
Erik Andersen [Tue, 28 Dec 1999 00:17:46 +0000 (00:17 -0000)]
Fixed a bug where tar would not set the user and group on device
special files.
-Erik
Erik Andersen [Mon, 27 Dec 1999 23:56:17 +0000 (23:56 -0000)]
Added changelog
-Erik
Erik Andersen [Mon, 27 Dec 1999 23:48:33 +0000 (23:48 -0000)]
chown(2) clears S_ISUID and S_ISGID, even when chown is
called as root. Changed ordering of chown and chmod so
SGID and SUID file permissions don't get munged.
-Erik
John Beppu [Thu, 23 Dec 1999 22:46:10 +0000 (22:46 -0000)]
sort is good to go.
John Beppu [Thu, 23 Dec 1999 00:02:49 +0000 (00:02 -0000)]
implemented numeric sort (sort -g)
John Beppu [Wed, 22 Dec 1999 23:02:12 +0000 (23:02 -0000)]
oops.. qsort(2) misunderstanding on my part.
it's ok, now.
John Beppu [Wed, 22 Dec 1999 22:27:01 +0000 (22:27 -0000)]
playing w/ $Log$
John Beppu [Wed, 22 Dec 1999 22:24:52 +0000 (22:24 -0000)]
the base is nearly done.
need to implement various comparison functions, now.
John Beppu [Wed, 22 Dec 1999 17:57:31 +0000 (17:57 -0000)]
added hooks for sort
John Beppu [Wed, 22 Dec 1999 00:30:29 +0000 (00:30 -0000)]
work in progress...
John Beppu [Tue, 21 Dec 1999 20:00:35 +0000 (20:00 -0000)]
this is my work in progress.
Erik Andersen [Tue, 21 Dec 1999 08:52:04 +0000 (08:52 -0000)]
Added grep -q, thanks to a patch from "Konstantin Boldyshev" <konst@voshod.com>
-Erik
Erik Andersen [Tue, 21 Dec 1999 02:55:11 +0000 (02:55 -0000)]
Sync to my local tree