setting sysctl-values with loader.conf (5.4-STABLE)

Mike Tancsa mike at sentex.net
Tue Jul 26 13:39:59 GMT 2005


At 09:35 AM 26/07/2005, Holger Kipp wrote:
>Hello,
>
>I have trouble setting sysctl-values via loader.conf
>on my 5.4-STABLE from 25.06.2005.
>
>This is my /boot/loader.conf:
>
>--- 8< ---------- snip ---------------
># settings for xine
>kern.ipc.shmmax=67108864
>kern.ipc.shmall=32768
>
># load sound module
># snd_via8233_load="YES"           # via8233 for ASRock K7Upgrade-880
>
>hw.ata.atapi_dma=1


>vfs.read_max=16
>
>--- 8< -------------------------------
>
>Unfortunately the only one that gets set is
>hw.ata.atapi_dma=1
>what should I do to set the other values and
>why are they not set accordingly? Changing the


What if you put them in /etc/sysctl.conf
e.g.
[hippo]% cat /etc/sysctl.conf
# $FreeBSD: src/etc/sysctl.conf,v 1.8 2003/03/13 18:43:50 mux Exp $
#
#  This file is read when going to multi-user and its contents piped thru
#  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
#

# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0
vfs.read_max=16
[hippo]%



More information about the freebsd-stable mailing list