How to print a message from kernel module to terminal console or tty console
Hi friends,
I am newbie to Linux. I have written a small kernel module. In the module, I am just printing few string. the module is working fine. But the string are getting printing in /var/log/message file. I want to print the kernel module message on the terminal console instead of /var/log/message. Can anybody guide me on this? thanks Yogesh |
I think 2 is Standard Error and 1 is Standard out or terminal. You might be able to output message like 2>&1
|
@jstephens84 : hello sir... i am also facing the same prob... but i couldnt understand ur solution... can u pls be more clear???
|
All times are GMT -5. The time now is 06:35 PM. |