Unable to write into character device file in Ubuntu

Posted by Surjya Narayana Padhi on Super User See other posts from Super User or by Surjya Narayana Padhi
Published on 2012-09-24T03:08:05Z Indexed on 2012/09/24 3:40 UTC
Read the original article Hit count: 391

Filed under:
|

I just written a linux character driver. I created one character device file named X. I can see that file in /dev folder. Now I want to do some read/write operation into this file. I opened the filed in VI editor and write some text into it. I used :wq and exited. It didn't show any error. Now when I do cat on that same file I am not able to see any content. I tried it several times. The same situation.

Please let me know If I am doing something wrong....

© Super User or respective owner

Related posts about file

Related posts about linux-device-driver