From owner-freebsd-doc Wed Oct 2 10:30:35 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 3413C37B401 for ; Wed, 2 Oct 2002 10:30:34 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37C1C43E3B for ; Wed, 2 Oct 2002 10:30:33 -0700 (PDT) (envelope-from keramida@freebsd.org) Received: from hades.hell.gr (patr530-b196.otenet.gr [212.205.244.204]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g92HU5dY018898; Wed, 2 Oct 2002 20:30:08 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.6/8.12.6) with ESMTP id g92HU8mM008040; Wed, 2 Oct 2002 20:30:09 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by hades.hell.gr (8.12.6/8.12.6/Submit) id g92HU6q7008039; Wed, 2 Oct 2002 20:30:06 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Wed, 2 Oct 2002 20:30:04 +0300 (EEST) From: Giorgos Keramidas X-X-Sender: keramida@hades To: Ross Lippert Cc: anderson@centtech.com, Subject: Re: Doc update In-Reply-To: <200210021333.GAA07525@eskimo.com> Message-ID: <20021002202804.E7776-100000@hades> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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. 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. Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message