From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20090627084653.70b02cfb.eekee57@fastmail.fm> References: <20090626232256.0110babe.eekee57@fastmail.fm> <7d3530220906261739g2ea172dv90602338965a8291@mail.gmail.com> <20090627084653.70b02cfb.eekee57@fastmail.fm> Date: Sat, 27 Jun 2009 05:36:55 -0300 Message-ID: <32d987d50906270136v77203bb7o9cb0244aeef09b7e@mail.gmail.com> From: "Federico G. Benavento" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] timesync -r not working? Topicbox-Message-UUID: 0fb7e3cc-ead5-11e9-9d60-3106f5b1d025 timezones? On Sat, Jun 27, 2009 at 4:46 AM, Ethan Grammatikidis w= rote: > On Fri, 26 Jun 2009 17:39:12 -0700 > John Floren wrote: > >> On Fri, Jun 26, 2009 at 4:57 PM, erik quanstrom w= rote: >> >> > > The script runs at boot, the echo tells me that much, but the tim= e is not set, perhaps as if timesync -r is not working. To be specific the = date a few minutes after booting is Sun Jan =C2=A02 18:30:36 GMT 2000. >> >> > >> >> > i believe timesync is setting the system clock from /dev/rtc, not t= he other way >> >> > around. >> >> >> >> Yeah, that's what I expect timesync to do, but it's doing something s= trange instead. >> > >> > i wouldn't classify doing what the man page says it does >> > as something "really strange". =C2=A0if you want the converse, >> > then just execute "date -n >/dev/rtc". >> > >> > - erik >> > >> > >> >> I'm pretty sure he's *trying* to get the time from /dev/rtc, not >> trying to set it. >> > > You'd be right. > > I've found I don't seem to need timesync, the system time & /dev/rtc alik= e seem to stay in sync with the host without it, but I'm still curious why = timesync -r should mess up the system time so badly. > > Perhaps /dev/rtc and the system time are linked on some architectures, so= that setting one sets the other and so timesync -r gets in a mess. Just a = guess. > > -- > Ethan Grammatikidis > The lyf so short, the craft so long to lerne. -- Chaucer > > --=20 Federico G. Benavento