Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2002 05:49:31 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Jacob Rhoden <f3z@iprimus.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: retrieving kernel file from memory
Message-ID:  <20020225034931.GB27425@hades.hell.gr>
In-Reply-To: <5.0.0.25.2.20020223190529.00a05120@pop.iprimus.com.au>
References:  <5.0.0.25.2.20020223190529.00a05120@pop.iprimus.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-02-23 19:07, Jacob Rhoden wrote:
> Hi,
> 
> I know this is really stupid but . . .
> 
> I recompiled my kernel twice, then thought it might be a nice idea to have 
> a copy of the old kernel in case the system didn't boot properly. Is there 
> a (simpleish) way to get a copy of the current kernel in memory back on 
> disk?
> 
> I do remember thinking at the time, i should copy my kernel, and thinking, 
> no, why would I want to do that? hehe doh!

Although not an answer to your question, check the output of this command:

	% sysctl kern.bootfile

You might find it useful :)

Giorgos Keramidas                           FreeBSD Documentation Project
keramida@{freebsd.org,ceid.upatras.gr}      http://www.FreeBSD.org/docproj/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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