hi, Contiuing the below question : ... cant we fill in the file_operations struct with sys_read and sys_write and assign that to proc_dir* file_ops entry in the proc stucture. please do reply fast... thanks, raghu On Sat, 16 Nov 2002, Raghu R. Arur wrote: > > Hi, > > I am very new to module programming... I am creating /proc file. I am > able to create a proc file using the system call > > create_proc_entry(file_name,flags,NULL); > > I know that we need to provide the fuctions for writing and reading that > file and we need to use > > struct file_operations; > > > But what i am not getting is, which system call do i need to call to > associate fileoperations with the proc file I created. > > expecting an urgent reply.... > > thanks, > raghu > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/