What is the major difference between proc and sys?
by zeeshanharis from LinuxQuestions.org on (#4Y3F2)
what is the actual difference between /sys and /proc directories?
okay, they are virtual file systems used to import kernel data structures and hardware information. And the fact that /proc also has running process info stored and sys has the whole system and kernel info stored what is meant by that?
How does /proc identify the hardware such that it displays its vendor and other stuff, are there any rules through which it decides this info?
Why /sys has only one value per file for all the device attributes?
which of these is Udev dependent on?
How often Linux checks for hardware errors and where does that happen? Machine check errors, where are they stored?


okay, they are virtual file systems used to import kernel data structures and hardware information. And the fact that /proc also has running process info stored and sys has the whole system and kernel info stored what is meant by that?
How does /proc identify the hardware such that it displays its vendor and other stuff, are there any rules through which it decides this info?
Why /sys has only one value per file for all the device attributes?
which of these is Udev dependent on?
How often Linux checks for hardware errors and where does that happen? Machine check errors, where are they stored?