Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2014 07:00:50 -0400
From:      Lowell Gilbert <freebsd-lists@be-well.ilk.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: FreeBSD/Solaris dual-boot, problems with time (ntpd)
Message-ID:  <44lhs1mqal.fsf@lowell-desk.lan>
In-Reply-To: <53BE369F.5000604@freebsd.org> (Allan Jude's message of "Thu, 10 Jul 2014 02:45:51 -0400")
References:  <CAGfO01xQe9ZwxETpcXK58PW63y_c9nRSNk1S3kkVPLOBhhsE4Q@mail.gmail.com> <20140710110745.00aa6e92@X220.alogt.com> <53BE369F.5000604@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Allan Jude <allanjude@freebsd.org> writes:

> On 2014-07-09 23:07, Erich Dollansky wrote:
>> Hi,
>> 
>> On Thu, 10 Jul 2014 12:09:48 +1000
>> Noel Hunt <noel.hunt@gmail.com> 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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44lhs1mqal.fsf>