From owner-freebsd-questions@FreeBSD.ORG Wed Aug 27 16:42:41 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BC7A16A4BF for ; Wed, 27 Aug 2003 16:42:41 -0700 (PDT) Received: from mailgate.sri.com (mailgate.SRI.COM [128.18.243.11]) by mx1.FreeBSD.org (Postfix) with SMTP id C03D643FE3 for ; Wed, 27 Aug 2003 16:42:39 -0700 (PDT) (envelope-from hogsett@csl.sri.com) Received: (qmail 27410 invoked from network); 27 Aug 2003 23:42:32 -0000 Received: from localhost (HELO mailgate.SRI.COM) (127.0.0.1) by mailgate.sri.com with SMTP; 27 Aug 2003 23:42:32 -0000 Received: from quarter.csl.sri.com ([130.107.1.30]) by mailgate.SRI.COM (SAVSMTP 3.1.0.29) with SMTP id M2003082716420318541 ; Wed, 27 Aug 2003 16:42:03 -0700 Received: from beast.csl.sri.com (beast.csl.sri.com [130.107.2.57]) by quarter.csl.sri.com (8.12.9/8.12.9) with ESMTP id h7RNg4Fv029503; Wed, 27 Aug 2003 16:42:04 -0700 Message-Id: <200308272342.h7RNg4Fv029503@quarter.csl.sri.com> To: Donald Burr In-Reply-To: Message from Donald Burr Mime-Version: 1.0 (generated by tm-edit 8.8 (Time Passed Me By)) Content-Type: text/plain; charset=US-ASCII Date: Wed, 27 Aug 2003 16:42:04 -0700 From: Mike Hogsett cc: FreeBSD Questions List Subject: Re: Setting sysctl variables BEFORE the kernel boots and runs init? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 23:42:41 -0000 > I would like to be able to set certain sysctl variables in the kernel, > preferably BEFORE the kernel finishes booting and runs init, etc. (or at > the worst case, very shortly after init runs) I thought I remembered > that there was a way to do this through the boot loader. Can anyone > enlighten me? Thanks. Although I haven't done this myself, I think a start may be reading the man pages for loader(8), loader.conf(5) and boot(8). - Mike