summaryrefslogtreecommitdiff
path: root/hurd/running/debian/faq/kernel_logs.mdwn
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2013-03-15 15:03:13 +0100
committerThomas Schwinge <thomas@codesourcery.com>2013-03-15 15:03:13 +0100
commitc839d69fbda5c52baedd01641610d6e8568b0984 (patch)
tree6d412a5d25970579359e8ccccde7cd1b627058c7 /hurd/running/debian/faq/kernel_logs.mdwn
parent0ae21581ece4639d56671f7855d808e0f5c0ac62 (diff)
parente113e5011c85c82cc473104d211d7d0765840c15 (diff)
Merge remote-tracking branch 'savannah/master'
Diffstat (limited to 'hurd/running/debian/faq/kernel_logs.mdwn')
-rw-r--r--hurd/running/debian/faq/kernel_logs.mdwn13
1 files changed, 7 insertions, 6 deletions
diff --git a/hurd/running/debian/faq/kernel_logs.mdwn b/hurd/running/debian/faq/kernel_logs.mdwn
index ff14ce5f..d539bf1b 100644
--- a/hurd/running/debian/faq/kernel_logs.mdwn
+++ b/hurd/running/debian/faq/kernel_logs.mdwn
@@ -1,13 +1,14 @@
-[[!meta copyright="Copyright © 2007, 2008 Free Software Foundation, Inc."]]
+[[!meta copyright="Copyright © 2007, 2008, 2013 Free Software Foundation,
+Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
-is included in the section entitled
-[[GNU Free Documentation License|/fdl]]."]]"""]]
+is included in the section entitled [[GNU Free Documentation
+License|/fdl]]."]]"""]]
-The kernel logs are written to `/dev/klog`. Run `cat /dev/klog > foo` as root
-and hit `ctrl+c` after a few seconds to catch the logs. You can do this only
-once and do not do this in single-user mode (where `ctrl+c` does not work).
+[[!meta title="dmesg, kernel logs"]]
+
+There is no dmesg command: the kernel does not keep a buffer of its messages. syslog however dumps them into `/var/log/dmesg`, so you can simply cat that.