On 2012-01-07, Harlan Stenn <[email protected]> wrote:
> Rob wrote:
>> Does ntpd actually use files from the /usr/share/zoneinfo/right/ tree?
>
> NTP and the kernel use UTC (changing this is SAMOP).

Well, not really. They use utc if the source uses utc. If I have a
computer where the system time is TAI, and you use me as an ntp server,
you will also run TAI. The kernel itself just ticks along accumulating
seconds. It knows nothing about and cares nothing about leapseconds,
unless you tell it to insert/delete a leapsecond. 
The time routines on the system assume that the system is on UTC in
order to calculate civil time. They will not take into account leap
seconds, unless you change those routines to do so. Ie, you could
rewrite ( and it has probably already been done) the glibc routines in
order to translate from TAI to localtime rather than from UTC. (Ie it
would also read the leapseconds file)

>
> Anything under zoneinfo is localization.
>
> H

_______________________________________________
questions mailing list
[email protected]
http://lists.ntp.org/listinfo/questions

Reply via email to