On 1/17/06, Tetsuo Handa <from-kernelnewbies@xxxxxxxxxxxxxxxxxxx> wrote: > Hi, > > > > Can anybody tell how do we redirect kernel messsages to a file? > > > By kernel messages I mean by like when we take in/out any plug and play > > > hardware > > > the messages come on the console. > > Another way is "dmesg > file". > That will not log continuously, and since dmesg prints the contents of a ring-buffer there's no guarantee that it holds all messages, only the most recent ones. -- Jesper Juhl <jesper.juhl@xxxxxxxxx> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/