docs/84154: Handbook somewhat off in use of /boot/kernel.old
John Baldwin
jhb at FreeBSD.org
Wed Jul 27 11:52:28 UTC 2005
On Wednesday 27 July 2005 06:50 am, Giorgos Keramidas wrote:
> The following reply was made to PR docs/84154; it has been noted by GNATS.
>
> From: Giorgos Keramidas <keramida at freebsd.org>
> To: "Gary W. Swearingen" <garys at opusnet.com>
> Cc: bug-followup at freebsd.org
> Subject: Re: docs/84154: Handbook somewhat off in use of /boot/kernel.old
> Date: Wed, 27 Jul 2005 13:47:37 +0300
>
> On 2005-07-26 22:57, "Gary W. Swearingen" <garys at opusnet.com> wrote:
> > The handbook's concept of /boot/kernel always being moved to
> > /boot/kernel.old is wrong (in two places). The move is only
> > made if the currently running kernel came from /boot/kernel/.
>
> AFAIK, the move is made everytime "installkernel" runs. You can verify
> this by:
>
> a) Copy /boot/kernel.old to /boot/kernel.saved.old and
> /boot/kernel to /boot/kernel.saved
>
> # cd /boot
> # cp -Rp kernel.old kernel.saved.old
> # cp -Rp kernel kernel.saved
>
> Then go through a few "installkernel" runs and watch the /boot/kernel
> and /boot/kernel.old directories.
The submitter is correct. If you boot kernel.old and then do an installkernel
it will just overwrite /boot/kernel.
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the freebsd-doc
mailing list