On Mon, May 26, 2003 at 01:26:31AM +0000, Bryan K. wrote: > I was trying to understand how the minix works. I found that when creating > a new inode it sets inode->i_fop = &minix_file_operations; But > minix_file_operations struct does not have a pointer for the open > file_operation(ext2 sets this to generic_file_open). So what happens when > we open a file? What functions does the actual open? Starting from sys_open() which calls filp_open() and then calls open_namei() and dentry_open(). Take a look at the commentary above open_namei(). -- Flávio Bruno Leitner <fbl@conectiva.com.br> [ E74B 0BD0 5E05 C385 239E 531C BC17 D670 7FF0 A9E0 ] -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/