From owner-freebsd-doc Wed Oct 2 10:38:37 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36FCA37B401 for ; Wed, 2 Oct 2002 10:38:36 -0700 (PDT) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id C028A43E42 for ; Wed, 2 Oct 2002 10:38:35 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 25037 invoked from network); 2 Oct 2002 17:38:34 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 2 Oct 2002 17:38:34 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.5/8.12.5) with ESMTP id g92HcSBv014575; Wed, 2 Oct 2002 13:38:29 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20021002202804.E7776-100000@hades> Date: Wed, 02 Oct 2002 13:38:31 -0400 (EDT) From: John Baldwin To: Giorgos Keramidas Subject: Re: Doc update Cc: doc@freebsd.org, anderson@centtech.com, Ross Lippert Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 02-Oct-2002 Giorgos Keramidas wrote: > On 2002-10-02 06:33, Ross Lippert wrote: >> >> >It would be great to have a list of "no need to build the kernel if you >> >are just trying to do these things:" items.. That would save a lot of >> >time. Who would know that list? >> That's a good question. >> >> To add more complexity to the discussion there are actually two types of >> "little tweaks" one could do. The first is to put something in loader.conf: >> foo_load="YES" >> The second is to put something in rc.local or the more modern /usr/local/etc/rc.d >> which says >> kldload foo >> >> It may have been that I was doing something wrong, but I found that I could not >> get sound loaded with the former, but I could with the latter (I think I tried >> both snd and pcm for my "foo" above -- it was a while ago). > > Timing is everything. The loader.conf stuff runs when very little > things have been loaded & run by the running kernel. The /usr/local > things are loaded as modules close to the end of the booting process. loader.conf is used before the kernel is running. It is used by loader(8). > Some things might depend on being loaded very early in the boot > process, to get their own stuff right. Others don't. This is the > root of the differences you have pointed out. Umm, it should make no difference. If something doesn't work from loader.conf then that is a bug which should be reported and fixed. If anything, some things like bktr(4) might only work when loaded from the loader (due to doing large contigmalloc()s). -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message