On Tue, 7 May 2002, Sridhar N wrote: > Thanks it worked. Given two paths, to check if they refer to the > same file, is it enough to check if their inode number and their mount > points are same ? Or is there something else ? Two paths point to identical file <=> dentry1->d_inode->i_ino == dentry2->d_inode->i_ino && dentry1->d_inode->i_dev = dentry2->d_inode->i_dev -- JiKos. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/