1 |
On Sunday 16 October 2005 18:25, Ian Brandt wrote: |
2 |
> Hi, |
3 |
> |
4 |
> Is it possible to get the dmesg for the boot prior to the current one? |
5 |
> |
6 |
|
7 |
No. Once the kernel reboots, the dmesg data is lost. Unless ofcourse you put |
8 |
this in /etc/conf.d/local.start: |
9 |
|
10 |
#!/bin/bash |
11 |
# /etc/conf.d/local.start |
12 |
/bin/dmesg > /var/log/dmesg |
13 |
|
14 |
Then you will at the least have a log of the current dmesg, which could be |
15 |
rotated. |
16 |
|
17 |
|
18 |
-- |
19 |
|
20 |
****************************************************************************** |
21 |
Registered Linux User Number 185956 |
22 |
FSF Associate Member number 2340 since 05/20/2004 |
23 |
Join me in chat at #linux-users on irc.freenode.net |
24 |
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00! |
25 |
7:21am up 28 days, 21:46, 1 user, load average: 0.05, 0.07, 0.08 |
26 |
-- |
27 |
gentoo-user@g.o mailing list |