aboutsummaryrefslogtreecommitdiff
path: root/utility.c
AgeCommit message (Collapse)Author
2000-04-18UpdatesErik Andersen
-Erik
2000-04-17+ in the interest of robustness, I addedJohn Beppu
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-07Patch to make killall actually kill all PIDs with the specified name,Erik Andersen
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-05Tar now works perfectly. It behaves much better now then itErik Andersen
used to. Only thing left to do is add in exclude (-X) option. -Erik
2000-03-28Yet another installment in the ongoing tar sagaErik Andersen
-Erik
2000-03-24The new tar for busybox is now done, and works just fineErik Andersen
for extracting files. Creation of tarballs is next... -Erik
2000-03-23My latest ramblings.Erik Andersen
-Erik
2000-03-22Use the nice new find_real_root_device function to find theErik Andersen
name of the root device, instead of having libc read whatever lies happen to be in /etc/mtab. -Erik
2000-03-22Add in a nifty function for mount to use.Erik Andersen
-Erik
2000-03-21* all mallocs now use xmalloc (and so are OOM error safe), andErik Andersen
the common error handling saves a few bytes. Thanks to Bob Tinsley <bob@earthrise.demon.co.uk> for the patch. -Erik
2000-03-17Several fixes.Erik Andersen
-Erik
2000-03-16Major build system updates...Erik Andersen
-Erik
2000-03-12First pass at writing a shell for busybox.Erik Andersen
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-08Change BB_FEATURE_USE_DEVPS_N_DEVMTAB to the simplerErik Andersen
BB_FEATURE_USE_DEVPS_PATCH. -Erik
2000-03-07Fix bugs related to finding PIDs.Erik Andersen
-Erik
2000-03-07Fix up some #define stuff to ensure the Right Thing(tm)Erik Andersen
happens with all combinations of BB_KILL and BB_KILLALL being defined. -Erik
2000-03-07Wrote killall.Erik Andersen
Adjusted mount, ps, utility.c, etc to handle my nifty new kernel patches the allow busybox to run perfectly without /proc. -Erik
2000-03-04Add in freeramdisk.c, which (duh) frees ramdisks. If you have anyErik Andersen
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-04A few updates (including the cp fix the Craig has been looking for)Erik Andersen
-Erik
2000-02-23Fixed rebooting when init runs as /linuxrcErik Andersen
-Erik
2000-02-21Removed proc dependancies for init and free (which maintaining exactlyErik Andersen
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-11UpdatesErik Andersen
-Erik
2000-02-09Fixed the init problem where it wouldn't unmount filesystemsErik Andersen
on reboot. Also fixed swapoff -a so it works. -Erik
2000-02-08Some formatting updates (ran the code through indent)Erik Andersen
-Erik
2000-02-08mkdir -p had gotten broken. Fixed now.Erik Andersen
-Erik
2000-02-07device_open is common code -- moved into utility.cErik Andersen
-Erik
2000-02-07A few minor updates. ;-)Erik Andersen
Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik
2000-01-29copy fixes to simplify link copying and always do the right thing.Erik Andersen
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-27Forgot some debugging noise.Erik Andersen
-Erik
2000-01-27copyFile could call chmod on a symlink, changing the permsErik Andersen
of the pointed to file. Minor fix to tar for directory handling. -Erik
2000-01-26Shuffle location of generic code into utility.cErik Andersen
-Erik
2000-01-26mount and umount could leak loop device allocations causing the system toErik Andersen
quickly run out. Also disable init's SIGHUP handler during shutdown. -Erik
2000-01-25Some busybox updates. See the changelog for details if you care.Erik Andersen
-Erik
2000-01-23Fix a bug where tar could change perms and ownership of dirs pointedErik Andersen
to by symlink within a tarball. -Erik
2000-01-15Sync up busybox with the latest and greatest. This is not stuff forErik Andersen
the Embedix release. -Erik
2000-01-13Bug fixes.Erik Andersen
-Erik
2000-01-05The latest and greatest. init basically works, though needsErik Andersen
a minor inittab design change to accomodate specifying the device to run each process on. -Erik
2000-01-04Bunches of fixes. Typos, bugs, etc.Erik Andersen
Added 'gunzip -t'. inittab support _almost_ works (but it isn't ready for prime time useage yet). -Erik
1999-12-29Add the beginings of some regression testing. Add in the recentlyErik Andersen
contributed loadacm utility (for dealing with unicode fonts) -Erik
1999-12-29Fixed cp so it works as God intended it to.Erik Andersen
-Erik
1999-12-21Sync to my local treeErik Andersen
1999-12-17Reworked the source so it will compile and run under glibc 2.0.7Erik Andersen
and linux kernel 2.0.36 (though the dubious reasons why someone would want to do that defy imagination ;) -Erik
1999-12-09Adjustments for Johns init stuff,Eric Andersen
-Erik
1999-12-09 findInitPid() has been implemented and it seems to work.John Beppu
reboot has been changed to take advantage of findInitPid();
1999-12-09Tail now works (costs 6k). Several other updates.Eric Andersen
-Erik
1999-12-09* my_getid was leaking file descriptors, causing 'ls -l' on longEric Andersen
directories to fail -Erik
1999-12-08Latest and greatestEric Andersen
1999-12-05StufEric Andersen
1999-12-05syslogd and klogd work now.Eric Andersen
-Erik
1999-12-03StufEric Andersen