> > Why is that difference?will you please tell me. > My driver's code is written below. You are printing the value of the inode pointer instead of the inode number (inode->i_no). Check the respective data structures before printing them. -- Goldwyn :o) -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/