From owner-freebsd-current@FreeBSD.ORG Tue Mar 15 22:21:11 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5AC916A4CF for ; Tue, 15 Mar 2005 22:21:11 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7284943D49 for ; Tue, 15 Mar 2005 22:21:11 +0000 (GMT) (envelope-from dougb@freebsd.org) Received: from [192.0.35.182] (g35-182.icann.org[192.0.35.182]) by comcast.net (sccrmhc12) with ESMTP id <20050315222108012000uhn4e>; Tue, 15 Mar 2005 22:21:08 +0000 Message-ID: <42375FD2.2080706@freebsd.org> Date: Tue, 15 Mar 2005 14:21:06 -0800 From: Doug Barton Organization: http://www.FreeBSD.org User-Agent: Mozilla Thunderbird 1.0 (X11/20050223) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jose M Rodriguez References: <200503142306.54642.freebsd@redesjm.local> <42363DAC.7040001@FreeBSD.org> <200503152107.23496.freebsd@redesjm.local> In-Reply-To: <200503152107.23496.freebsd@redesjm.local> X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: current@freebsd.org Subject: Re: rcNG changes/aditions X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2005 22:21:12 -0000 Jose M Rodriguez wrote: > El Martes, 15 de Marzo de 2005 02:43, Doug Barton escribió: > >>Jose M Rodriguez wrote: >> >>>Hi, >>>I'll glad to know if this is of interest: >>> >>>update to PR conf/75137 (sound modules): I rework this adding >>>support for preloaded modules to /etc/rc.subr >> >>Why is this necessary? My understanding is that modules load >>themselves when called. Do the sound modules do this differently? >> > > > This is not needed (I think). You can load modules > via /boot/loader.conf, but may be more confortable if we 'go modules' > in a future. I don't think you understand what I'm saying. For most modules, it is not actually necessary to pre-load them at all. For example, I have cd9660 as a module, it's not compiled into my kernel. When I mount a cd9660 file system the kernel module is automatically loaded. There is no need to pre-load it. The same is true of (most) modules that create devices, such as ndis. I don't know the specifics of the sound module, I compile it into my kernel. However, as you pointed out in the rare case that it's necessary to actually pre-load a kernel module (such as agp), we have a mechanism for that in loader.conf already. I don't think that adding that code to rc.subr is a useful exercise, and in fact I would oppose it as needless duplication of effort. >>>update to PR conf/74006 (named minor fixes): Fix a typo and umount >>>dev in chroot in post_stop works >> >>Please submit this as followup to the PR. >> > > > Will do. Thanks. Doug -- This .signature sanitized for your protection