bug in dmesg parameter parsing (busybox 1.2.0)
Natanael Copa
natanael.copa at gmail.com
Thu Jul 6 06:59:12 PDT 2006
Hi,
I'm upgrading my 1.1.3 busybox to 1.2.0.
I got bitten by this one:
~ $ dmesg -c
dmesg: option requires an argument -- c
BusyBox v1.2.0 (2006.07.06-06:53+0000) multi-call binary
Usage: dmesg [-c] [-n LEVEL] [-s SIZE]
Prints or controls the kernel ring buffer
Options:
-c Clears the ring buffer's contents after printing
-n LEVEL Sets console logging level
-s SIZE Use a buffer of size SIZE
~ $ dmesg -n 1
BusyBox v1.2.0 (2006.07.06-06:53+0000) multi-call binary
Usage: dmesg [-c] [-n LEVEL] [-s SIZE]
Prints or controls the kernel ring buffer
Options:
-c Clears the ring buffer's contents after printing
-n LEVEL Sets console logging level
-s SIZE Use a buffer of size SIZE
~ $ dmesg -s 16384
BusyBox v1.2.0 (2006.07.06-06:53+0000) multi-call binary
Usage: dmesg [-c] [-n LEVEL] [-s SIZE]
Prints or controls the kernel ring buffer
Options:
-c Clears the ring buffer's contents after printing
-n LEVEL Sets console logging level
-s SIZE Use a buffer of size SIZE
More information about the busybox
mailing list