Time and Date

Andre Costa acosta at ar.microlink.com.br
Sat May 29 17:57:58 UTC 2004


On Sat, 29 May 2004 10:44:59 -0700
"Mike McMullen" <mlm at loanprocessing.net> wrote:

> > IIRC, if you don't set hardware clock afterwards, new time won't
> > "stick" after a reboot. I guess you should use
> > 
> > hwclock --hctosys
> > 
> > after the 'date' command. hwclock can also set the date/time
> > directly, check its manpage.
> > 
> > HTH
> > 
> > Andre
> > 
> > PS: UTC/localtime might also be an issue if you're running a
> > dual-boot machine, because settings for one OS might differ from the
> > other.
> > 
> Maybe it's hardware specific but when I reboot or shutdown one of the
> last messages displayed is something like "saving time to system
> clock".
> 
> Using date hasn't been an issue for me.
> 
> Mike

You're right, just checked: hwclock is automatically called by
/etc/init.d/halt:

runcmd $"Syncing hardware clock to system time" /sbin/hwclock
$CLOCKFLAGS

Sorry for the noise =} (haven't dealt with that in a long time...)

Best,

Andre

-- 
Andre Oliveira da Costa





More information about the fedora-list mailing list