From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Iq7fg-0004iA-7y for garchives@archives.gentoo.org; Thu, 08 Nov 2007 13:43:48 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lA8DgP1j022167; Thu, 8 Nov 2007 13:42:25 GMT Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lA8Dc4I3017145 for ; Thu, 8 Nov 2007 13:38:04 GMT Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id E6698E4F6 for ; Thu, 8 Nov 2007 14:38:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id D9756E4FE for ; Thu, 8 Nov 2007 14:38:03 +0100 (CET) Received: from wmax001.mathematik.uni-wuerzburg.de (wmax001.mathematik.uni-wuerzburg.de [132.187.61.1]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id C56AAE4F6 for ; Thu, 8 Nov 2007 14:38:03 +0100 (CET) Date: Thu, 8 Nov 2007 14:38:03 +0100 (CET) From: Vaeth To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Daylight savings time In-Reply-To: <9n3hU-89d-7@gated-at.bofh.it> Message-ID: References: <9n3hU-89d-7@gated-at.bofh.it> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de X-Archives-Salt: 28de5400-d3e1-4bf3-91a3-86ccbe39e21b X-Archives-Hash: 97a6a23ca6a1d0161c0f7072531e2042 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.) -- gentoo-user@gentoo.org mailing list