From owner-freebsd-questions Thu Apr 11 20:21:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from blueyonder.co.uk (pcow035o.blueyonder.co.uk [195.188.53.121]) by hub.freebsd.org (Postfix) with ESMTP id 1076137B41A for ; Thu, 11 Apr 2002 20:21:14 -0700 (PDT) Received: from pcow035o.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.757.75); Fri, 12 Apr 2002 04:21:13 +0100 Received: from cream.org (unverified [62.31.80.192]) by pcow035o.blueyonder.co.uk (Content Technologies SMTPRS 4.2.9) with ESMTP id ; Fri, 12 Apr 2002 04:21:13 +0100 Message-ID: <3CB652FA.7060302@cream.org> Date: Fri, 12 Apr 2002 04:22:34 +0100 From: Andrew Boothman User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.9) Gecko/20020312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Archie Cobbs Cc: Patrick O'Reilly , freebsd-questions@FreeBSD.ORG Subject: Re: documentation for loader.conf variables? References: <200204112318.g3BNIFB08170@arch20m.dellroad.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Archie Cobbs wrote: > Patrick O'Reilly writes: > >>>Are the kernel override variables that can go into /boot/loader.conf >>>listed and/or documented somewhere? >>> >>>I'm talking about things like: >>> >>> hw.ata.wc="0" >>> kern.hz="1000" >> >>these variable relate to "sysctl". man sysctl for more info. sysctl >>-a will list them all, though it does not explain what each one means. > > > You are correct that they relate to sysctl but they are > not the same thing.. e.g., 'kern.hz' in loader.conf becomes > 'kern.clockrate.hz' in sysctl, i.e., it's not a 1:1 correspondence. > > Since they're not the same somewhere they ought to be documented... > though I'm getting the feeling they're not :-) Actually, they are :-) Have a look in /boot/defaults/loader.conf which contains the defaults and descriptions for all the possible variables you can change. Your /boot/loader.conf overrides /boot/defaults/loader.conf in the same way that your /etc/rc.conf overrides your /etc/defaults/rc.conf Andrew. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message