> > Hi, > > Have a look at vfs_path_lookup() . In particular probably you want path_walk(). > > Thanks - > Manish > Well, I looked into that but I don't see how that may help me. path_walk() is called by filp_open() so I would get the same information. However, I don't see how I can find out which files inside that directory exist. I have the "struct nameidata" which gives me access to "struct dentry" which gives me the "struct inode" I assume I have to somehow start at the dentry struct to find all the childs of that entry. But how do I do that? Dan -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