I have a question about the readdir function for filesystems. Readdir uses a function "filldir" which (as far as i can tell) puts entries out there and then the function "lookup" actually goes out and gives them inodes (this is my rough understanding). My question is I need to check to see if a file has already been "filldir"ed. Is the best way to use filldir and then in lookup check to see if its a duplicate (would i use remove_inode_hash), and if it already exists then discard the dcache for that duplicate (would i use d_delete)? Again, my knowledge is still growing in this area, so if i have things totally wrong, please let me know. Thank you! Dan -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/