3 ms·
Why /sys and not /proc ? After all, the kernel binary itself is under /proc .
by dTal 7y ago
Why /sys and not /proc ? After all, the kernel binary itself is under /proc .
- quotemstr 7y agoThe file started out in proc. There was a very long lkml discussion on the subject.
- cyphar 7y agoThere is a very long thread on LKML discussing this. But I'm pretty sure the primary reason is that procfs has been slowly accumulating more and more random knobs, while sysfs actually has a structure that can be used reasonably by userspace.