9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] timesync -r not working?
@ 2009-06-26 18:45 Ethan Grammatikidis
  2009-06-26 19:48 ` erik quanstrom
  2009-06-29  9:31 ` Balwinder S Dheeman
  0 siblings, 2 replies; 16+ messages in thread
From: Ethan Grammatikidis @ 2009-06-26 18:45 UTC (permalink / raw)
  To: 9fans

I'm running plan 9 in qemu, I want to use the qemu-emulated hardware clock for the plan 9 time because it keeps the same time as the host.

I made a script to be sourced from cpurc:

	#!/bin/rc

	echo '> starting timesync'

	if (! test -e '/dev/rtc')
		bind -a '#r' /dev
	aux/timesync -r

The script runs at boot, the echo tells me that much, but the time is not set, perhaps as if timesync -r is not working. To be specific the date a few minutes after booting is Sun Jan  2 18:30:36 GMT 2000.

Should I not use timesync at all? I ask because $boottime (which is set before timesync is started) contains a reasonable date.

--
Ethan Grammatikidis
The lyf so short, the craft so long to lerne. -- Chaucer



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-07-07  9:20 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-26 18:45 [9fans] timesync -r not working? Ethan Grammatikidis
2009-06-26 19:48 ` erik quanstrom
2009-06-26 22:22   ` Ethan Grammatikidis
2009-06-26 23:57     ` erik quanstrom
2009-06-27  0:39       ` John Floren
2009-06-27  7:46         ` Ethan Grammatikidis
2009-06-27  8:36           ` Federico G. Benavento
2009-06-27 18:02             ` Ethan Grammatikidis
2009-06-28  0:05               ` Federico G. Benavento
2009-06-28 11:43                 ` Ethan Grammatikidis
2009-06-28  0:17               ` cinap_lenrek
2009-06-28 11:43                 ` Ethan Grammatikidis
2009-06-29  9:31 ` Balwinder S Dheeman
2009-06-29 14:27   ` Ethan Grammatikidis
2009-06-29 14:38     ` erik quanstrom
2009-07-07  9:20     ` Steve Kostecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).