hai, i need to show a character device as a regular file.can i use f_pos in struct file for maintaining offset.Rubini has said in Ldd that read/write calls should not modify f_pos.does the kernel update f_pos based on the result of read/write. thanks in advance. gokul -- _______________________________________________ Get your free email from http://www.india.com Powered by Outblaze -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/