016ffe9307
Add in a nifty function for mount to use. -Erik
Erik Andersen
2000-03-22 00:58:54 +00:00
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
Erik Andersen
2000-03-21 22:32:57 +00:00
c053e41fa0
Hmm. Missed this change
Erik Andersen
2000-03-21 01:31:24 +00:00
42094cdad5
Fix bug in memory total checking. -Erik
Erik Andersen
2000-03-20 21:34:52 +00:00
1dbe340eba
more minor fixes -Erik
Erik Andersen
2000-03-19 10:46:06 +00:00
c7c634bd88
Some more stuff. -Erik
Erik Andersen
2000-03-19 05:28:55 +00:00
6c41c44898
Adjust the termio settings, and don't use octal since it is impossible to read by mere mortals. -Erik
Erik Andersen
2000-03-19 05:13:49 +00:00
531bcb6826
Minor update
Erik Andersen
2000-03-17 20:49:55 +00:00
6273f655c8
Several fixes. -Erik
Erik Andersen
2000-03-17 01:12:41 +00:00
161220c498
Fix fg bug -Erik
Erik Andersen
2000-03-16 08:12:48 +00:00
13456d1fcd
Forgot these files... -Erik
Erik Andersen
2000-03-16 08:09:57 +00:00
d75af99529
Major build system updates... -Erik
Erik Andersen
2000-03-16 08:09:09 +00:00
a967e3c8f0
Bug fix -Erik
Erik Andersen
2000-03-14 16:34:49 +00:00
ce91732416
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
2000-03-13 04:07:02 +00:00
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.
Erik Andersen
2000-03-12 23:49:18 +00:00
269bba2514
Change BB_FEATURE_USE_DEVPS_N_DEVMTAB to the simpler BB_FEATURE_USE_DEVPS_PATCH. -Erik
Erik Andersen
2000-03-08 14:50:47 +00:00
47d3bb3b6d
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 Andersen
2000-03-08 06:52:04 +00:00
54969a1f64
Fixed up lsmod so it works with my devmodules kernel driver, and with /proc. -Erik
Erik Andersen
2000-03-08 06:42:34 +00:00
692a4502b0
+ changed a static array (FileList) into a dynamically allocated one in an attempt to make the .bss section smaller.
John Beppu
2000-03-08 00:14:35 +00:00
2ac2fae728
Fix bugs related to finding PIDs. -Erik
Erik Andersen
2000-03-07 23:32:17 +00:00
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
Erik Andersen
2000-03-07 07:58:57 +00:00
06249f24f3
Add some description -Erik
Erik Andersen
2000-03-07 07:48:53 +00:00
ea6b67de65
Add a #define to make init extra quiet on boot. -Erik
Erik Andersen
2000-03-07 07:47:10 +00:00
246cc6dddd
Wrote killall.
Erik Andersen
2000-03-07 07:41:42 +00:00
e916d24805
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
2000-03-06 19:20:35 +00:00
9c5c29d442
Oops. I left debugging turned on... -Erik
Erik Andersen
2000-03-06 18:34:48 +00:00
65fc1c70f7
Oops. Forgot to add in uptime when I added uptime. Here it is in all its /proc free glory. -Erik
Erik Andersen
2000-03-05 08:16:03 +00:00
fb002d0df0
Add in tr and dirname -Erik
Erik Andersen
2000-03-05 08:07:00 +00:00
66be5e7e29
Wrote uptime. Doesn't use /proc. :) -Erik
Erik Andersen
2000-03-05 07:52:05 +00:00
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
Erik Andersen
2000-03-04 22:23:27 +00:00
029011b9ee
A few updates (including the cp fix the Craig has been looking for) -Erik
Erik Andersen
2000-03-04 21:19:32 +00:00
7c4b2f3fe5
Minor makefile and todo updates -Erik
Erik Andersen
2000-02-29 21:49:22 +00:00
a51ecdd9e4
Minor tweak to argv[0] handling for linuxrc -Erik
Erik Andersen
2000-02-24 18:09:58 +00:00
5b911ddd57
Fixed rebooting when init runs as /linuxrc -Erik
Erik Andersen
2000-02-23 22:49:58 +00:00
dc75a739ac
+ this is a small script for helping TargetWizard auto-generate busybox.defs.h
John Beppu
2000-02-23 18:17:35 +00:00
f7c49ef2d1
Sync up a few things. Add in a new telnet implementation (still not perfect though). -Erik
Erik Andersen
2000-02-22 17:17:45 +00:00
3b9522f2af
Add in a TODO item, -Erik
Erik Andersen
2000-02-22 17:12:00 +00:00
6e769df47d
Update the changelog -Erik
Erik Andersen
2000-02-21 21:35:11 +00:00
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
Erik Andersen
2000-02-21 21:26:32 +00:00
fa4718efcf
Minor update for handling TERM with serial consoles. -Erik
Erik Andersen
2000-02-21 19:25:12 +00:00
42387e4964
Forgot to add basename. More fixes to du from Friedrich Vedder <fwv@myrtle.lahn.de>. -Erik
Erik Andersen
2000-02-21 17:27:17 +00:00
27fdd081ef
Fixed du. Now behaves just like GNU du (only less so). -Erik
Erik Andersen
2000-02-19 18:16:49 +00:00
e272915e1f
Some updates for the day, -Erik
Erik Andersen
2000-02-18 21:34:17 +00:00
bf5f009862
Formatting fix -Erik
Erik Andersen
2000-02-14 18:44:33 +00:00
08c965a0a1
- 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.
John Beppu
2000-02-13 04:10:57 +00:00
5e2b96345c
Add this in -Erik
Erik Andersen
2000-02-11 21:55:41 +00:00
9ffdaa647e
Updates -Erik
Erik Andersen
2000-02-11 21:55:04 +00:00
5e1b2ca116
+ memory allocation/deallocation is less tolerant of evil.
John Beppu
2000-02-11 12:52:55 +00:00
fa376f8034
fsck_minix.c lost fat.
John Beppu
2000-02-11 12:44:07 +00:00
c1dc5d9473
reduced .bss size by dynmaically allocating a certain large array instead of letting it be static.
John Beppu
2000-02-11 12:43:20 +00:00
91f3df3c45
Fixed a bug, -Erik
Erik Andersen
2000-02-10 22:58:40 +00:00
4d0543138e
More minor touchups. -Erik
Erik Andersen
2000-02-10 07:31:15 +00:00
fb1793f03c
Fix stupid typos -- thanks to Taketoshi Sano <kgh12351@nifty.ne.jp> for noticing these bugs. -Erik
Erik Andersen
2000-02-09 16:37:08 +00:00
07f5604046
Fix a possible /linuxrc crash. -Erik
Erik Andersen
2000-02-09 06:05:01 +00:00
d7ce5e7802
Update the sample inittab to add the "ctrlaltdel" action. Note a bug in busybox init that I need to fix. -Erik
Erik Andersen
2000-02-09 04:40:25 +00:00
e132f4b09e
Fixed the init problem where it wouldn't unmount filesystems on reboot. Also fixed swapoff -a so it works. -Erik
Erik Andersen
2000-02-09 04:16:43 +00:00
e49d5ecbbe
Some formatting updates (ran the code through indent) -Erik
Erik Andersen
2000-02-08 19:58:47 +00:00
c0bf817bbc
mkdir -p had gotten broken. Fixed now. -Erik
Erik Andersen
2000-02-08 06:19:29 +00:00
d0480c26ab
Forgot a semicolon. -Erik
Erik Andersen
2000-02-07 20:35:14 +00:00
31cf8e0056
device_open is common code -- moved into utility.c -Erik
Erik Andersen
2000-02-07 20:31:19 +00:00
79ac30da83
Forgot cp and mv are now cp_mv -Erik
Erik Andersen
2000-02-07 05:53:48 +00:00
d7cd21aed5
Remove the now obsolete test. Tests now live in the tests directory. -Erik
Erik Andersen
2000-02-07 05:30:41 +00:00
fac10d7c59
A few minor updates. ;-)
Erik Andersen
2000-02-07 05:29:42 +00:00
50bc101b7d
made more robust and commented my code.
John Beppu
2000-01-30 09:47:16 +00:00
b332e779e6
nslookup -- a work in progress...
John Beppu
2000-01-29 12:59:01 +00:00
04e97024e7
Clear up some ambiguity with old style assignments. -Erik
Erik Andersen
2000-01-29 07:06:24 +00:00
a6d0dbc86f
Minor change. init now uses dup2. -Erik
Erik Andersen
2000-01-29 06:29:32 +00:00
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
Erik Andersen
2000-01-29 05:52:40 +00:00
d7a44c76fe
Forgot some debugging noise. -Erik
Erik Andersen
2000-01-27 23:00:01 +00:00
ce5b466bcc
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
2000-01-27 19:50:47 +00:00
ccc7488615
Fixed ls formatting for 8 char user names. -Erik
Erik Andersen
2000-01-27 02:40:21 +00:00
de7965ca7e
Shuffle location of generic code into utility.c -Erik
Erik Andersen
2000-01-26 23:49:21 +00:00
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
Erik Andersen
2000-01-26 20:06:48 +00:00
3fe39dce5d
Some busybox updates. See the changelog for details if you care. -Erik
Erik Andersen
2000-01-25 18:13:53 +00:00
bf3a838aac
put #if's around the lchown, because older glibc versions don't have it.
John Beppu
2000-01-24 12:06:22 +00:00
5509af7073
* 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
Erik Andersen
2000-01-23 18:19:02 +00:00
9bc7e89fc1
Making note of my changes
John Beppu
2000-01-23 13:54:15 +00:00
a4a8fd05f4
Went ahead and fixed bug #301 (chown not working on symlinks)
John Beppu
2000-01-23 13:38:32 +00:00
06936df164
Fix a bug where tar could change perms and ownership of dirs pointed to by symlink within a tarball. -Erik
Erik Andersen
2000-01-23 02:14:20 +00:00
de552874d2
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
2000-01-23 01:34:05 +00:00
f4acea8cf5
Better way to check for namespace aliasing. -Erik
Erik Andersen
2000-01-22 04:55:32 +00:00
b2660c703d
Tell what I did -Erik
Erik Andersen
2000-01-20 19:51:48 +00:00
8ad12e32c8
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
Erik Andersen
2000-01-20 19:32:32 +00:00
08fe43d3f9
added a little more content.
John Beppu
2000-01-19 12:39:16 +00:00
a2f69e5485
Bug fix. grep wasn't printing file names they way it was supposed to. -Erik
Erik Andersen
2000-01-19 04:30:37 +00:00
46a4e76243
fleshed out a bit more... just wanted to put the current changes under version control.
John Beppu
2000-01-18 22:33:11 +00:00
3a1b6be7d8
the beginnings of a proper man page for busybox.
John Beppu
2000-01-18 15:45:59 +00:00
05100cd477
tar creation support is now optional. -Erik
Erik Andersen
2000-01-16 01:30:52 +00:00
83865e3e90
Ready for release
Erik Andersen
2000-01-15 22:33:09 +00:00
3163821967
Sync up busybox with the latest and greatest. This is not stuff for the Embedix release. -Erik
Erik Andersen
2000-01-15 22:28:50 +00:00
b7cc49d992
* 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 Andersen
2000-01-13 06:38:14 +00:00
05df239ed9
Bug fixes. -Erik
Erik Andersen
2000-01-13 04:43:48 +00:00
9a9a261569
Fix a logger bug. -Erik
Erik Andersen
2000-01-09 06:49:08 +00:00
ac6e71f0c4
Possible fixes... -Erik
Erik Andersen
2000-01-08 22:04:33 +00:00
766f9c7a19
Oops. left debug on. -Erik
Erik Andersen
2000-01-08 21:20:49 +00:00
1dbc17f630
Fix cp and mv so 'cp foo/README bar' where foo and bar are directories, and README is a file. -Erik
Erik Andersen
2000-01-08 21:16:29 +00:00
5338ce19c8
foo
Erik Andersen
2000-01-07 23:30:07 +00:00
5f2df6ccb4
Remove some leftover debug noise. -Erik
Erik Andersen
2000-01-07 23:11:00 +00:00
9b5c0b7611
More adjustments -Erik
Erik Andersen
2000-01-07 18:33:06 +00:00