3

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?

Thomas Dickey
  • 75,040
  • 9
  • 171
  • 268
Lavya
  • 1,545
  • 5
  • 18
  • 26
  • 1
    [procfs vs sysfs](http://unix.stackexchange.com/questions/4884/what-is-the-difference-between-procfs-and-sysfs) – neuron Jul 17 '15 at 09:28

1 Answers1

7

/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

neuron
  • 1,941
  • 11
  • 20