Hello, The open, release and ioctl gets a reference to the inode, using which i can get the minor number of the device file the system-call is being called upon. I dont get reference to the inode in the read and write. How do i know which minor number is the system-call being called upon in case of read and write? Thanks in advance. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/