Hi Danett song, On Fri, 2004-09-24 at 02:26, Danett song wrote: > Hello, > > 1) I want to create a entry in a directory (not > created by me), so i need that my struct > proc_dir_entry *directory have the contents of this > directory, but how i don't created it (for example > with directory = proc_mkdir(NAME, NULL);) i don't have > the directory filled, how can i get (information, fill > the struct directory) with the contents of it, that i > need to use to create a entry with create_proc_entry() > ? > > ps: In short, how can i fill the struct proc_dir_entry > with the values of a already existent directory in > /proc (for example /proc/sysvipc/)? define "name" the full path eg: proc_entry_name = sysyipc/your_proc_entry and parent = NULL Regards, shine mohd -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/