From owner-freebsd-questions@FreeBSD.ORG Sat Sep 16 02:42:30 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 63C3416A557 for ; Sat, 16 Sep 2006 02:42:30 +0000 (UTC) (envelope-from opensrc.root@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id E14B644285 for ; Sat, 16 Sep 2006 02:11:54 +0000 (GMT) (envelope-from opensrc.root@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so4002496pye for ; Fri, 15 Sep 2006 19:11:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=kjpoApHgPf2x7XfQ5yexN/TYdesyZpK5eh9iQDCK0qVGKXUsecA4/NHOTWPkOH6cslZL8jwVbJNtS6W5tUloMIrrdV+8iOjtAT56WcdDFdPV426svzXhYwg59MXd0cV6oNSIRqYr75Eye8zAJsTAr2Ecs44aLDxQEsc50Ljxfwg= Received: by 10.65.122.20 with SMTP id z20mr9910470qbm; Fri, 15 Sep 2006 19:11:54 -0700 (PDT) Received: by 10.64.84.3 with HTTP; Fri, 15 Sep 2006 19:11:53 -0700 (PDT) Message-ID: Date: Fri, 15 Sep 2006 22:11:53 -0400 From: "David Wassman" To: "Lowell Gilbert" In-Reply-To: <441wqqlc97.fsf@be-well.ilk.org> MIME-Version: 1.0 References: <441wqqlc97.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD-Questions Mailing List Subject: Re: Device Drivers and Kernel Modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 02:42:30 -0000 Lowell, Thanks for the reply. Sorry about the belated gratitude. I haven't checked the account in a while and simply forgot I posted the question. I think I got confused in my memory. Now what I think I read was about filesystem kernel modules. From my understanding these could be automatically loaded through the mount command. At least, thats the author's claim in FreeBSD Unleashed. Just to be more specific this inquiry is NOT for a server. It is my experimental desktop at home. Servers I would agree have no need to be convenient in swapping hardware. But I do switch out hardware on the system in question occasionally and was really just curious if there is a drawback between the drivers in the kernel opposed to loaded kernel modules. Thanks again David Wassman On 9/5/06, Lowell Gilbert wrote: > > "David Wassman" writes: > > > I am trying to figure out which would be best, to load all the device > > drivers through compiling them into the kernel or to load them at boot > > through loader.conf. > > > > I would think that loader.conf would be more convenient as changing > hardware > > wuld not require a rebuild of the kernel. Is there a draw back to > loading > > devices this way other than a longer boot up time (which should not be > an > > issue as the system is 24-7)? > > There is little difference for your purposes. > > > I have also heard that loading modules through the loader.conf saves on > RAM > > performance as the module in question is not loaded into memory until it > is > > used as opposed to being loaded with the kernel. If this makes no sense, > i > > appologize. I remember reading it somewhere on a mailing list several > years > > ago and can't find the reference anymore. From memory it stated modules > such > > as cd9660 could be loaded through entering CD9660_load="YES" in > > loader.confand that it would not be used in memory until a cd was > > mounted. I am > > assuming this is true (if it is) for other modules as well. > > It isn't true at all. Loading a module really does load it into memory. > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ >