Eric Andersen
c8c10c5715
Added (fixed) the '-n' option to fbset. Renumbered the command parameters to
...
put a gap between the normal commands and the fancy commands. This makes it
cleaner to add normal commands. Patch from Jon McClintock <jonm@bluemug.com>.
-Erik
2000-07-06 17:23:23 +00:00
Eric Andersen
b1e379f7f3
Remove some warning with glibc.
...
-Erik
2000-07-06 17:08:38 +00:00
Eric Andersen
1e03add675
a few minor cleanups.
...
-Erik
2000-07-06 09:56:35 +00:00
Eric Andersen
89bc256c94
Remove misguided klude around for 2.4.x-test* brokenness. Al Viro
...
will be removing this stuff from /proc/mounts real soon now I am assured.
-Erik
2000-07-05 19:29:59 +00:00
Eric Andersen
2086e3d679
Some cosmetic updates. Changed "OPTIONS" to "Options".
...
-Erik
2000-07-04 22:17:01 +00:00
Eric Andersen
10dc9d4d17
Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries in
...
/proc/mounts, added a hack to make sysinfo work with both old and new kernels).
-Erik
2000-06-26 10:45:52 +00:00
Mark Whitley
4fa84e6b54
Cleaned up some #ifdef spiderwebs.
2000-06-21 22:53:16 +00:00
Eric Andersen
bd4a75f6c8
Finish off the libc5 porting effort. Everything now works with libc5
...
except for md5sum, which uses the GNU libc addition getline().
-Erik
2000-06-19 20:03:48 +00:00
Eric Andersen
e1e23eecab
Make umount work and compile cleanly under libc5 and libc6.
...
-Erik
2000-06-19 18:38:51 +00:00
Eric Andersen
5e29c6ffce
Make swaponoff compile cleanly under both libc5 and libc6.
...
-Erik
2000-06-19 18:25:49 +00:00
Eric Andersen
b610615be9
Updates to a number of apps to remove warnings/compile errors under libc5.
...
Tested under both libc5 and libc6 and all seems well with these fixes.
-Erik
2000-06-19 17:25:40 +00:00
Mark Whitley
b991395405
Added some comments and changed a variable name to be more meaningful. No
...
fixes yet for the space bug, but should be coming soon.
2000-06-16 00:26:51 +00:00
Eric Andersen
a42982e8f5
* Fixed 'swapon -a' and 'swapoff -a', which were broken.
...
* Fixed 'mount -a' so it works as expected.
* Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE)
-Erik
2000-06-07 17:28:53 +00:00
Eric Andersen
fb8ba506bb
Oops. Remove the debugging noise.
...
-Erik
2000-06-06 22:13:39 +00:00
Eric Andersen
3232203226
mkfs.minix rev 1.7 completely broke the option parser. This fixes it.
...
-Erik
2000-06-06 22:12:35 +00:00
Pavel Roskin
680d65a646
"mount" now reports errors from nfsmount() and assumes NFS mount
...
if ':' is present in the device name - Pavel Roskin
2000-06-06 17:03:55 +00:00
Eric Andersen
815e904470
Fixed a bunch of stuff:
...
* Fixed segfault caused by "touch -c"
* Fixed segfault caused by "rm -f"
* Fixed segfault caused by "ln -s -s" and similar abuses.
* Fixed segfault caused by "cp -a -a" and similar abuses.
* Implemented "rm -- <foo>"
updated docs accordingly.
-Erik
2000-06-06 16:15:23 +00:00
Eric Andersen
ef4268efa7
This patch
...
- eliminates the need to have a buffer and strcpy to it
- makes freeramdisk complain if it's given more than one argument
Regards,
Pavel Roskin
2000-06-04 05:08:29 +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
8ea7d8cdaf
First pass at fixing tar segfault, and more portability updates.
...
-Erik
2000-05-20 00:40:08 +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
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
6c5f2c6021
Add support for "noatime" and "nodiratime" mount flags to mount.
...
Change umount "-f" to mean force, and actually use umount2.
Change umount "-l" to mean "Do not free loop device".
Updates docs accordingly.
-Erik
2000-05-05 19:49:33 +00:00
Erik Andersen
0a704e8ff6
Remove BB_FEATURE_REMOUNT (small, and should always be present)
...
and fix documentation dependancy checks, so it is only built when
it should be built.
-Erik
2000-05-03 03:19:06 +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
e90f4045af
Some more updates and such...
...
-Erik
2000-04-21 21:53:58 +00:00
Erik Andersen
1d1d95051a
More Doc updates. cmdedit and more termio fixes.
2000-04-21 01:26:49 +00:00
Erik Andersen
a6c752201e
Updates
...
-Erik
2000-04-18 00:00:52 +00:00
Erik Andersen
9cf3bfa7c1
More doc updates for BusyBox, with fixes to apps for bugs revealed
...
while trying to write docs . :-)
-Erik
2000-04-13 18:49:43 +00:00
Erik Andersen
61677feff7
Upates to include copyright 2000 to everything
...
-Erik
2000-04-13 01:18:56 +00:00
Erik Andersen
983b51b17b
minor changes to mount/umount to support-by-ignoring the "-v" flag.
...
Added optional core dumping as a feature for init, and include a rewrite
of syslogd so that it now supports multiple concurrent connections.
-Erik
2000-04-04 18:14:25 +00:00
Erik Andersen
3364d78b18
Yet another installment in the ongoing tar saga
...
-Erik
2000-03-28 00:58:14 +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
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
a967e3c8f0
Bug fix
...
-Erik
2000-03-14 16:34:49 +00:00
Erik Andersen
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
2000-03-13 04:07:02 +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
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
5b911ddd57
Fixed rebooting when init runs as /linuxrc
...
-Erik
2000-02-23 22:49:58 +00:00
John Beppu
5e1b2ca116
+ memory allocation/deallocation is less tolerant of evil.
2000-02-11 12:52:55 +00:00
John Beppu
c1dc5d9473
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";'
2000-02-11 12:43:20 +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
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
04e97024e7
Clear up some ambiguity with old style assignments.
...
-Erik
2000-01-29 07:06:24 +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
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
2000-01-23 18:19:02 +00:00
Erik Andersen
3163821967
Sync up busybox with the latest and greatest. This is not stuff for
...
the Embedix release.
-Erik
2000-01-15 22:28:50 +00:00
Erik Andersen
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
2000-01-13 06:38:14 +00:00
Erik Andersen
0881de706e
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
2000-01-05 09:34:26 +00:00
Erik Andersen
1266a13e1f
* 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
1999-12-29 22:19:46 +00:00
Erik Andersen
4d1d0113fd
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
1999-12-17 18:44:15 +00:00
Erik Andersen
1c5b2589d1
Fix bugs in logger and syslogd. Add fbset.
...
-Erik
1999-12-16 20:59:36 +00:00
Eric Andersen
485b9550fd
Stuf
1999-12-07 23:14:59 +00:00
Eric Andersen
d00c262847
Stuf
1999-12-07 08:37:31 +00:00
Eric Andersen
0ecb54a0f3
Stuf
1999-12-05 23:24:55 +00:00
Eric Andersen
1667fb4b63
Fixes
1999-11-27 20:34:28 +00:00
Eric Andersen
6a76e652aa
Stuf
1999-11-19 05:31:45 +00:00
Eric Andersen
08b1034f4f
Stuf
1999-11-19 02:38:58 +00:00
Eric Andersen
1c43d0c5af
Stuff
1999-11-18 07:58:07 +00:00
Eric Andersen
a9c95ea655
Updates
1999-11-15 17:33:30 +00:00
Eric Andersen
b6a44b8d39
updates for the day
1999-11-13 04:47:09 +00:00
Eric Andersen
96bcfd346b
Latest and greatest
...
-Erik
1999-11-12 01:30:18 +00:00
Eric Andersen
d73dc5b073
Updates to usage, and made tar work.
...
-Erik
1999-11-10 23:13:02 +00:00
Eric Andersen
50d6360771
Stuff
1999-11-09 01:47:36 +00:00
Eric Andersen
fbb39c83b6
Stuff
...
-Erik
1999-11-08 17:00:52 +00:00
Eric Andersen
29d2e362de
Fixed ln, df, and removed redundant stuff from mtab.
1999-11-06 06:07:27 +00:00
Eric Andersen
cf8c9cf7b9
More stuff -- ready for release.
...
-Erik
1999-11-05 00:31:46 +00:00
Eric Andersen
d0246fb72b
More stuff.
1999-11-04 21:18:07 +00:00
Eric Andersen
3ae0c78962
Stuf
1999-11-04 01:13:21 +00:00
Eric Andersen
c49960189a
Fixed up copyright notices and such
1999-10-20 22:08:37 +00:00
Eric Andersen
ef8b6c757d
Add a trivial ps command.
1999-10-20 08:05:35 +00:00
Eric Andersen
f5a3838e2f
More stuff
1999-10-19 22:26:25 +00:00
Eric Andersen
e674eb78e4
Made em work.
1999-10-19 20:52:57 +00:00
Eric Andersen
e494fdd2c7
More stuff
1999-10-19 20:23:03 +00:00
Eric Andersen
e77ae3a2c0
Added sfdisk. Ststic-ified a bunch of stuff.
1999-10-19 20:03:34 +00:00
Eric Andersen
b0e9a709ba
More stuff.
...
-Erik
1999-10-18 22:28:26 +00:00
Eric Andersen
8759006b55
More fixes
1999-10-18 21:22:59 +00:00
Eric Andersen
bed30e9700
More fixes
1999-10-18 19:02:32 +00:00
Eric Andersen
cb6e25655f
More stuff
1999-10-16 15:48:40 +00:00
Eric Andersen
3c163822d8
Fixed cp -[aR] and some other stuf.
1999-10-14 22:16:57 +00:00
Eric Andersen
f6be944a6a
More stuff
1999-10-13 21:12:06 +00:00
Eric Andersen
21943ce641
More fixes
1999-10-13 18:04:51 +00:00
Eric Andersen
3cf52d1958
More stuff...
1999-10-12 22:26:06 +00:00
Eric Andersen
f811e07b07
More stuff.
1999-10-09 00:25:00 +00:00
Eric Andersen
8341a15653
Finally mount works properly. Made debugging work (no more -s ld flag
...
when debugging is on).
1999-10-08 17:14:14 +00:00
Eric Andersen
596e5469d0
more stuff
1999-10-07 08:30:23 +00:00
Eric Andersen
17d49efd8c
More stuff.
1999-10-06 20:25:32 +00:00
Eric Andersen
9d3aba7b37
more stuff
1999-10-06 09:04:55 +00:00
Eric Andersen
4bea32abb5
latest and greatest.
1999-10-06 00:30:51 +00:00
Eric Andersen
cc8ed39b24
Initial revision
1999-10-05 16:24:54 +00:00