From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 10 11:00:58 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EA03623B for ; Thu, 10 Jul 2014 11:00:58 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id C31612D8B for ; Thu, 10 Jul 2014 11:00:58 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 9339033C46 for ; Thu, 10 Jul 2014 07:00:52 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 8E9523984C; Thu, 10 Jul 2014 07:00:51 -0400 (EDT) From: Lowell Gilbert To: freebsd-hackers@freebsd.org Subject: Re: FreeBSD/Solaris dual-boot, problems with time (ntpd) References: <20140710110745.00aa6e92@X220.alogt.com> <53BE369F.5000604@freebsd.org> Date: Thu, 10 Jul 2014 07:00:50 -0400 In-Reply-To: <53BE369F.5000604@freebsd.org> (Allan Jude's message of "Thu, 10 Jul 2014 02:45:51 -0400") Message-ID: <44lhs1mqal.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 11:00:59 -0000 Allan Jude writes: > On 2014-07-09 23:07, Erich Dollansky wrote: >> Hi, >> >> On Thu, 10 Jul 2014 12:09:48 +1000 >> Noel Hunt wrote: >> >>> I have a dual-boot machine, running ntpd in both OSes, but when >>> I switch from one OS to the other the time is wildly out. >>> >>> Can someone explain what is going on please? >>> >> could it be that the time difference is the time difference between >> your time zone and GMT? >> >> FreeBSD has the clock normally running on GMT. >> >> Did you check that you have set the time zones of both installations >> correctly. >> >> Erich > > On FreeBSD, run 'tzsetup' and select 'no' when asked 'is your CMOS clock > in UTC', this will leave your cmos clock in local time, which is what > other OSs expect. For values of "other OSs" that are limited to "Windows". Solaris normally expects the real-time clock to be in UTC. On some platforms it has a command (rtc) to adjust this to another zone (an arbitrary zone, not necessarily the system's default zone like FreeBSD supports).