<linux 2.6.38 kernel> struct file *filp = filp_open("/proc/net/stat", O_RDONLY, 0); proc_dir_entry = PDE(filp->f_path.dentry->d_inode); proc_entry = create_proc_entry( "fortune", 0644, proc_dir_entry ); "fortune" is getting created in /proc dir, why so ? -ratheesh -- To unsubscribe from this list: send the line "unsubscribe linux-modules" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html