Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2003 11:22:21 -0400
From:      "FBSD_User" <FBSD_User@a1poweruser.com>
To:        <kristof@swissmail.org>, <freebsd-questions@freebsd.org>
Subject:   RE: Setting kernel name in buildkernel
Message-ID:  <MIEPLLIBMLEEABPDBIEGCECIDOAA.FBSD_User@a1poweruser.com>
In-Reply-To: <20030528080827-095600041>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Krzysztof
Parzyszek
Sent: Wednesday, May 28, 2003 11:08 AM
To: freebsd-questions@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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MIEPLLIBMLEEABPDBIEGCECIDOAA.FBSD_User>