From b5b82d92d26934b3d49adb146e8a4bd542ab8dfb Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 20 Nov 2007 01:06:29 -0600 Subject: Implement dmesg. --- toys/Config.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'toys/Config.in') 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 -- cgit v1.2.3