Re: Redirecting output

From: Martin Waitz
Date: Wed Mar 23 2005 - 02:29:21 EST


hoi :)

On Wed, Mar 23, 2005 at 12:12:02PM +0530, shafa.hidee wrote:
> I have created a dummy module for learning device driver in linux. I
> want to redirect the standard output of printk to my xterm. But by default
> it is redirected to tty.

The kernel does not have 'standard output', so you can't redirect it.
Please consult the manual for dmesg and syslog.

And please have a look at a good Linux kernel book.
This will help you understand the kernel and will answer most
of your questions.

--
Martin Waitz

Attachment: signature.asc
Description: Digital signature