From owner-freebsd-questions@FreeBSD.ORG Wed Aug 25 21:54:12 2004 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 039C716A4CE for ; Wed, 25 Aug 2004 21:54:12 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE92843D48 for ; Wed, 25 Aug 2004 21:53:05 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b215.otenet.gr [212.205.244.223]) i7PLr2w8011679; Thu, 26 Aug 2004 00:53:03 +0300 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id i7PLpW9C002117; Thu, 26 Aug 2004 00:51:32 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id i7PIrqaf080735; Wed, 25 Aug 2004 21:53:52 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 25 Aug 2004 21:53:52 +0300 From: Giorgos Keramidas To: August Simonelli Message-ID: <20040825185352.GA53572@gothmog.gr> References: <46fa40c104082403205419fd65@mail.gmail.com> <20040824230642.GR3767@gentoo-npk.bmp.ub> <200408242211.47938.donaldj@ameritech.net> <46fa40c104082420325a447633@mail.gmail.com> <46fa40c104082423403daae4cd@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46fa40c104082423403daae4cd@mail.gmail.com> Phone: +30-2610-312145 Mobile: +30-6944-116520 cc: freebsd-questions@freebsd.org Subject: Re: Re: uname -v shows no difference after buildkernel and installkernel etc 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: Wed, 25 Aug 2004 21:54:12 -0000 On 2004-08-25 16:40, August Simonelli wrote: > > well, the rebuild has worked fine. i think my symlinking was indeed > messed up. i followed everyone's advice and didn't use a symlink; I > kept my custom config in the same location as GENERIC and just copied > it elsewhere for backup purposes. I usually keep my kernel configs in another location and symlink the one that is going to be used at build time under `/usr/src/sys/i386/conf'. Something like this: $ ( cd /usr/src/sys/i386/conf ; /bin/ls -lF CELERON SOLERO ) lrwxr-xr-x 1 root wheel 31 May 14 2003 CELERON@ -> /a/kernconf/CELERON lrwxr-xr-x 1 root wheel 30 Aug 14 01:49 SOLERO@ -> /a/kernconf/SOLERO > one last question for those tracking the this thread: can i now delete > the custom kernel config file i created in /usr/src/sys/i386/src/ ? or > does the system need it there to boot? i would guess not, more that > the file is only used in building and installing ... > > thanks again for all the good advice ... The kernel config file is used only at compile time, to build the new kernel image. You don't need to keep it if you don't want to rebuild a kernel with the same options. I would probably keep it around just in case I need to rebuild a kernel with the same set of options though. After all, it's just a text file: $ ls -ld /usr/src/sys/i386/conf/GENERIC -rw-r--r-- 1 root wheel - 10250 Aug 13 22:08 /usr/src/sys/i386/conf/GENERIC The extra time it's going to take to copy GENERIC, edit and recreate a custom config file isn't worth the trouble IMHO just to save 10-20 KB of disk space.