On Tue, Apr 18, 2017 at 1:14 PM, Hal Murray <hmur...@megapathdsl.net> wrote:
> > >> I just rebooted a Raspberry Pi. Somebody is setting the > >> system time. I don't know who/where. > > > I do. There's a special hack to save the time at shutdown and restore > it at > > startup. The assumption is that that sort of reboot happens fast enough > so > > that the restored time is not too horrible for syslogging. > > From the log file: > 18 Apr 01:12:08 ntpd[434]: 0.0.0.0 c41c 0c clock_step +6.249811 s > > That seems consistent with your description. > > I'm curious. I'd like to look at the code. Do you know where it is > located? > Name of program or similar? ... > I believe Raspberry Pi uses fake-hwclock to keep time advancing. My understanding (not at home to check directly) is that there is a cron entry to save time hourly and script to save on shutdown. There is another script that reads the file on boot. Clark
_______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel