aboutsummaryrefslogtreecommitdiff
path: root/toys/Config.in
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-11-20 01:06:29 -0600
committerRob Landley <rob@landley.net>2007-11-20 01:06:29 -0600
commitb5b82d92d26934b3d49adb146e8a4bd542ab8dfb (patch)
treecbfdb3b566c0e244ef53c4e5cd014174564a379b /toys/Config.in
parent126f9c5c6f4da006dc389b6eb91d9c8f0d02970e (diff)
downloadtoybox-b5b82d92d26934b3d49adb146e8a4bd542ab8dfb.tar.gz
Implement dmesg.
Diffstat (limited to 'toys/Config.in')
-rw-r--r--toys/Config.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/toys/Config.in b/toys/Config.in
index 84b3f28f..04640c58 100644
--- a/toys/Config.in
+++ b/toys/Config.in
@@ -68,6 +68,18 @@ config DF_PEDANTIC
-k Sets units back to 1024 bytes (the default without -P)
+config DMESG
+ bool "dmesg"
+ default y
+ help
+ usage: dmesg [-n level] [-s bufsize] | -c
+
+ Print or control the kernel ring buffer.
+
+ -n Set kernel logging level (1-9).
+ -s Size of buffer to read (in bytes), default 16384.
+ -c Clear the ring buffer after printing.
+
config ECHO
bool "echo"
default y