Clocks

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
Subject: Clocks
Am 16. Oct, 2003 schw=E4tzte Chris Gehlker so:

> I've been going back and forth between Linux and MacOS a lot and I
> finally noticed that the time was all screwed up in Linux. So I fixed
> the problem by setting the system clock from a time server and then
> doing:
> hwclock --localtime --systohwclock
>
> Now the clock seems to know it's running in local time. I'm still
> curious, however, about the whole notion of system time being separate
> from the hardware clock time. AFAICT, Linux is the only OS that makes
> the distinction. I can't quite understand what the distinction is for.


UNIX makes the disctinction. The others are incorrect.

The hardware clock should be constant and should be GMT ( or whatever it's
being called this century ). The OS should then adjust to the local
timezone. If your computer changes timezones it's an adjustment to the OS.
No need to muck with the hardware clock.

MAC OS is now based on *BSD, which, I believe, can also be setup
MAC OS properly. Can now be setup to use GMT and the timezone offset?

If not, then set the hardware clock to localtime and configure Linux to not
use the offset from GMT.

ciao,

der.hans
--=20
#  https://www.LuftHans.com/    http://www.AZOTO.org/
#  We now return you to your regularly scheduled paranoia...