Setting kernel name in buildkernel

FBSD_User FBSD_User at a1poweruser.com
Wed May 28 08:22:24 PDT 2003


Copy /kernel to different name, say kernela, and then recompile
kernel source containing changes and it will replace /kernel, then
copy /kernel to different name, say kernelb.  When you want to
return kernela copy kernela to kernel and reboot. You will have to
change the flag on /kernel before you can overwrite it.  Use
commands like this

chflags noschg /kernel
cp /kernela /kernel
chflags schg /kernel

-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Krzysztof
Parzyszek
Sent: Wednesday, May 28, 2003 11:08 AM
To: freebsd-questions at freebsd.org
Subject: Setting kernel name in buildkernel

Hello,

Suppose I want to build a kernel that will be stored in a file with
a name that I chose instead of the usual /kernel.  Is there a way
to do that without manual file movements?  I suppose this could
interfere with the location of the modules somehow, but I don't know
for sure.

I would appreciate any suggestions for both, -stable and -current.

Thank you,
Krzysztof

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



More information about the freebsd-questions mailing list