Re: clockspeed and system time

Lloyd Zusman <[email protected]> Thu, 20 Jan 2005 19:17:54 -0500
Newsgroups gmane.comp.lib.libtai
Message-ID <[email protected]>
Thorsten Glaser <[email protected]> writes:

> Luca Morettoni dixit:
>
>>in the last line (the body of the mail) I see the correct date and
>>time, but in the Date: field I see the wrong time (with +22 seconds,
>>the LEAP), but why this?
>
> Either switch to the operating system MirOS or set your
> /etc/localtime symlink correctly:
>
> If you're using UTC, as every server admin should:
> # ln -sf /usr/share/zoneinfo/right/UTC /etc/localtime
>
> If not:
> # ln -sf /usr/share/zoneinfo/right/Europe/Rome /etc/localtime
>
> Ciao,
> //mirabile

After reading this, I realize that I'm confused about the use of the
"right" timezone subdirectory.

On my system, I'm running 'clockspeed' (version 0.62) to keep my system
clock set to TAI (well, TAI adjusted to the New York timezone,
actually).

However, my /etc/localtime file is not pointing to anything in the
"right" tree, but rather to /usr/share/zoneinfo/America/New_York.

And yet, unlike Luca Morettoni, when I run the following command, all
times in the resulting message are the same, including in the "Date:"
header:

 (sntpclock 209.51.161.238 | clockview; date) | mail -s x [email protected]

Therefore, it appears that I don't need the "right" settings in order
for my system times to always show up correctly.  How could this be?

Thanks in advance.


-- 
 Lloyd Zusman
 [email protected]
 God bless you.