On 2004-08-25 16:40, August Simonelli <[EMAIL PROTECTED]> 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.

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to