From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <95dfc7de0611261319u35ced84di51234162b01cc5c@mail.gmail.com> Date: Sun, 26 Nov 2006 16:19:35 -0500 From: "Myron Cheung" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] incorrect system time In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_110297_26294322.1164575975095" References: <95dfc7de0611241859i3c9a443bu40aaeba5116d6275@mail.gmail.com> Topicbox-Message-UUID: e716e0b0-ead1-11e9-9d60-3106f5b1d025 ------=_Part_110297_26294322.1164575975095 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline psu -a | grep timesync does not show the -r flag. I killed timesync and ran it manually with the -r flag again, but psu -a does not show the -r flag. In termrc, timesync was started with TIMESYNCARGS=-rLa1000000 . Myron On 11/26/06, Russ Cox wrote: > > The reason the time gets set back is that > aux/timesync is managing /dev/time. If you change > /dev/time behind its back, it will gladly "fix" it next > time it checks. > > Timesync is started in termrc. It looks to me like > it should by default be syncing against /dev/rtc, > but run psu -a |grep timesync and check that it is > really running with the -r flag. > > If it is, perhaps there is a bug in timesync that > needs to be found. > > Russ > ------=_Part_110297_26294322.1164575975095 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline psu -a | grep timesync  does not show the -r flag.

I killed timesync and ran it manually with the -r flag again, but psu -a does not show the -r flag.  In termrc, timesync was started with TIMESYNCARGS=-rLa1000000 .

Myron

On 11/26/06, Russ Cox <rsc@swtch.com> wrote:
The reason the time gets set back is that
aux/timesync is managing /dev/time.  If you change
/dev/time behind its back, it will gladly "fix" it next
time it checks.

Timesync is started in termrc.  It looks to me like
it should by default be syncing against /dev/rtc,
but run psu -a |grep timesync and check that it is
really running with the -r flag.

If it is, perhaps there is a bug in timesync that
needs to be found.

Russ

------=_Part_110297_26294322.1164575975095--