summaryrefslogtreecommitdiffstats
path: root/sys-utils/dmesg.1
diff options
context:
space:
mode:
authorAdam Jackson2009-01-08 17:44:27 +0100
committerKarel Zak2009-01-16 12:34:49 +0100
commit11ea22d5a3dbb69557a4e1c7e3c862b0765102b5 (patch)
treea6c77c3efa9fdbfabd6d707c9c38f188e321d1e9 /sys-utils/dmesg.1
parentumount: cleanup gefs_by_specdir() (diff)
downloadkernel-qcow2-util-linux-11ea22d5a3dbb69557a4e1c7e3c862b0765102b5.tar.gz
kernel-qcow2-util-linux-11ea22d5a3dbb69557a4e1c7e3c862b0765102b5.tar.xz
kernel-qcow2-util-linux-11ea22d5a3dbb69557a4e1c7e3c862b0765102b5.zip
dmesg: Add -r (raw) option.
Useful for debugging which kernel messages are ruining your quiet bootup. Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'sys-utils/dmesg.1')
-rw-r--r--sys-utils/dmesg.15
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-utils/dmesg.1 b/sys-utils/dmesg.1
index d5dfa9d6a..33fd8b08b 100644
--- a/sys-utils/dmesg.1
+++ b/sys-utils/dmesg.1
@@ -4,7 +4,7 @@
.SH NAME
dmesg \- print or control the kernel ring buffer
.SH SYNOPSIS
-.BI "dmesg [ \-c ] [ \-n " level " ] [ \-s " bufsize " ]"
+.BI "dmesg [ \-c ] [ -r ] [ \-n " level " ] [ \-s " bufsize " ]"
.SH DESCRIPTION
.B dmesg
is used to examine or control the kernel ring buffer.
@@ -22,6 +22,9 @@ file to whoever can debug their problem.
.B \-c
Clear the ring buffer contents after printing.
.TP
+.B \-r
+Print the raw message buffer, i.e., don't strip the log level prefixes.
+.TP
.BI \-s bufsize
Use a buffer of size
.I bufsize