Hi All, I am trying to understand the implementation of Blocking I/O in device driver by going through LDD By Alessandro Rubini. I am facing following problem : By opening a terminal, i run following command $ cat < /dev/MyCharDevice And another terminal is being opened to execute following command : $ echo "Hello" 1> /dev/MyCharDevice The problem is that cat command doesnot gives the output which I was expecting i.e. "Hello". I can see the content of buff [user space buffer] which has got its content from device buffer by using copy_to_user, but still the content "Hello" doesnot gets displayed on terminal. Could anyone tell whether I am wrong in my understanding ? Or this strange behavior is because of the implementation of cat command. Regards Dinesh ________________________________________________________________________ Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/