From owner-freebsd-questions@FreeBSD.ORG  Mon Aug 25 14:40:34 2008
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2E6C5106566C
	for <freebsd-questions@freebsd.org>;
	Mon, 25 Aug 2008 14:40:34 +0000 (UTC)
	(envelope-from erikt@midgard.homeip.net)
Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net
	[80.76.149.212])
	by mx1.freebsd.org (Postfix) with ESMTP id BF75C8FC18
	for <freebsd-questions@freebsd.org>;
	Mon, 25 Aug 2008 14:40:33 +0000 (UTC)
	(envelope-from erikt@midgard.homeip.net)
Received: from c83-253-7-225.bredband.comhem.se ([83.253.7.225]:51729
	helo=falcon.midgard.homeip.net)
	by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68)
	(envelope-from <erikt@midgard.homeip.net>) id 1KXdFB-0008Ig-3T
	for freebsd-questions@freebsd.org; Mon, 25 Aug 2008 16:40:33 +0200
Received: (qmail 20478 invoked from network); 25 Aug 2008 16:40:30 +0200
Received: from owl.midgard.homeip.net (10.1.5.7)
	by falcon.midgard.homeip.net with ESMTP; 25 Aug 2008 16:40:30 +0200
Received: (qmail 33756 invoked by uid 1001); 25 Aug 2008 16:40:30 +0200
Date: Mon, 25 Aug 2008 16:40:30 +0200
From: Erik Trulsson <ertr1013@student.uu.se>
To: Aryeh Friedman <aryeh.friedman@gmail.com>
Message-ID: <20080825144030.GA33490@owl.midgard.homeip.net>
References: <bef9a7920808250712g33ecace9gbb3641a378468676@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <bef9a7920808250712g33ecace9gbb3641a378468676@mail.gmail.com>
User-Agent: Mutt/1.5.18 (2008-05-17)
X-Originating-IP: 83.253.7.225
X-Scan-Result: No virus found in message 1KXdFB-0008Ig-3T.
X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KXdFB-0008Ig-3T
	33c438bafe5ea3b9b02398ae9692b094
Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject: Re: keeping clocks synced on a dual boot machine
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Aug 2008 14:40:34 -0000

On Mon, Aug 25, 2008 at 10:12:22AM -0400, Aryeh Friedman wrote:
> I have a dual boot machine and if I set the Vista clock to the local
> time then no matter what I do on the fbsd side (via tzsetup) forces
> fbsd to report local time instead of GMT and vice versa (if fbsd is
> local then vista is GMT).   How can I get them to agree?

By using the adjkerntz(8) utility on FreeBSD.

I think it is automatically run at startup and then should look
for the existence of the file /etc/wall_cmos_clock to determine
if the clock is running at local time or UTC.  (At least according
to the manpage.)



-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se