From owner-freebsd-current@FreeBSD.ORG Thu Apr 17 07:19:27 2003 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 68D1537B401 for ; Thu, 17 Apr 2003 07:19:27 -0700 (PDT) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC47743FBD for ; Thu, 17 Apr 2003 07:19:24 -0700 (PDT) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br ([10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h3HEJC901363; Thu, 17 Apr 2003 11:19:12 -0300 Message-ID: <3E9EB7DF.4040104@tcoip.com.br> Date: Thu, 17 Apr 2003 11:19:11 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4a) Gecko/20030416 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: "Alastair G. Hogge" References: <200304171136.57515.agh@tpg.com.au> In-Reply-To: <200304171136.57515.agh@tpg.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: Auto kernel module loading 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: Thu, 17 Apr 2003 14:19:27 -0000 Alastair G. Hogge wrote: > Hello list, > > Just the other day I was configuring/striping my kernel to the barest I could > manage. I was doing this to hopefully reduce kernel build time. > > Now after adding 60 lines to loader.conf to load the modules I need, I began > thinking is there a way for FreeBSD to load the modules automaticly at boot > time itself? > > If not, would be hard to implement such a feature? How would someone go about > doing such a thing? As I would be happy to give it a go....but don't know > where to start. > > Does the documentation project have some info to help? I'm cvsup-ing them > right now as I once recall seeing an article titled something like > "Programmers guide to FreeBSD" Plan once was for loader to identify the PNP IDs and load the appropriate modules. What the appropriate modules were would be infered from a configuration file. I think Mike decided that wasn't such a good idea after all, but I wasn't much in touch with FreeBSD at the time, so I remember it only vaguely. -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca VIVO Centro Oeste Norte Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br Outros: dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net Never speak ill of yourself, your friends will always say enough on that subject. -- Charles-Maurice De Talleyrand