From 3a9d037b0a87037a3ee8fbe5b798b5b64f854ff8 Mon Sep 17 00:00:00 2001 From: Chris Costello Date: Fri, 31 Dec 1999 02:08:37 +0000 Subject: [PATCH] Add and active the manual page for /etc/sysctl.conf. --- share/man/man5/Makefile | 2 +- share/man/man5/sysctl.conf.5 | 62 ++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 share/man/man5/sysctl.conf.5 diff --git a/share/man/man5/Makefile b/share/man/man5/Makefile index 8aa8dd6f52be..a51c4377a1ee 100644 --- a/share/man/man5/Makefile +++ b/share/man/man5/Makefile @@ -7,7 +7,7 @@ MAN5= a.out.5 acct.5 core.5 devfs.5 dir.5 disktab.5 ethers.5 \ hosts.5 hosts.equiv.5 hosts.lpd.5 intro.5 kernfs.5 link.5 \ motd.5 networks.5 passwd.5 pbm.5 phones.5 \ procfs.5 protocols.5 rc.conf.5 remote.5 resolver.5 services.5 \ - shells.5 stab.5 types.5 utmp.5 + shells.5 stab.5 sysctl.conf.5 types.5 utmp.5 MLINKS= dir.5 dirent.5 MLINKS+=fs.5 inode.5 diff --git a/share/man/man5/sysctl.conf.5 b/share/man/man5/sysctl.conf.5 new file mode 100644 index 000000000000..b6ef7a09d78c --- /dev/null +++ b/share/man/man5/sysctl.conf.5 @@ -0,0 +1,62 @@ +.\" Copyright (c) 1999 Chris Costello +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd December 30, 1999 +.Dt SYSCTL.CONF 5 +.Os FreeBSD +.Sh NAME +.Nm sysctl.conf +.Nd Kernel state defaults +.Sh DESCRIPTION +The +.Pa /etc/sysctl.conf +file is read in when the system goes into multi-user mode to set default +settings for the kernel. The +.Pa /etc/sysctl.conf +is in the format of the +.Dq "sysctl -w" +command, i.e. +.Bd -literal -offset indent +sysctl_mib=value +.Ed +.Sh FILES +.Bl -tag -width /etc/sysctl.conf -compact +.It Pa /etc/sysctl.conf +Initial settings for +.Xr sysctl 8 . +.Sh EXAMPLES +To turn off logging of programs that exit due to fatal signals, as well as +telling Linux programs that you're running FreeBSD 3.4-STABLE, you may use +a configuration like +.Bd -literal -offset indent +kern.logsigexit=0 +compat.linux.osname=FreeBSD +compat.linux.osrelease=3.4-STABLE +.Ed +.Sh SEE ALSO +.Xr rc.conf 5 , +.Xr rc 8 , +.Xr sysctl 8 ,