]>
Commit | Line | Data |
---|---|---|
1 | .\" Modified August 3, 2007 | |
2 | .\" Portions Copyright (c) 2007 Apple Inc. | |
3 | .\" Copyright (c) 1999 Chris Costello <chris@FreeBSD.org> | |
4 | .\" All rights reserved. | |
5 | .\" | |
6 | .\" Redistribution and use in source and binary forms, with or without | |
7 | .\" modification, are permitted provided that the following conditions | |
8 | .\" are met: | |
9 | .\" 1. Redistributions of source code must retain the above copyright | |
10 | .\" notice, this list of conditions and the following disclaimer. | |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | |
12 | .\" notice, this list of conditions and the following disclaimer in the | |
13 | .\" documentation and/or other materials provided with the distribution. | |
14 | .\" | |
15 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND | |
16 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
17 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
18 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | |
19 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
20 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |
21 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
22 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
23 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
24 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
25 | .\" SUCH DAMAGE. | |
26 | .\" | |
27 | .\" $FreeBSD: src/share/man/man5/sysctl.conf.5,v 1.16 2004/07/03 18:29:23 ru Exp $ | |
28 | .\" | |
29 | .Dd August 3, 2007 | |
30 | .Dt SYSCTL.CONF 5 | |
31 | .Os | |
32 | .Sh NAME | |
33 | .Nm sysctl.conf | |
34 | .Nd kernel state defaults | |
35 | .Sh DESCRIPTION | |
36 | The | |
37 | .Pa /etc/sysctl.conf | |
38 | file is read in when the system goes into multi-user mode to set default | |
39 | settings for the kernel. | |
40 | The | |
41 | .Pa /etc/sysctl.conf | |
42 | is in the format of the | |
43 | .Xr sysctl 8 | |
44 | command, i.e.\& | |
45 | .Bd -literal -offset indent | |
46 | sysctl_mib=value | |
47 | .Ed | |
48 | .Pp | |
49 | Comments are denoted by a | |
50 | .Dq # | |
51 | at the beginning of a line. | |
52 | .Sh FILES | |
53 | .Bl -tag -width /etc/sysctl.conf -compact | |
54 | .It Pa /etc/sysctl.conf | |
55 | Initial settings for | |
56 | .Xr sysctl 8 . | |
57 | .El | |
58 | .Sh EXAMPLES | |
59 | To disable coredumps, you may use a configuration like: | |
60 | .Bd -literal -offset indent | |
61 | # Disable coredumps. | |
62 | kern.coredump=0 | |
63 | .Ed | |
64 | .Sh SEE ALSO | |
65 | .Xr sysctl 8 | |
66 | .Sh HISTORY | |
67 | The | |
68 | .Nm | |
69 | file appeared in | |
70 | .Fx 4.0 . | |
71 | .Sh BUGS | |
72 | If loadable kernel modules are used to introduce additional kernel | |
73 | functionality and sysctls to manage that functionality, | |
74 | .Nm | |
75 | may be processed too early in the boot process to set those sysctls. |