Subject: Re: setting the time
To: Achyutram Bhamidipaty <ram@cs.arizona.edu>
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
List: port-i386
Date: 02/24/1995 00:52:29
>Also if I use the date command (if my recollection is correct) the
>command only changes the kernels idea of the time, and not the
>hardware clock itself.  Is there a way I can change the hardware time
>of day clock?

>From looking at /sys/arch/i386/isa/clock.c and /sys/kern/kern_time.c, I would
say that any call to settimeofday() already sets the hardware rtc.

settimeofday() calls resettodr(), which looks like it already does the
necessary magic.

--Ken