From owner-freebsd-questions Sun Aug 18 11:32:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 456C137B400 for ; Sun, 18 Aug 2002 11:32:17 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26AE443E4A for ; Sun, 18 Aug 2002 11:32:16 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g7IIWEQI004510; Sun, 18 Aug 2002 19:32:14 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g7IIW8Ql004509; Sun, 18 Aug 2002 19:32:08 +0100 (BST) Date: Sun, 18 Aug 2002 19:32:08 +0100 From: Matthew Seaman To: Jeff Penn Cc: freebsd-questions@FreeBSD.ORG Subject: Re: timezone on freebsd/debian system Message-ID: <20020818183208.GA4306@happy-idiot-talk.infracaninophi> References: <20020818152332.GA594@jrpenn.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020818152332.GA594@jrpenn.demon.co.uk> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Aug 18, 2002 at 04:23:32PM +0100, Jeff Penn wrote: > I installed FreeBSD on a new system back in January. When promped to set > UTC during the install I answered no, and set the timezone to London. > > In March my system did not forward the system clock by 1 hour, although > date shows the timezone as BST. > > I recently installed Debian Woody on the system and set the timesone to > London. The date also displays BST, but is 1 hour ahead. I also installed > freedos recently, but did not notice if the time was correct. adjkerntz(8) should handle keeping the CMOS clock showing the local wall-clock time. There should be a file /etc/wall_cmos_clock which tells the system that the CMOS clock isn't running UTC. There should be /etc/crontab entries to invoke adjkerntz in the small hours so that it will pick up on Summer -- Winter time changes: # time zone change adjustment for wall cmos clock, # does nothing, if you have UTC cmos clock. # See adjkerntz(8) for details. 1,31 0-5 * * * root adjkerntz -a Otherwise, adjkerntz(8) gets run on system startup and shutdown. Debian should have a similar mechanism, but I can't remember exactly what it is at the moment. Mind you, seeing as you're in London UTC will be close enough at least half the year. If you're mostly running Unixoid OSes I'd say set the system clock to UTC the way Unix and Linux expects it, and live with the clock being an hour out when you boot into a Microsoft OS during the summer time. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message