System Administration Guide

How to Set the Value of a Kernel Module Variable

  1. Become superuser.

  2. Add a line to the /etc/system file in the form:


    set module_name:variable=value
    
  3. Verify the kernel module variable change.


    # grep module_name /etc/system
    
  4. Reboot the system.

    The kernel parses the /etc/system file during autoconfiguration and overrides the default value for the parameters specified in this file.

Example--Setting the Value of a Kernel Module Variable

The following line in the /etc/system file sets the value of the msginfo_msgmap parameter in the msgsys module to 150.

set msgsys:msginfo_msgmap=150