On Tue, Mar 23, 2010 at 8:21 PM, perumal316 <perumal...@gmail.com> wrote:
> Hi All,
>
> I want to show the kernel messages to user through an application.

Why would you want to do that?  What are you trying
to achieve here?

> In Android the kernel messages are stored in "/proc/kmsg" but when I
> tried to display that nothing is coming out. I think it is because
> "proc/kmsg" is not a file as I can display files stored in "/data".

Look at how the syslog program works and use that same interface.

> I have also found I could not write to file from kernel. So how to I
> get the kernel messages available in the userspace so that it can be
> displayed?

You almost never want to do that.

What specific problem are you trying to solve here?

thanks,

greg k-h

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

To unsubscribe from this group, send email to 
android-kernel+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to