Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2005 07:47:42 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-doc@FreeBSD.org, Giorgos Keramidas <keramida@FreeBSD.org>
Subject:   Re: docs/84154: Handbook somewhat off in use of /boot/kernel.old
Message-ID:  <200507270747.42991.jhb@FreeBSD.org>
In-Reply-To: <200507271050.j6RAoSr5094638@freefall.freebsd.org>
References:  <200507271050.j6RAoSr5094638@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org>
> To: "Gary W. Swearingen" <garys@opusnet.com>
> Cc: bug-followup@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@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 installker=
nel=20
it will just overwrite /boot/kernel.

=2D-=20
John Baldwin <jhb@FreeBSD.org> =A0<>< =A0http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org



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