005 Character Device Drivers DevelopmentIssues, queries, suggestions or discussion related to Linux Device drivers, character device drivers, Linux based character driver and related issues.
hello..i want to ask one thing..when i am trying to use create_proc in kernel versions above 3.10 then why in my proc entry the data which i am trying to write goes in the infinte loop..when i try to vim proc entry then the data writes to that entry in infinte manner...I have to do ctrl+z to stop that...help me !!
Actually proc has information of virtual file system.
Virtual file system provides an interface between kernel space and user space.
Most of the files in proc have just got read only permissions.
For ex: if we compile and run some program, it's pid number number will be visible in ps -ax. We can fetch that pid number in /proc directory, and get to know all information about that program, like the fd it used, functions, etc.