Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SYSCTL.CONF(5)		  FreeBSD File Formats Manual		SYSCTL.CONF(5)

NAME
     sysctl.conf -- kernel state defaults

DESCRIPTION
     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	file
     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 EXAMPLES section, below.

FILES
     /etc/sysctl.conf	     Initial settings for sysctl(8).
     /etc/sysctl.conf.local  Machine-specific settings for sites with a	common
			     /etc/sysctl.conf.

EXAMPLES
     To	turn off logging of programs that exit due to fatal signals you	may
     use a configuration like

	   # Configure logging.
	   kern.logsigexit=0	   # Do	not log	fatal signal exits (e.g., sig 11)

SEE ALSO
     rc.conf(5), rc(8),	sysctl(8)

HISTORY
     The sysctl.conf file appeared in FreeBSD 4.0.

BUGS
     If	loadable kernel	modules	are used to introduce additional kernel	func-
     tionality and sysctls to manage that functionality, sysctl.conf may be
     processed too early in the	boot process to	set those sysctls.  For	exam-
     ple, sysctls to manage the	Linux compatibility layer (linux(4)) cannot be
     set in sysctl.conf	if the Linux compatibility layer is loaded as a	module
     rather than compiled into the kernel.

FreeBSD	13.0			 April 8, 2021			  FreeBSD 13.0

NAME | DESCRIPTION | FILES | EXAMPLES | SEE ALSO | HISTORY | BUGS

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=sysctl.conf&sektion=5&manpath=FreeBSD+13.1-RELEASE+and+Ports>

home | help