Sysfs vs Procfs
Posted Dec 16, 2004 13:15 UTC (Thu) by
alex (subscriber, #1355)
In reply to:
Debugfs by ekj
Parent article:
Debugfs
IIRC it was because /proc was meant to be to store process information but then turned into a maze of twisty directories with all sorts of random data dumped into it - including device information.
Sysfs on the other hand is designed to be a representation of the kernel device model. For that reason stuff isn't just dumped in, the position of nodes with sysfs actually represents the hierachy of devices in relation to their subsytems.
(
Log in to post comments)