From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 06:47:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC7581065670 for ; Thu, 30 Oct 2008 06:47:58 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 41A268FC13 for ; Thu, 30 Oct 2008 06:47:57 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KvRJx-0005Nw-FU for freebsd-questions@freebsd.org; Thu, 30 Oct 2008 06:47:53 +0000 Received: from pool-141-156-174-77.esr.east.verizon.net ([141.156.174.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Oct 2008 06:47:53 +0000 Received: from nightrecon by pool-141-156-174-77.esr.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Oct 2008 06:47:53 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Thu, 30 Oct 2008 02:47:03 -0400 Lines: 37 Message-ID: References: <4908687B.7020105@gmail.com> <20081029165518.GB7985@gizmo.acns.msu.edu> <4908A3B1.4070309@gmail.com> <20081029181149.GB8360@gizmo.acns.msu.edu> <4908ADD4.90000@gmail.com> <20081029190834.GC8360@gizmo.acns.msu.edu> <4908B955.4050409@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-141-156-174-77.esr.east.verizon.net Sender: news Subject: Re: freebsd installation order X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2008 06:47:58 -0000 pwn wrote: [snip] >>> on this page >>> http://www.freebsd.org/doc/en/books/handbook/kernelconfig-building.html >>> it says: >>> Tip: By default, when you build a custom kernel, all kernel modules will >>> be rebuilt as well. If you want to update a kernel faster or to build >>> only custom modules, you should edit /etc/make.conf before starting to >>> build the kernel: >>> >> >> It would take more time to edit /etc/make.conf than you would >> save in the kernel build. If you are doing lots of kernel >> builds while doing development, maybe then this would be worthwhile, >> but kernel builds do not take enough time on modern machines to >> bother speeding them up trivial amounts. Basically, this is >> saying you can fix things up so that it only builds those modules >> that you are changing when you do a rebuild and skips the others. >> >> This is not relevant to general system performance, just kernel >> builds. [snip] > > i got it =), although, imho kernel builds always affect system > performance.(maybe not in general) > i was just asking myself a away for simplify at extreme this tasks that > sometime can take many time, i guess after configure FreeBSD on a > machine i should copy some configuration files like, /etc/make.conf and > a custom kernel in attempt to avoid repetitive tasks. Note the docs are a little out of date wrt to 7.x and newer. While the make.conf will still be used by gcc when building ports software(s), for the system/kernel/modules this functionality has been moved to /etc/src.conf. Reading man src.conf will explain the details. -Mike