lkml.org 
[lkml]   [2009]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Bug: Status/Summary of slashdot leap-second crash on new years 2008-2009
Chris Adams wrote:
> Once upon a time, David Newall <davidn@davidnewall.com> said:
>
>> No. Exactly the contrary. I'm saying that through use of zoneinfo, for
>> example, no kernel support is required for leap seconds. And! this
>> provides correct results for seconds-between two dates.
>>
>
> Again: zoneinfo provides offset from UTC. Leap seconds are changes in
> UTC itself, not time zones, so zoneinfo can't handle that.
>

Yes, but zoneinfo ALSO provides support for leap seconds. Do read man
zic for specific details.

> Please go read Google, Wikipedia, and NTP lists.

I think you particularly mean NTP. I think your reasoning is that
because NTP's timestamp doesn't include leap seconds, and because we all
like to use NTP to synchronise our clocks, Linux has to make up the
difference. But there is an alternative; which is for the NTP client to
insert those missing leap seconds, which number it can get from
zoneinfo. Epoch remains the start of 1978; seconds between any two
dates included leap-seconds and no special kernel support is required.

\
 
 \ /
  Last update: 2009-01-05 01:03    [from the cache]
©2003-2011 Jasper Spaans