Re: dmesg and root-tail
On Sun, Jul 12, 2009 at 01:33:21AM +0900, Osamu Aoki wrote:
> On Sat, Jul 11, 2009 at 03:08:40AM -0600, lee wrote:
> > Hi,
> > is there a way to have root-tail display what dmesg puts out?
> > Like "dmesg | root-tail" --- but dmesg creates output only once.
> I do not know about "root-tail" command but ..
> "dmesg | tail -f" may do interesting thing
The "tail -f" waits for more output from dmesg, but dmesg won't
produce any more output. dmesg is supposed to print the contents of
the kernel buffer; it does exactly that and then ends. It also doesn't
have an option like -f to tell it to "keep printing" ...