Bernhard Reutner-Fischer
d1f939eaf3
- fix documentation for the command-line options of ipcs. Closes #1036
2006-09-20 15:56:53 +00:00
Denis Vlasenko
9213a9e0f2
whitespace cleanup
2006-09-17 16:28:10 +00:00
Bernhard Reutner-Fischer
4d0f54af94
- Steven Scholz pointed out that ssd's make-pid doesn't take an argument.
2006-09-15 19:25:18 +00:00
Rob Landley
69674941dd
Error reporting fix for sulogin, plus remove help entries for options we never
...
implemented. (Plus a bit more of bbsh leaking in from my tree, but it
shouldn't hurt anything and I'm lazy...)
2006-09-11 00:34:01 +00:00
Denis Vlasenko
3538b9a882
Implement optional syslog logging using ordinary
...
bb_xx_msg calls, and convert networking/* to it.
The rest of bbox will be converted gradually.
2006-09-06 18:36:50 +00:00
Denis Vlasenko
2cbe6e6eb2
ping: implement -I option
2006-09-02 16:17:30 +00:00
Bernhard Reutner-Fischer
bfbc4ebf40
- patch from Csaba Henk to make the "User-Agent" header field configurable.
2006-09-02 15:30:26 +00:00
Bernhard Reutner-Fischer
73561cc75a
- pull from busybox_scratch: r15829:15850
...
Various fixes, cleanups and shrinkage:
saves 952 Bytes:
text data bss dec hex filename
1087742 15853 790632 1894227 1ce753 ../busybox/busybox.old
1086790 15853 790632 1893275 1ce39b busybox
via:
# scripts/bloat-o-meter ../busybox/busybox_unstripped.old busybox_unstripped
function old new delta
ipcrm_main 756 822 +66
getval - 61 +61
maybe_set_utc - 40 +40
udhcpc_main 2896 2912 +16
md5_hash_block 428 437 +9
opt 8 16 +8
qgravechar 106 110 +4
make_bitmap 292 295 +3
inflate_unzip 2056 2059 +3
add_partition 1412 1414 +2
__parsespent 156 158 +2
qrealloc 41 42 +1
format - 1 +1
catv_main 313 314 +1
watch_main 293 292 -1
varunset 81 80 -1
part 1 - -1
check_if_skip 837 836 -1
start_stop_daemon_main 840 837 -3
create_lost_and_found 175 172 -3
supress_non_delimited_lines 4 - -4
static.l 4 - -4
static.c 5 1 -4
bsd_sum_file 237 233 -4
eval2 338 332 -6
arithmetic_common 166 158 -8
cmpfunc 22 5 -17
cksum_main 294 275 -19
cmp_main 465 439 -26
dd_main 1535 1508 -27
rmmod_main 376 333 -43
cut_file 727 644 -83
ipcs_main 3809 3721 -88
cut_main 722 614 -108
date_main 1443 1263 -180
remove_ids 222 - -222
------------------------------------------------------------------------------
(add/remove: 3/4 grow/shrink: 11/18 up/down: 217/-853) Total: -636 bytes
2006-08-28 23:31:54 +00:00
Rob Landley
0e4690d4ef
Michael Opdenacker contributed a readahead applet.
2006-08-20 22:12:18 +00:00
Rob Landley
e55a73c7a8
Update usage to talk about the new shared subtree stuff in mount.
2006-08-09 20:55:35 +00:00
"Robert P. J. Day"
eea561871b
"formated" -> "formatted" throughout the code base.
2006-07-20 19:02:24 +00:00
Rob Landley
f0623a2c98
Patch from Thaddeus Ternes, adding chuid to start-stop-daemon.
2006-07-17 00:35:07 +00:00
Rob Landley
1cca9484db
Upgrade netcat a lot. Make -e able to take the rest of the command line as
...
what to exec. Add -f mode and a brief explanation of how to use it to replace
minicom. Add -l -l mode so you can turn any command into a server. And group
all of netcat's command line options under two CONFIG entries, so if you
disable both it doesn't use getopt at all.
2006-07-10 19:45:20 +00:00
"Robert P. J. Day"
63fc1a9e08
Standardize on the vi editing directives being on the first line.
2006-07-02 19:47:05 +00:00
Rob Landley
12d9419273
Revert taskset for 1.2.0. It emits a warning, breaks building under RH9,
...
and nobody seemed interested in fixing it despite repeated complaints.
I'll worry about it in the 1.3 timeframe...
2006-06-30 22:20:43 +00:00
Mike Frysinger
cc826d74e4
cleanup patch usage
2006-06-28 00:22:32 +00:00
Mike Frysinger
cd68a2e1a8
fix watchdog on no-mmu systems by adding -F option for rexec
2006-06-26 21:31:17 +00:00
Rob Landley
ef10d52745
Upgrade mdev to allow commands to be run on create/delete.
...
Both Jason Schoon and Giuseppe Ciotta deserve credit for this, I used elements
of both. It's been upgraded so that you can specify that a given command
should run at create, at delete, or at both using different special characters
(@, $, and * respectively). It uses the system() method of running command
lines which means you can use environment variables on the command line (it
sets $MDEV to the name of the current device being created/deleted, which is
useful if you matched it via regex), and the documentation warns that you need
a /bin/sh to make that work, so you probably want to pick a default shell.
2006-06-26 14:11:33 +00:00
Rob Landley
e1ee482684
Document mount's new error return conventions.
2006-06-24 22:39:19 +00:00
Bernhard Reutner-Fischer
a926f8e50a
- add fancy mode to start-stop-daemon to support --oknodo and --verbose
2006-06-11 17:24:01 +00:00
Rob Landley
6d8ce170b0
Fix from Tito to read from stdin only when it's not a tty.
2006-06-07 21:22:42 +00:00
Bernhard Reutner-Fischer
16d3e4e0af
- add applet taskset to set/retrieve the CPU affinity of a process
...
text data bss dec hex filename
584 0 0 584 248 taskset.o.gcc-2.95
509 0 0 509 1fd taskset.o.gcc-3.3
505 0 0 505 1f9 taskset.o.gcc-3.4
506 0 0 506 1fa taskset.o.gcc-4.0
498 0 0 498 1f2 taskset.o.gcc-4.1
495 0 0 495 1ef taskset.o.gcc-4.2-HEAD
2006-06-07 15:44:59 +00:00
Rob Landley
0620841758
Patch from Tito to remove long options from hdparm.
2006-05-31 22:52:57 +00:00
Rob Landley
8abbee474c
Add catv (separate applet instead of cat -v). Also cleanup cat.c comments,
...
the following of which (from cat.c) belongs in svn history instead of the
source code:
/* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org )
*
* This is a new implementation of 'cat' which aims to be SUSv3 compliant.
*
* Changes from the previous implementation include:
* 1) Multiple '-' args are accepted as required by SUSv3. The previous
* implementation would close stdin and segfault on a subsequent '-'.
* 2) The '-u' options is required by SUSv3. Note that the specified
* behavior for '-u' is done by default, so all we need do is accept
* the option.
*/
2006-05-31 19:36:04 +00:00
Mike Frysinger
fa6c4844b2
fix spelling mistakes
2006-05-26 01:48:17 +00:00
Mike Frysinger
cf89c37d08
fix indenting in help output for ifconfig
2006-05-19 16:14:31 +00:00
Rob Landley
2686d3bc38
Rob Sullivan cleaned up the longstanding patch from Hideki IWAMOTO to add
...
ibs and obs support to dd, and made it configurable. I cleaned it up a bit
further and moved conv= into the same config option.
2006-05-16 16:52:12 +00:00
Paul Fox
d7384296f6
implement -print0 for find
2006-05-12 14:47:20 +00:00
Rob Landley
3b89039c25
It was sitting there, in the patches directory, for years. It was delete it
...
or apply it. It's small, simple, evil, part of SUSv3, and we can switch it
off.
2006-05-04 20:56:43 +00:00
Rob Landley
a2d9a1752c
More usage.h cleanups, with collateral changes to httpd. Specifically,
...
most of our CONFIG entries switch stuff on instead of off when enabled, so fix
the gratuitously reversed INETD thing.
2006-04-28 19:38:04 +00:00
Rob Landley
5fe8d5b9c5
Convert a chunk of usage.h to USE_ and SKIP_ (more to do there), and fix a
...
DEFALT typo in du while I was there.
2006-04-25 22:40:53 +00:00
Rob Landley
856489b63c
New applet cksum, from Rob Sullivan.
2006-04-18 20:57:28 +00:00
Bernhard Reutner-Fischer
bc14214018
- patch from Rob Sullivan to add support for -L
2006-04-06 16:07:08 +00:00
Bernhard Reutner-Fischer
8f7d389700
- new applet diff. Rob Sullivan writes:
...
Here's my attempt at a mini diff applet - it's adapted from the code at
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/diff/ , and only supports
unified diffs.
I've busyboxified everything to a reasonable degree, so I think the code is
suitable enough to be included, but there's still a fair bit of cleaning up
to be done.
2006-04-06 08:11:08 +00:00
Bernhard Reutner-Fischer
a1bccc0ba8
- typos: s/compatability/compatibility/g;s/compatable/compatible/g;
2006-04-02 20:17:55 +00:00
Bernhard Reutner-Fischer
e47c4cbd4d
- update help text.
...
the interface argument is now a lowercase 'i' to match the big arping
commandline-syntax.
2006-03-31 18:10:31 +00:00
Rob Landley
daa4a6dcbd
Update ipaddr help to match reality.
2006-03-30 01:59:30 +00:00
Rob Landley
87848d91c7
setlogcons, from Jan Kaszka.
2006-03-27 23:23:43 +00:00
Mike Frysinger
874af85d5e
import most of e2fsprogs 1.38 updates
2006-03-08 07:03:27 +00:00
Rob Landley
c6d09a6276
You don't need an #ifdef around #defines in usage.
2006-02-22 20:33:15 +00:00
Rob Landley
c5789a6e23
Walter Harms added -D to date, and I did a code cleanup while I was in the
...
area. Probably broke something...
2006-02-21 05:06:42 +00:00
Mike Frysinger
bf28ed8834
eat extraneous newlines at the end of applet full usage
2006-02-21 04:32:03 +00:00
Mike Frysinger
0a6b0bfa7a
add setarch/linux32/linux64 applet
2006-02-21 04:26:52 +00:00
Rob Landley
a2841e6d4b
Patch from Giuseppe Ciotta to specify retry count.
2006-02-20 23:26:38 +00:00
Mike Frysinger
4fcefb9e90
fixup whitespace in awk help output
2006-02-06 23:38:59 +00:00
Mike Frysinger
35cf19d741
fix mdev help output
2006-02-02 22:52:59 +00:00
Rob Landley
646129163a
Re-add initrd support, unify halt/reboot/poweroff, add -n and -f options.
2006-01-30 08:31:37 +00:00
"Vladimir N. Oleynik"
7b4aa6ffc6
new applet. Thanks Roberto A. Foglietta
2006-01-25 14:19:11 +00:00
Tim Riker
c1ef7bdd8d
just whitespace
2006-01-25 00:08:53 +00:00
Rob Landley
6130b9b160
Testing CONFIG_SORT_BIG to display the help for the big version of sort isn't
...
much use when the symbol is CONFIG_FEATURE_SORT_BIG.
2006-01-23 21:10:38 +00:00
Rob Landley
c1d69906a0
Patch from Aurelien Jacobs to add unlzma. (A new decompression type,
...
see www.7-zip.org)
2006-01-20 18:28:50 +00:00
Bernhard Reutner-Fischer
5a620ea220
- Document -m, -c, -s and provide a default shell for standalone build.
...
- Wrap overlong lines plus a few whitespace fixes.
- add GPL header.
2006-01-19 18:04:15 +00:00
Paul Fox
72d1a2357d
add find's "-mmin" option. configurable.
2006-01-13 21:05:41 +00:00
Mike Frysinger
29ed59ee11
make mount usage a bit more terse
2006-01-04 00:04:08 +00:00
Rob Landley
ce88793698
When you went "losetup -d /dev/loop0 /dev/loop1" the error message was strange.
2005-12-21 17:00:25 +00:00
Rob Landley
70f7ef7be3
Nothing to see here. Move along.
...
Not buying it, eh?
I know I said new features before 1.1, but, well... (I was weak!)
The config file and hotplug modes aren't implemented yet. Might take a stab at
those tomorrow. (I _should_ go back to focusing on the bug triage list.)
2005-12-13 08:21:33 +00:00
Rob Landley
9c32a15220
Yann E. Morin's update to modprobe usage.
2005-12-11 20:12:24 +00:00
Glenn L McGrath
0bd0257fe0
Add build options to control SuS compatability, allows numeric
...
option handling to be disabled.
Defaults to enabled, so no changes in default behaviour
2005-12-11 03:09:05 +00:00
Rob Landley
1d589b2e2d
Fix losetup so that it A) actually works again, B) has much better error
...
messages, C) can show the current association (if any) when called
with only one argument. Update the documentation a lot too.
Remind me to add a test suite for this thing. I think I've figured out
how to handle root-only testsuites...
2005-11-29 23:47:10 +00:00
Paul Fox
969af89797
add "-C" format to hexdump
...
fixes bug #113 and satisfies a personal need at the same time.
output compares identically to util-linux version. (with
exception of whitespace differences on last lines of output with
non-uniform length, which are neither fixed nor worsened by this
change.)
2005-11-28 21:06:00 +00:00
Rob Landley
fe25715792
Update to modprobe usage from Yann E. Morin
2005-11-23 04:55:02 +00:00
Rob Landley
64a5f96780
telnetd -b (bind to specific address) support from Iuri Gomes Diniz.
2005-11-10 22:37:40 +00:00
Bernhard Reutner-Fischer
62d7acc97e
- add BB_APPLET_RUNLEVEL used by emdebian via /etc/init.d/rc.
...
Note that we leave the buggy CONFIG_* namespace now, so please fix any applet you thouch.
2005-10-28 20:37:03 +00:00
Rob Landley
aa87276bed
New applet, fuser, from Tony J. White. (Needs some cleanup.)
2005-10-28 13:05:12 +00:00
Rob Landley
0f34a821ab
Add a switch_root utility (like kconfig's utils/run_init.c, although not
...
actuall using any of that code). This is needed because pivot_root doesn't
work right under initramfs. (See the menuconfig help.)
2005-10-27 22:55:50 +00:00
Bernhard Reutner-Fischer
81c3a518d3
- pidof(8): make -s optional and optional -o; closes #168
...
first cut.
2005-10-06 15:37:02 +00:00
Bernhard Reutner-Fischer
6d6a40cc4b
- add option 'w' to ps (wide output, optional feature defaults to off).
...
- move to ENABLE_ and use shorter boilerplate.
sizes without selinux-support:
text data bss dec hex filename
356 0 0 356 164 procps/ps.o.with-w
300 0 0 300 12c procps/ps.o.no-w
302 0 0 302 12e procps/ps.o.oorig
2005-10-04 14:31:18 +00:00
Rob Landley
5d3a0e8ed3
Add find -exec support from Rob Sullivan, and convert CONFIG_ to ENABLE_
...
while we're in the area.
2005-10-04 03:34:39 +00:00
Mike Frysinger
036f299137
Cristian Ionescu-Idbohrn says: touchup whitespace/display
2005-09-24 23:50:14 +00:00
Rob Landley
16722554bf
Tito switched option parsing over to switch umount over to bb_getopt_ulflags().
2005-09-24 22:41:08 +00:00
Mike Frysinger
51a43b47fe
import the very fat e2fsck/fsck applets
2005-09-24 07:11:16 +00:00
Bernhard Reutner-Fischer
0a44c17771
- add missing descriptions of supported arguments
2005-09-23 15:40:15 +00:00
Paul Fox
28de951b02
add support for setting the dhcp vendor class option (option 60).
...
udhcpc now has a -V (--vendorclass), which will replace the default
"udhcpRELEASE" string in this option.
2005-09-22 18:59:13 +00:00
Bernhard Reutner-Fischer
9d7010ca86
- add applet nohup(1)
2005-09-21 18:25:05 +00:00
Rob Landley
9200e79d21
New applet "less", from Rob Sullivan.
2005-09-15 19:26:59 +00:00
Mike Frysinger
68071e46b1
touch up usage for swap utils
2005-09-13 02:26:24 +00:00
Eric Andersen
5d38f5ba89
sysctl was seriously broken. And since in some cases 'CONFIG_SYSCTL'
...
could be included into application space via the kernel config option
of the same name, nasty compilation problems could result.
2005-09-12 21:42:48 +00:00
Rob Landley
14efdc58ce
Don't comment warnings. Don't put #warnings about warnings. _FIX_ warnings.
...
This fixes the warning, and makes the binary smaller out of sheer pique.
(Yes, since Manuel did this one it's nice tight code that took several
attempts to shrink, but I was ticked.)
Add the start of a test for uniq; this is about the first 1/3 of the
tests we need for full susv3 coverage of uniq.
2005-09-07 04:18:36 +00:00
"Vladimir N. Oleynik"
45a8ed89c6
- sync traceroute with Slackware-10.1
...
(support -FIl -g gw -i if -z pt now).
- libbb/getopt_ulflags.c support bb_opt_complementally="x-x" as trigger now
2005-09-06 16:08:33 +00:00
Rob Landley
078bacf1e9
Patch -i support from Berhnard Fischer.
2005-09-01 03:02:23 +00:00
Rob Landley
d00b3a5e94
Bernhard Fischer provided a mountpoint(1) applet. This is apparently something
...
sysvinit provides, and which is used by the debian init scripts.
2005-08-20 05:07:08 +00:00
Mike Frysinger
b8d004631a
Tito (among others) writes: previous patch was wrong, please stop screwing things up
2005-08-17 01:20:10 +00:00
Mike Frysinger
c8e2de6e1b
Bernhard Fischer writes: fix devfsd usage
2005-08-15 22:13:21 +00:00
Paul Fox
4240364098
commiting:
...
0000028 03-16-05 patch: new setsid applet
2005-08-01 22:52:09 +00:00
Paul Fox
b831753676
commiting:
...
0000073: Add option to inetd applet to run in foreground
this option was already there for uclinux -- this just exposes
it in the normal case as well.
2005-08-01 19:39:47 +00:00
Paul Fox
156dc41cbc
commiting patch from bug 71:
...
0000071: patch: implement "--color" option for ls coloring control
2005-08-01 19:33:30 +00:00
Paul Fox
fc2256a6ca
applying patch for bug 72:
...
0000072: Add applet to redirect console output via ioctl(..., TIOCCONS)
applet name changed to setconsole, since suse has a very similar
utility. better to treat differences as bugs than invent a new command.
2005-08-01 18:12:30 +00:00
Paul Fox
79c142d938
new config display applet, from bug 46. i've changed the name
...
of the applet from "config" to "bbconfig", and renamed the
source filenames and symbols to match appropriately.
2005-08-01 16:04:40 +00:00
Paul Fox
a39bba33c8
allow suppression of default client-id. fixes bug 000037. allows
...
busybox to match kernel and u-boot behavior with respect to client-id.
2005-08-01 14:31:13 +00:00
Eric Andersen
2ada89b60f
a bit more polish
2005-07-18 09:45:35 +00:00
Eric Andersen
54e57da96a
a bit of polish on makedevs
2005-07-18 09:42:37 +00:00
Eric Andersen
e8614dbcd7
Fixup device table based makedevs so it actually works
2005-07-18 09:28:36 +00:00
Rob Landley
6eb1e41674
Rodney Radford submitted ipcs and ipcrm (system V IPC stuff). They could use
...
some more work to shrink them down.
2005-06-20 04:30:36 +00:00
Mike Frysinger
6447ac0ef4
import initial fat mke2fs
2005-06-11 05:29:40 +00:00
Mike Frysinger
174808cedb
import tune2fs support
2005-06-11 01:14:09 +00:00
Eric Andersen
3d9256225f
About time to just apply this and kill off the patches
2005-06-09 10:16:02 +00:00
Paul Mundt
8b2d02ed34
Add readprofile applet support.
2005-05-20 17:22:18 +00:00
Rob Landley
9ea8836357
Add automatic umount support to eject command. Patch from Tito,
...
with tweaks from Mike Frysinger and Rob Landley.
Note: this will still fail to umount a path that contains an ' or \ character.
Is it worth the extra size to filter for that?
2005-05-14 00:46:18 +00:00
Mike Frysinger
4d149205c3
update usage to match actual behavior
2005-05-12 22:36:07 +00:00
Rob Landley
2acfd7bd26
Small comm implementatin from Rob Sullivan. Needed to build perl.
2005-05-11 23:12:49 +00:00