oweals/busybox.git
24 years agoForgot a semicolon.
Erik Andersen [Mon, 7 Feb 2000 20:35:14 +0000 (20:35 -0000)]
Forgot a semicolon.
 -Erik

24 years agodevice_open is common code -- moved into utility.c
Erik Andersen [Mon, 7 Feb 2000 20:31:19 +0000 (20:31 -0000)]
device_open is common code -- moved into utility.c
 -Erik

24 years agoForgot cp and mv are now cp_mv
Erik Andersen [Mon, 7 Feb 2000 05:53:48 +0000 (05:53 -0000)]
Forgot cp and mv are now cp_mv
 -Erik

24 years agoRemove the now obsolete test. Tests now
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

24 years agoA few minor updates. ;-)
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

24 years agomade more robust and commented my code.
John Beppu [Sun, 30 Jan 2000 09:47:16 +0000 (09:47 -0000)]
made more robust and commented my code.

24 years ago nslookup -- a work in progress...
John Beppu [Sat, 29 Jan 2000 12:59:01 +0000 (12:59 -0000)]
  nslookup -- a work in progress...

24 years agoClear up some ambiguity with old style assignments.
Erik Andersen [Sat, 29 Jan 2000 07:06:24 +0000 (07:06 -0000)]
Clear up some ambiguity with old style assignments.
 -Erik

24 years agoMinor change. init now uses dup2.
Erik Andersen [Sat, 29 Jan 2000 06:29:32 +0000 (06:29 -0000)]
Minor change.  init now uses dup2.
 -Erik

24 years agocopy fixes to simplify link copying and always do the right thing.
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

24 years agoForgot some debugging noise.
Erik Andersen [Thu, 27 Jan 2000 23:00:01 +0000 (23:00 -0000)]
Forgot some debugging noise.
 -Erik

24 years agocopyFile could call chmod on a symlink, changing the perms
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

24 years agoFixed ls formatting for 8 char user names.
Erik Andersen [Thu, 27 Jan 2000 02:40:21 +0000 (02:40 -0000)]
Fixed ls formatting for 8 char user names.
 -Erik

24 years agoShuffle location of generic code into utility.c
Erik Andersen [Wed, 26 Jan 2000 23:49:21 +0000 (23:49 -0000)]
Shuffle location of generic code into utility.c
 -Erik

24 years agomount and umount could leak loop device allocations causing the system to
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

24 years agoSome busybox updates. See the changelog for details if you care.
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

24 years agoput #if's around the lchown, because
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.

24 years ago* added (and documented) "-n" option for head -
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

24 years ago Making note of my changes
John Beppu [Sun, 23 Jan 2000 13:54:15 +0000 (13:54 -0000)]
Making note of my changes

24 years ago Went ahead and fixed bug #301 (chown not working on symlinks)
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

24 years agoFix a bug where tar could change perms and ownership of dirs pointed
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

24 years agoSome busybox updates. You no longer _have_ to put a "-" in front of tar
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

24 years agoBetter way to check for namespace aliasing.
Erik Andersen [Sat, 22 Jan 2000 04:55:32 +0000 (04:55 -0000)]
Better way to check for namespace aliasing.
 -Erik

24 years agoTell what I did
Erik Andersen [Thu, 20 Jan 2000 19:51:48 +0000 (19:51 -0000)]
Tell what I did
 -Erik

24 years agoFix a namespace aliasing problem wereby du and dutmp, or
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

