Date: Wed, 25 Aug 2004 21:53:52 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: August Simonelli <augusts@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Re: uname -v shows no difference after buildkernel and installkernel etc Message-ID: <20040825185352.GA53572@gothmog.gr> In-Reply-To: <46fa40c104082423403daae4cd@mail.gmail.com> References: <46fa40c104082403205419fd65@mail.gmail.com> <20040824230642.GR3767@gentoo-npk.bmp.ub> <200408242211.47938.donaldj@ameritech.net> <46fa40c104082420325a447633@mail.gmail.com> <46fa40c104082423403daae4cd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-08-25 16:40, August Simonelli <augusts@gmail.com> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040825185352.GA53572>