Re: hwclock incorrectly set ?
On 09/03/18 19:57, Charles E. Blair wrote:
I have been getting messages
superblock mount time in future,
probably due to hardware clock
I tried using hwclock to
fix this, but don't know what I'm
doing. I created the batch file:
date > datetest
hwclock >> datetest
and ran it to get the output:
Fri Mar 9 00:49:11 CST 2018
Any advice on a simple fix
Compare with another time source. Which is correct? Are you running ntpd?
Startup/shutdown scripts should load/store time from the hardware clock.
Do you have /etc/adjtime? This file will persist drift information and
hardware clock time zone. Try deleting it.
I do not think this is a time zone issue; hwclock displays time in your
local time zone even when stored in UTC.
Ben Caradoc-Davies <email@example.com>
Transient Software Limited <https://transient.nz/>