The
/etc/sysctl.conf
file is read in when the system goes into multi-user mode to set default
settings for the kernel.
The
/etc/sysctl.conf
is in the format of the
sysctl(8)
command, i.e.
sysctl_mib=value
Comments are denoted by a
``#''
at the beginning of a line.
Comments can also exist at the end of a line,
as seen in the
Sx EXAMPLES
section, below.
If loadable kernel modules are used to introduce additional kernel
functionality and sysctls to manage that functionality,
may be processed too early in the boot process to set those sysctls.
For example, sysctls to manage the linux emulator cannot be set in
if the linux emulator is loaded as a module rather than
compiled into the kernel.