From owner-freebsd-questions@FreeBSD.ORG Fri Feb 4 14:33:05 2005 Return-Path: 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 0897216A4CF for ; Fri, 4 Feb 2005 14:33:05 +0000 (GMT) Received: from t-x.dignus.nl (t-x.dignus.nl [83.219.88.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A115243D2F for ; Fri, 4 Feb 2005 14:33:02 +0000 (GMT) (envelope-from colin@kenmore.kozy-kabin.nl) Received: from localhost (localhost.dignus.nl [127.0.0.1]) by t-x.dignus.nl (Safehouse) with ESMTP id 40A632842D for ; Fri, 4 Feb 2005 15:33:25 +0100 (CET) Received: from kenmore.kozy-kabin.nl (cjr-home [62.251.72.148]) by t-x.dignus.nl (Safehouse) with ESMTP id 80B6E28421 for ; Fri, 4 Feb 2005 15:33:20 +0100 (CET) Received: from kenmore.kozy-kabin.nl (localhost.kozy-kabin.nl [127.0.0.1]) by kenmore.kozy-kabin.nl (Postfix) with ESMTP id B3FC562CB for ; Fri, 4 Feb 2005 15:32:56 +0100 (CET) Received: from localhost (colin@localhost)j14EWuu7037552 for ; Fri, 4 Feb 2005 15:32:56 +0100 (CET) (envelope-from colin@kenmore.kozy-kabin.nl) Date: Fri, 4 Feb 2005 15:32:56 +0100 From: "Colin J. Raven" To: FreeBSD Questions Message-ID: <20050204151533.H34933@kenmore.kozy-kabin.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by RemSPAMd at ph230.plushosting.nl Subject: make.conf syntax question (MODULES_OERRRIDE) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2005 14:33:05 -0000 I'm considering *not* loading unecessary modules in a new kernel, so I need to ask what seems like some dumb questions. In the kernel config file (MYKERNEL in this case) does commenting out stuff there stop some modules from loading? So for example if I comment out SCSI support are the relevant modules for that built, or not built when compiling the new kernel? It seems that the logical answer is "they're not built if you comment them out" yet I have no way of knowing if that instinct call is right or not. The second question concerns the make.conf MODULES_OVERRIDE option syntax. Is the syntax: a) MODULES_OVERRIDE = blah MODULES_OVERRIDE = blah_blah MODULES_OVERRIDE = blah_blah_bluh and so on until every one you want built is listed OR b) MODULES_OVERRIDE = /usr/src/sys/modules/blah MODULES_OVERRIDE = /usr/src/sys/modules/blah_blah MODULES_OVERRIDE = /usr/src/sys/modules/blah_blah_blah OR can it be: d) MODULES_OVERRIDE = module_a module_b module_c etc or finally: e) is there an include syntax with maybe a plain one-module-per-line file that could be inserted. Something like MODULES_OVERRIDE = /path/to/come/include_file.inc with "include_file.inc" having something maybe like this: foo bar goo gar where 'foo', 'bar' etc. are modules Sorry, but syntax is most often my weakest point and why things sometimes don't work the way I expect them to. Regards & TIA, -Colin