On Thu, 8 Nov 2007, James wrote:

> In my /etc/conf.d/clock file I have these relevant settings:
> CLOCK="local"
> TIMEZONE="America/New_York"
> CLOCK_SYSTOHC="yes"
>
> it's a dual boot (XP & gentoo) workstation.
>
> I had to set the time manually to adjust for the 1 hour shift.

I guess you mean that in this timezone there was recently a shift
due to daylight saving time?

> Shouldn't this be automatic?

This question was recently discussed in the German forums.
Here is a summary:
Since you have CLOCK="local" this can only be automatic if your
computer was running during the shift - when you start your computer
after the shift, Linux will consider the hardware clock as the
correct (already shifted) time information.
If the shift happened with your setting although your computer was
not running, another program (typically: windows) has done the shifting.

Only if you run CLOCK=UTC the shift is guaranteed to work in any case
(of course, unless another program like windows interferes).

BTW: In case you use FAT, you might also want to consider the solution
proposed in
   http://forums.gentoo.org/viewtopic-t-579915.html
(which will make your hardwareclock also run with a constant offset to
utc i.e. the shift will also work reliable, but windows will display
the wrong time half of the year. However, the advantage is that
filestamps on FAT partitions will never change.)

-- 
[EMAIL PROTECTED] mailing list

Reply via email to