Subject: Re: sysctl for rtc_offset (was: gdb --write /netbsd core)
To: Jeremy C. Reed <reed@reedmedia.net>
From: Bill Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 06/09/2003 13:19:33
On Mon, 9 Jun 2003, Jeremy C. Reed wrote:

> On Mon, 9 Jun 2003, Andrew Gillham wrote:
>
> > If I use gdb --write /netbsd to change rtc_offset, gdb core dumps when I
> > quit.
>
> (Sorry, I don't have an answer for this gdb issue.)
>
> Was anyone working on a sysctl for rtc_offset?
>
> Is there any problems for also implementing it that way?

The problem is that by the time we can use a sysctl, it's too late (in the
current scheme of things). rtc_offset gets examined very early in boot, so
that we get the boot time correct among other things. So by the time we
could change the sysctl, we aren't looking at it anymore.

Take care,

Bill