custom kernel file question

Giorgos Keramidas keramida at
Thu Apr 20 19:13:49 UTC 2006

On 2006-04-20 14:01, Jonathan Horne <freebsd at> wrote:
> here is a silly one, which may deserve a chuckle from my peers :)
> what am i doing that zaps my custom kernel config file?  i compiled a new
> one the day i built this box, but now i return to /usr/src/sys/i386/conf/,
> and my file isnt there anymore!

You run CVSup with the `*default delete' option enabled in your supfile.

> what did i do that removed it, so i can avoid (or safeguard against) this
> action in the future?

Keep your kernel config outside the /usr/src/sys/i386/conf tree and
symlink to it every time you build.

        # cd /usr/src/sys/i386/conf
	# ln -s /root/kernconf/GIORGOS
	# cd /usr/src
	# make KERNCONF=GIORGOS buildworld buildkernel

More information about the freebsd-questions mailing list