/proc/sys vs /sys/modules/mod/parameter

Discussion in 'Kernel Questions' started by astutus, Aug 31, 2013.

  1. astutus

    astutus New Member

    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.

Share This Page