From owner-freebsd-doc Thu Oct 3 9:30:43 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 DD5AD37B406 for ; Thu, 3 Oct 2002 09:30:41 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id D625B43E6A for ; Thu, 3 Oct 2002 09:30:39 -0700 (PDT) (envelope-from swear@attbi.com) Received: from localhost.localdomain ([12.242.158.67]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021003163038.DSSZ17535.rwcrmhc51.attbi.com@localhost.localdomain>; Thu, 3 Oct 2002 16:30:38 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id g93GXjoS001271; Thu, 3 Oct 2002 09:33:45 -0700 (PDT) (envelope-from swear@attbi.com) Received: (from jojo@localhost) by localhost.localdomain (8.12.5/8.12.5/Submit) id g93GXdam001268; Thu, 3 Oct 2002 09:33:39 -0700 (PDT) (envelope-from swear@attbi.com) X-Authentication-Warning: localhost.localdomain: jojo set sender to swear@attbi.com using -f To: Ross Lippert Cc: swear@attbi.com, doc@FreeBSD.ORG Subject: Re: Doc update References: <200210031133.EAA29049@eskimo.com> From: swear@attbi.com (Gary W. Swearingen) Date: 03 Oct 2002 09:33:39 -0700 In-Reply-To: <200210031133.EAA29049@eskimo.com> Message-ID: Lines: 42 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) 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 Ross Lippert writes: > >Try handbook.txt (two occurances) and loader(8) and kget(8). > That's not a whole heck of a lot of information on kernel.conf, > I just looked. Is it really something we are meant to modify or > is it something that get's changed by another program? (A blank line between a quote and your original text would be nice.) The only helpful mention of kernel.conf in the Handbook is quite clear that users are meant to modify it. > Perhaps this is more of a new thing to put on the list of > "things that should be documented better" than as a third option > for avoiding kernel compiles? But that's precisely what it's for. From the Handbook: ... (an automated script which does the things you would normally do in the kernel boot-time configurator) > As for the two ways of avoiding kernel compiles, this is something > I could write about if I knew what other people do (I just do snd/pcm > and apm -- I'd like to know what else you can get away with). I won't > have a GENERIC kernel back again until I am in the throws of installing > 4.7-RELEASE, but that will be soon and will give a good opportunity to > try things out. Don't confuse the bigger topic of avoiding kernel compiles with the narrower topic of loading kernel modules (or of setting sysctl values which can also head-off a kernel recompile). You SEEM to only be concerned with module loading. As for that, I suspect that most people build custom kernels and/or rely on auto-loading modules to be loaded when needed and/or load modules in rc.local or somewhere. And some use loader.conf, of course. I see that I've got one auto-loaded module (linux.ko) and one non-auto- loading module (vesa.ko) loaded from a custom rc.syscons if a certain video mode is asked for, which it is. (I could pre-load it with loader.conf, but I'd "need" to remember to remove it when I change the video mode to one which doesn't need vesa.ko -- and I didn't know it could be done in loader.conf until this thread.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message