Eric Andersen
3199bda52e
Fix /etc/passwd misspelling.
...
-Erik
2000-06-02 17:38:18 +00:00
Eric Andersen
86ab8a32bd
A number of additional fixed from Pavel Roskin, note some more bugs in the
...
TODO list. Add Glenn to the Authors list for writing a mini ar for BusyBox,
which is now included.
-Erik
2000-06-02 03:21:42 +00:00
Erik Andersen
330fd2b576
More libc portability updates, add in the website (which has not been
...
archived previously). Wrote 'which' during the meeting today.
-Erik
2000-05-19 05:35:19 +00:00
Erik Andersen
5b46d792f1
Some more portability updates
...
-Erik
2000-05-17 05:24:24 +00:00
Erik Andersen
23dea9b712
So much for my evil optimization. Doesn't seem to work. Will test
...
more on it later.
-Erik
2000-05-13 00:28:25 +00:00
Erik Andersen
7ab9c7ee52
Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
...
which lets you compile out most of the "--help" output, saving
up to 17k.
Renamed mnc to nc.
-Erik
2000-05-12 19:41:47 +00:00
Erik Andersen
59b9e87024
* cp -fa now works as expected for symlinks (it didn't before)
...
* zcat works again (wasn't working since option parsing was broken)
* more doc updates/more support for BB_FEATURE_SIMPLE_HELP
-Erik
2000-05-10 05:05:45 +00:00
Erik Andersen
691f49d3c1
Fix umount dependency on find_real_root_device_name
...
-Erik
2000-05-08 17:56:25 +00:00
Erik Andersen
5afc864422
More stuff
...
-Erik
2000-05-02 00:07:56 +00:00
Erik Andersen
94f5e0ba7c
Some accrued fixes/updates.
...
* cp/mv now accepts (and ignores) the -f flag, since it always
does force anyway
* 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 supp. groups yet
2000-05-01 19:10:52 +00:00
Erik Andersen
4f3f757d56
Latest and greatest. Some effort at libc5 (aiming towards newlib)
...
compatability.
-Erik
2000-04-28 00:18:56 +00:00
Erik Andersen
9a8195cc03
Fix creation of /linuxrc
...
-Erik
2000-04-18 23:32:10 +00:00
Erik Andersen
b9167cb67f
Really fix the killall segfault this time.
...
-Erik
2000-04-18 22:41:30 +00:00
Erik Andersen
632bb57135
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
2000-04-18 22:09:06 +00:00
Erik Andersen
c366050a23
Fix stupid bug (wrong variable)
...
-Erik
2000-04-18 21:18:57 +00:00
Erik Andersen
0a64de9b4f
More little stuff.
...
-Erik
2000-04-18 20:00:03 +00:00
Erik Andersen
229dd2b905
Fix killall
...
-Erik
2000-04-18 18:38:29 +00:00
Erik Andersen
a6c752201e
Updates
...
-Erik
2000-04-18 00:00:52 +00:00
John Beppu
5a728cfdfe
+ 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.
2000-04-17 04:22:09 +00:00
Erik Andersen
825aead68b
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
2000-04-07 06:00:07 +00:00
Erik Andersen
5661fe078e
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
2000-04-05 01:00:52 +00:00
Erik Andersen
3364d78b18
Yet another installment in the ongoing tar saga
...
-Erik
2000-03-28 00:58:14 +00:00
Erik Andersen
1ad302ac90
The new tar for busybox is now done, and works just fine
...
for extracting files. Creation of tarballs is next...
-Erik
2000-03-24 00:54:46 +00:00
Erik Andersen
298854f029
My latest ramblings.
...
-Erik
2000-03-23 01:09:18 +00:00
Erik Andersen
ec5bd90916
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
2000-03-22 07:12:05 +00:00
Erik Andersen
016ffe9307
Add in a nifty function for mount to use.
...
-Erik
2000-03-22 00:58:54 +00:00
Erik Andersen
0d068a2067
* 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
2000-03-21 22:32:57 +00:00
Erik Andersen
6273f655c8
Several fixes.
...
-Erik
2000-03-17 01:12:41 +00:00
Erik Andersen
d75af99529
Major build system updates...
...
-Erik
2000-03-16 08:09:09 +00:00
Erik Andersen
3522eb1ab3
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
2000-03-12 23:49:18 +00:00
Erik Andersen
269bba2514
Change BB_FEATURE_USE_DEVPS_N_DEVMTAB to the simpler
...
BB_FEATURE_USE_DEVPS_PATCH.
-Erik
2000-03-08 14:50:47 +00:00
Erik Andersen
2ac2fae728
Fix bugs related to finding PIDs.
...
-Erik
2000-03-07 23:32:17 +00:00
Erik Andersen
cbd0d625c7
Fix up some #define stuff to ensure the Right Thing(tm)
...
happens with all combinations of BB_KILL and BB_KILLALL
being defined.
-Erik
2000-03-07 07:58:57 +00:00
Erik Andersen
246cc6dddd
Wrote killall.
...
Adjusted mount, ps, utility.c, etc to handle my nifty new kernel
patches the allow busybox to run perfectly without /proc.
-Erik
2000-03-07 07:41:42 +00:00
Erik Andersen
6437170cb3
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
2000-03-04 22:23:27 +00:00
Erik Andersen
029011b9ee
A few updates (including the cp fix the Craig has been looking for)
...
-Erik
2000-03-04 21:19:32 +00:00
Erik Andersen
5b911ddd57
Fixed rebooting when init runs as /linuxrc
...
-Erik
2000-02-23 22:49:58 +00:00
Erik Andersen
d07ee46919
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
2000-02-21 21:26:32 +00:00
Erik Andersen
9ffdaa647e
Updates
...
-Erik
2000-02-11 21:55:04 +00:00
Erik Andersen
e132f4b09e
Fixed the init problem where it wouldn't unmount filesystems
...
on reboot. Also fixed swapoff -a so it works.
-Erik
2000-02-09 04:16:43 +00:00
Erik Andersen
e49d5ecbbe
Some formatting updates (ran the code through indent)
...
-Erik
2000-02-08 19:58:47 +00:00
Erik Andersen
c0bf817bbc
mkdir -p had gotten broken. Fixed now.
...
-Erik
2000-02-08 06:19:29 +00:00
Erik Andersen
31cf8e0056
device_open is common code -- moved into utility.c
...
-Erik
2000-02-07 20:31:19 +00:00
Erik Andersen
fac10d7c59
A few minor updates. ;-)
...
Seriously though, read the Changelog for busybox 0.42,
which this is about to become...
-Erik
2000-02-07 05:29:42 +00:00
Erik Andersen
8e759aa31f
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
2000-01-29 05:52:40 +00:00
Erik Andersen
d7a44c76fe
Forgot some debugging noise.
...
-Erik
2000-01-27 23:00:01 +00:00
Erik Andersen
ce5b466bcc
copyFile could call chmod on a symlink, changing the perms
...
of the pointed to file. Minor fix to tar for directory handling.
-Erik
2000-01-27 19:50:47 +00:00
Erik Andersen
de7965ca7e
Shuffle location of generic code into utility.c
...
-Erik
2000-01-26 23:49:21 +00:00
Erik Andersen
5cbdd712f5
mount and umount could leak loop device allocations causing the system to
...
quickly run out. Also disable init's SIGHUP handler during shutdown.
-Erik
2000-01-26 20:06:48 +00:00
Erik Andersen
3fe39dce5d
Some busybox updates. See the changelog for details if you care.
...
-Erik
2000-01-25 18:13:53 +00:00