Re: proc file system

From: Jan Hudec (
Date: Tue Oct 09 2001 - 08:41:34 EST

> On Sat, Oct 06, 2001 at 12:02:18AM +0200, wrote:
> > i've written a prog interface for my logger utility to make it easy
> > to transport my logging information from kernel to userspace using
> > shell commands. now i want to use tail -f /prog/<mylogfile>. what
> > do i have to do for that to work. when using tail my loginfo gets
> > read form my ringbuffer, but nothing gets printed in the terminal.
> I think you actually want a character device instead of a /proc file.

Could you please explain why? I can't see the advantage (read and write
are fileops; you can have them exactly the same for proc file and device).

                                                  - Jan Hudec `Bulb' <>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:24 EST