Linux.com

astutus

astutus

  • Linux.com Member
  • Posts: 1
  • Member Since: 31 Aug 13
  • Last Logged In: 31 Aug 13

Latest Posts

Posted by
Topic
Post Preview
Posted
  • astutus
    /proc/sys vs /sys/modules/mod/parameters/
    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. according to kernel-parameters.txt: Module parameters for modules that are built into the kernel image are specified on the kernel command line with the module name plus '.' plus parameter name, with '=' and value if appropriate, such as: usbcore.blinkenlights=1 What does mean kernel command line? Is it related to bootloader (GRUB | LILO) ?
    Link to this post 31 Aug 13

    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.

    according to kernel-parameters.txt:

    Module parameters for modules that are built into the kernel image are specified on the kernel command line with the module name plus '.' plus parameter name, with '=' and value if appropriate, such as:

    usbcore.blinkenlights=1

    What does mean kernel command line? Is it related to bootloader (GRUB | LILO) ?

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board