24 years agoforeach (@busybox_command) {
John Beppu [Wed, 19 Jan 2000 15:04:41 +0000 (15:04 -0000)]
foreach (@busybox_command) {
    put_help_message_in_busybox_pod($_);
}

24 years agoadded a little more content.
John Beppu [Wed, 19 Jan 2000 12:39:16 +0000 (12:39 -0000)]
added a little more content.

24 years agoBug fix. grep wasn't printing file names they way it was supposed to.
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

24 years agofleshed out a bit more... just wanted to put the current
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.

24 years agothe beginnings of a proper man page for busybox.
John Beppu [Tue, 18 Jan 2000 15:45:59 +0000 (15:45 -0000)]
the beginnings of a proper man page for busybox.

24 years agotar creation support is now optional.
Erik Andersen [Sun, 16 Jan 2000 01:30:52 +0000 (01:30 -0000)]
tar creation support is now optional.
 -Erik

24 years agoReady for release 0_41
Erik Andersen [Sat, 15 Jan 2000 22:33:09 +0000 (22:33 -0000)]
Ready for release

24 years agoSync up busybox with the latest and greatest. This is not stuff for
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

24 years ago* Added -o loop option for mount, and support in umount for loop
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

24 years agoBug fixes.
Erik Andersen [Thu, 13 Jan 2000 04:43:48 +0000 (04:43 -0000)]
Bug fixes.
 -Erik

24 years agoFix a logger bug.
Erik Andersen [Sun, 9 Jan 2000 06:49:08 +0000 (06:49 -0000)]
Fix a logger bug.
 -Erik

24 years agoPossible fixes...
Erik Andersen [Sat, 8 Jan 2000 22:04:33 +0000 (22:04 -0000)]
Possible fixes...
 -Erik

24 years agoOops. left debug on.
Erik Andersen [Sat, 8 Jan 2000 21:20:49 +0000 (21:20 -0000)]
Oops.  left debug on.
 -Erik

24 years agoFix cp and mv so 'cp foo/README bar' where foo and bar are directories,
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

24 years agofoo 0_40
Erik Andersen [Fri, 7 Jan 2000 23:30:07 +0000 (23:30 -0000)]
foo

24 years agoRemove some leftover debug noise.
Erik Andersen [Fri, 7 Jan 2000 23:11:00 +0000 (23:11 -0000)]
Remove some leftover debug noise.
 -Erik

24 years agoMore adjustments
Erik Andersen [Fri, 7 Jan 2000 18:33:06 +0000 (18:33 -0000)]
More adjustments
 -Erik

24 years agoMore minor fixes.
Erik Andersen [Fri, 7 Jan 2000 18:30:40 +0000 (18:30 -0000)]
More minor fixes.
 -Erik

24 years agoInit is now even more perfect then before.
Erik Andersen [Fri, 7 Jan 2000 11:40:44 +0000 (11:40 -0000)]
Init is now even more perfect then before.
 -Erik

24 years agoTrivial type fix.
Erik Andersen [Fri, 7 Jan 2000 09:43:38 +0000 (09:43 -0000)]
Trivial type fix.
 -Erik

24 years agofoo
Erik Andersen [Fri, 7 Jan 2000 02:55:55 +0000 (02:55 -0000)]
foo

24 years agoInit is now _more_ perfect then before.
Erik Andersen [Fri, 7 Jan 2000 02:54:55 +0000 (02:54 -0000)]
Init is now _more_ perfect then before.
 -Erik

24 years agomaking note of my changes.
John Beppu [Fri, 7 Jan 2000 02:04:58 +0000 (02:04 -0000)]
making note of my changes.

24 years agoadded uniq_usage message
John Beppu [Fri, 7 Jan 2000 01:57:32 +0000 (01:57 -0000)]
added uniq_usage message

24 years agodid tedious stuff
John Beppu [Thu, 6 Jan 2000 23:49:21 +0000 (23:49 -0000)]
did tedious stuff

24 years agoAdd in sample inittab file
Erik Andersen [Thu, 6 Jan 2000 01:16:59 +0000 (01:16 -0000)]
Add in sample inittab file
 -Erik

24 years agoinittab is now perfect. The universe will now submit to my
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

24 years agoCool. Beppu is doing uniq.
Erik Andersen [Thu, 6 Jan 2000 01:14:56 +0000 (01:14 -0000)]
Cool.  Beppu is doing uniq.
 -Erik

24 years agoi am busybox of borg. unix will be assimilated.
John Beppu [Thu, 6 Jan 2000 00:48:21 +0000 (00:48 -0000)]
i am busybox of borg.  unix will be assimilated.

24 years agoThe latest and greatest. init basically works, though needs
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

24 years agoheheh. Forgot the fix. Here it is:
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

24 years ago* Grep -i previously failed on UPPER CASE patterns due to a silly
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

24 years agoBunches of fixes. Typos, bugs, etc.
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

24 years agoFirst pass inittab parser written
Erik Andersen [Thu, 30 Dec 1999 09:25:17 +0000 (09:25 -0000)]
First pass inittab parser written
 -Erik

24 years ago* sed now supports addresses (numeric or regexp, with negation) and
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

24 years agoAdd the beginings of some regression testing. Add in the recently
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

24 years agoFixed mv so it now does the right thing (same method used in cp). Removed
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

24 years agoFixed cp so it works as God intended it to.
Erik Andersen [Wed, 29 Dec 1999 02:10:35 +0000 (02:10 -0000)]
Fixed cp so it works as God intended it to.
 -Erik

24 years agoFixed a bug where tar would not set the user and group on device
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

24 years agoAdded changelog
Erik Andersen [Mon, 27 Dec 1999 23:56:17 +0000 (23:56 -0000)]
Added changelog
 -Erik

24 years agochown(2) clears S_ISUID and S_ISGID, even when chown is
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

24 years ago sort is good to go.
John Beppu [Thu, 23 Dec 1999 22:46:10 +0000 (22:46 -0000)]
sort is good to go.

24 years ago implemented numeric sort (sort -g)
John Beppu [Thu, 23 Dec 1999 00:02:49 +0000 (00:02 -0000)]
implemented numeric sort (sort -g)

24 years ago oops.. qsort(2) misunderstanding on my part.
John Beppu [Wed, 22 Dec 1999 23:02:12 +0000 (23:02 -0000)]
oops..  qsort(2) misunderstanding on my part.
it's ok, now.

24 years agoplaying w/ $Log$
John Beppu [Wed, 22 Dec 1999 22:27:01 +0000 (22:27 -0000)]
playing w/ $Log$

24 years ago the base is nearly done.
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.

24 years ago added hooks for sort
John Beppu [Wed, 22 Dec 1999 17:57:31 +0000 (17:57 -0000)]
added hooks for sort

24 years ago work in progress...
John Beppu [Wed, 22 Dec 1999 00:30:29 +0000 (00:30 -0000)]
work in progress...

24 years ago this is my work in progress.
John Beppu [Tue, 21 Dec 1999 20:00:35 +0000 (20:00 -0000)]
this is my work in progress.

24 years agoAdded grep -q, thanks to a patch from "Konstantin Boldyshev" <konst@voshod.com>
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

24 years agoSync to my local tree
Erik Andersen [Tue, 21 Dec 1999 02:55:11 +0000 (02:55 -0000)]
Sync to my local tree

24 years agoFix double quoting bug preventing ininit scripts from running
Erik Andersen [Tue, 21 Dec 1999 02:54:37 +0000 (02:54 -0000)]
Fix double quoting bug preventing ininit scripts from running

24 years agoAdd in first draft of insmod. Not yet working (but will Real Soon Now(tm))
Erik Andersen [Fri, 17 Dec 1999 18:57:34 +0000 (18:57 -0000)]
Add in first draft of insmod.  Not yet working (but will Real Soon Now(tm))
 -Erik

24 years agoMake head --version do the right thing. Update TODO list
Erik Andersen [Fri, 17 Dec 1999 18:52:06 +0000 (18:52 -0000)]
Make head --version do the right thing.  Update TODO list
 -Erik

24 years agoReworked the source so it will compile and run under glibc 2.0.7
Erik Andersen [Fri, 17 Dec 1999 18:44:15 +0000 (18:44 -0000)]
Reworked the source so it will compile and run under glibc 2.0.7
and linux kernel 2.0.36 (though the dubious reasons why someone
would want to do that defy imagination ;)
 -Erik

24 years agoMinor fixes to rmmod. First pass at insmod (not yet working).
Erik Andersen [Fri, 17 Dec 1999 01:08:27 +0000 (01:08 -0000)]
Minor fixes to rmmod.  First pass at insmod (not yet working).
 -Erik

24 years agoFixed correctness of comment in rmmod.c - MKW
Mark Whitley [Fri, 17 Dec 1999 00:01:46 +0000 (00:01 -0000)]
Fixed correctness of comment in rmmod.c - MKW

24 years agoAdded an AUTHORS file to acknowledge the folks that have
Erik Andersen [Thu, 16 Dec 1999 23:26:57 +0000 (23:26 -0000)]
Added an AUTHORS file to acknowledge the folks that have
done stuff.
 -Erik

24 years agoWrote rmmod for busybox.
Erik Andersen [Thu, 16 Dec 1999 23:04:20 +0000 (23:04 -0000)]
Wrote rmmod for busybox.
 -Erik

24 years ago killed an elusive bug in du -s.
John Beppu [Thu, 16 Dec 1999 21:16:47 +0000 (21:16 -0000)]
killed an elusive bug in du -s.

24 years agoFix bugs in logger and syslogd. Add fbset.
Erik Andersen [Thu, 16 Dec 1999 20:59:36 +0000 (20:59 -0000)]
Fix bugs in logger and syslogd.  Add fbset.
 -Erik

24 years agoAdded lsmod
Erik Andersen [Wed, 15 Dec 1999 22:14:12 +0000 (22:14 -0000)]
Added lsmod
 -Erik

24 years ago made note of my recent changes
John Beppu [Wed, 15 Dec 1999 19:35:02 +0000 (19:35 -0000)]
made note of my recent changes

24 years ago fixed an embarrasing segfault (head w/ no args
John Beppu [Wed, 15 Dec 1999 19:29:09 +0000 (19:29 -0000)]
fixed an embarrasing segfault (head w/ no args
used to die (but now it lives))

24 years ago Implemented du -s
John Beppu [Wed, 15 Dec 1999 18:52:17 +0000 (18:52 -0000)]
Implemented du -s

24 years agoTurn off loadkmap and loadfont. We won't be needing those.
Erik Andersen [Wed, 15 Dec 1999 08:20:08 +0000 (08:20 -0000)]
Turn off loadkmap and loadfont.  We won't be needing those.
 -Erik

24 years agoAdded the list of available commands.
Eric Andersen [Sun, 12 Dec 1999 05:32:52 +0000 (05:32 -0000)]
Added the list of available commands.
 -Erik

24 years agoFixed spelling of my name. Geez.
Eric Andersen [Sat, 11 Dec 1999 23:25:59 +0000 (23:25 -0000)]
Fixed spelling of my name.  Geez.
Ah kant evun spel mi nam.
 -Erik

24 years agoOk, so this is reallt 0.38...
Eric Andersen [Sat, 11 Dec 1999 08:41:28 +0000 (08:41 -0000)]
Ok, so this is reallt 0.38...
 -Erik

24 years agoSet version to 0.39 0_39
Eric Andersen [Sat, 11 Dec 1999 04:21:50 +0000 (04:21 -0000)]
Set version to 0.39
 -Erik

24 years agoMinor updates
Eric Andersen [Sat, 11 Dec 1999 04:16:51 +0000 (04:16 -0000)]
Minor updates

24 years ago Removed a redundant call du(); Save cpu cycles.
John Beppu [Fri, 10 Dec 1999 15:23:47 +0000 (15:23 -0000)]
Removed a redundant call du();  Save cpu cycles.

24 years ago damnit.
John Beppu [Fri, 10 Dec 1999 08:44:54 +0000 (08:44 -0000)]
damnit.
    removed mkfifo from the TODO list.

    I didn't implement it, because I realized (too late) that
    mknod already existed, and it can do anything that mkfifo
    would have done.

24 years agoFixed John's email address again.
Eric Andersen [Fri, 10 Dec 1999 08:29:20 +0000 (08:29 -0000)]
Fixed John's email address again.
John.  Your email address is "john@lineo.com" not @line.com. :)
 -Erik

24 years agoAdded poweroff (and adjusted init to use it). Inlined function
Eric Andersen [Fri, 10 Dec 1999 08:25:07 +0000 (08:25 -0000)]
Added poweroff (and adjusted init to use it).  Inlined function
calls to code only called once in tee.  Made BB_KLOGD and option.
 -Erik