Hi Johannes ... > Now I've written a very simple programm to read form a file until read > says: "O. You reached EOF." > > AND: It works. > I write two lines (~54Bytes) into my file and read the data back. > cat gives me millions of lines.. > and joe "dies" by filling his internal buffer. > > So, what's the problem in this code? Somehow I can guess your problem, but again it's up to your own decision to fix it up. IIRC, "Linux Kernel Module Programming Guide" ( you can search it in www.tldp.org) has a section describing about read/write operation on /proc. One of the examples written in the related section clearly explains how to output a lot of data (like you wanna do, right?). Sorry for this small hint, it's all I know. regards, Mulyadi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/