Subject: Re: local system time and /etc/localtime
To: None <netbsd-help@netbsd.org>
From: Johnny Billquist <bqt@update.uu.se>
List: netbsd-help
Date: 04/09/2006 13:03:48
In rc.conf:

# cope with other OSes using the real time clock at localtime on this
# machine (by adjusting kern.rtc_offset at boot)
rtclocaltime=NO

(as found in /etc/defaults/rc.conf)

	Johnny


Aleksey Cheusov wrote:
> Hi all.
> Because I have dual-boot system (other OS is w2k),
> local time is kept in system clock.
> What is the right way to correctly set time zone in NetBSD
> in such environment?
> Setting /etc/localtime to /usr/share/zoneinfo/Europe/Minsk
> gives +2 (or +3 hours),
> sysctl -w kern.rtc_offset=-240
> doesn't look good due to summer/winter time changes.
> 
> P.S.
> Is this correct?
> http://www.netbsd.org/guide/en/chap-boot.html#chap-boot-system-time
> 

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@update.uu.se           ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol