I've been wondering for last few days how exactly does it work. We can set kernel runtimes parameters using sysctl or
echo boolen 1> /proc/sys/module/exactParameter but in
/sys/modules/module/parameters/parameter we can also set values.
Are parameters for modules in
/proc/sys/ related only to hard complied into kernel? or there could be parameters for Loadable Kernel Modules also?
LKM after being loaded into running Kernel reveal their parameters in
/sys/modules/module/paraeter/params. Does it mean, that there aren't parameters for modules compiled into Kernel?
What is difference between both directories.