Subject: Re: Time (was: installing patches)
To: Julio Merino <juli@merino.net>
From: Steven M. Bellovin <smb@research.att.com>
List: netbsd-users
Date: 06/08/2001 09:33:27
In message <20010608152452.A7325@juli.red.local>, Julio Merino writes:
>On Fri, Jun 08, 2001 at 02:08:05PM +0200, Martin Husemann wrote:
>

>> Haven't tried, but there is a sysctl value "kern.rtc_offset", that probably
>> achieves the same effect, so adding
>> 
>> kern.rtc_offset=-60
>> 
>> to /etc/sysctl.conf may do the same thing.
>> 
>
>I'll try this first, but why when netbsd is installed it asks for a
>timezone?
>

Almost certainly to set up /etc/localtime, which does the translation 
from UTC to your local time zone.  (Even if you set rtc_offset to 
something else, the time() system call returns UTC.)


		--Steve Bellovin, http://www.research.att.com/~smb