sysfs vs. procfs, devfs vs. ufs ?
Hello!
what is the intention of sysfs?
is it a replacement/addition to procfs?
devfs is obsoleted, where can I switch ufs on?
what does it look like?
Nico
Quoted 2 lines · Nico Schottelius
what is the intention of sysfs?
is it a replacement/addition to procfs?
sysfs is a filesystem used to export the device model (a tree of data structures representing the devices in a system) to user-space in a clean and efficient way.
procfs is a more generic (and less elegant) filesystem for exporting anything to user-space.
sysfs only replaces procfs in so far as relevant interfaces, such as those related to hardware. process information should remain in procfs.
/proc is not going anywhere.
Robert Love