When we register a driver, the "name" parameter shows up in /proc/devices, yet we can write to the devices using the entry in /dev corresponding to the device. What are the core ideas behind /proc and /dev entries? Moving further, is sysfs supposed to be a replacement for procfs? How does it differ from procfs?
- 1procfs vs sysfsneuron– neuron2015-07-17 09:28:26 +00:00Commented Jul 17, 2015 at 9:28
Add a comment |
1 Answer
/proc/devices - List of device drivers configured into the currently running kernel (block and character)
/dev - This directory contains the special device files for all the devices
Difference between procfs vs sysfs