Date: Mon, 25 Feb 2002 05:51:33 +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: <20020225035133.GC27425@hades.hell.gr>
next 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 amazingly 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?20020225035133.GC27425>
