summaryrefslogtreecommitdiff
path: root/static/freebsd/man5/sysctl.conf.5 4.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man5/sysctl.conf.5 4.html')
-rw-r--r--static/freebsd/man5/sysctl.conf.5 4.html85
1 files changed, 85 insertions, 0 deletions
diff --git a/static/freebsd/man5/sysctl.conf.5 4.html b/static/freebsd/man5/sysctl.conf.5 4.html
new file mode 100644
index 00000000..e4e4d498
--- /dev/null
+++ b/static/freebsd/man5/sysctl.conf.5 4.html
@@ -0,0 +1,85 @@
+<table class="head">
+ <tr>
+ <td class="head-ltitle">SYSCTL.CONF(5)</td>
+ <td class="head-vol">File Formats Manual</td>
+ <td class="head-rtitle">SYSCTL.CONF(5)</td>
+ </tr>
+</table>
+<div class="manual-text">
+<section class="Sh">
+<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<p class="Pp"><code class="Nm">sysctl.conf</code> &#x2014;
+ <span class="Nd">kernel state defaults</span></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<p class="Pp">The <span class="Pa">/etc/sysctl.conf</span> file is read in when
+ the system goes into multi-user mode to set default settings for the kernel.
+ The <span class="Pa">/etc/sysctl.conf</span> file is in the format of the
+ <a class="Xr">sysctl(8)</a> command, i.e.,</p>
+<div class="Bd Pp Bd-indent Li">
+<pre>sysctl_mib=value</pre>
+</div>
+<p class="Pp">Comments are denoted by a &#x201C;#&#x201D; at the beginning of a
+ line. Comments can also exist at the end of a line, as seen in the
+ <a class="Sx" href="#EXAMPLES">EXAMPLES</a> section, below.</p>
+<p class="Pp">For kernel modules loaded via <a class="Xr">rc.subr(8)</a> system,
+ additional module-specific settings can be applied by adding a file in the
+ same format named /etc/sysctl.kld.d/&lt;modulename&gt;.conf.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
+<dl class="Bl-tag Bl-compact">
+ <dt><span class="Pa">/etc/rc.d/sysctl</span></dt>
+ <dd><a class="Xr">rc(8)</a> script which processes
+ <code class="Nm">sysctl.conf</code> early on in the process of
+ transitioning to multi-user mode.</dd>
+ <dt><span class="Pa">/etc/rc.d/sysctl_lastload</span></dt>
+ <dd><a class="Xr">rc(8)</a> script which processes
+ <code class="Nm">sysctl.conf</code> shortly before the system reaches the
+ multi-user mode.</dd>
+ <dt><span class="Pa">/etc/sysctl.conf</span></dt>
+ <dd>Initial settings for <a class="Xr">sysctl(8)</a>.</dd>
+ <dt><span class="Pa">/etc/sysctl.conf.local</span></dt>
+ <dd>Machine-specific settings for sites with a common
+ <span class="Pa">/etc/sysctl.conf</span>.</dd>
+ <dt><span class="Pa">/etc/sysctl.kld.d</span></dt>
+ <dd>Module specific settings for kernel modules loaded via
+ <a class="Xr">rc.subr(8)</a>.</dd>
+</dl>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
+<p class="Pp">To turn off logging of programs that exit due to fatal signals you
+ may use a configuration like</p>
+<div class="Bd Pp Bd-indent Li">
+<pre># Configure logging.
+kern.logsigexit=0 # Do not log fatal signal exits (e.g., sig 11)</pre>
+</div>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
+ ALSO</a></h1>
+<p class="Pp"><a class="Xr">rc.conf(5)</a>, <a class="Xr">rc(8)</a>,
+ <a class="Xr">sysctl(8)</a></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<p class="Pp">The <code class="Nm">sysctl.conf</code> file appeared in
+ <span class="Ux">FreeBSD 4.0</span>.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1>
+<p class="Pp">If loadable kernel modules are used to introduce additional kernel
+ functionality and sysctls to manage that functionality,
+ <code class="Nm">sysctl.conf</code> may be processed too early in the boot
+ process to set those sysctls. Please consult <a class="Xr">rcorder(8)</a> to
+ learn more about the ordering of <a class="Xr">rc(8)</a> scripts.</p>
+</section>
+</div>
+<table class="foot">
+ <tr>
+ <td class="foot-date">June 30, 2022</td>
+ <td class="foot-os">FreeBSD 15.0</td>
+ </tr>
+</table>