Hacker News new | past | comments | ask | show | jobs | submit login

Why /sys and not /proc ? After all, the kernel binary itself is under /proc .



There 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.


The file started out in proc. There was a very long lkml discussion on the subject.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: