If /proc/sys and /sys are the same, can I change the kernel options in /sys not in /proc/sys?
If not, why?
Asked
Active
Viewed 64 times
1 Answers
2
They are not the same: /proc/sys
gives access to sysctl
files, which provide various configuration options for kernel features; sys
is sysfs
, which gives access to kernel data structures.
Some of these might overlap, so a setting in /proc/sys
could show up in the corresponding data structure in /sys
. In such cases you can’t change one without changing the other.

Stephen Kitt
- 434,908