From owner-freebsd-questions Mon Dec 27 11:10:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gershwin.tera.com (gershwin.tera.com [207.224.230.28]) by hub.freebsd.org (Postfix) with ESMTP id CD675153D7 for ; Mon, 27 Dec 1999 11:10:38 -0800 (PST) (envelope-from kline@tera.com) Received: from tera.com (athena.sea.tera.com [207.224.230.169]) by gershwin.tera.com (8.8.8/8.8.8) with ESMTP id LAA10572 for ; Mon, 27 Dec 1999 11:10:34 -0800 (PST) Received: by tera.com (8.8.8+Sun/SMI-SVR4) id LAA06169; Mon, 27 Dec 1999 11:10:33 -0800 (PST) From: kline@tera.com (Gary Kline) Message-Id: <199912271910.LAA06169@tera.com> Subject: Re: ``options TIMEZONE'' In-Reply-To: <199912271340.OAA21163@dorifer.heim3.tu-clausthal.de> from Oliver Fromme at "Dec 27, 99 02:40:29 pm" To: freebsd-questions@FreeBSD.ORG Date: Mon, 27 Dec 1999 11:10:31 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL23 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Oliver Fromme: [Charset ISO-8859-1 unsupported, filtering to ASCII...] > Gary Kline wrote in list.freebsd-questions: > > Do we have a way of hardcoding our TZ into the kernel as (I understand) > > OpenBSD does in the KERNEL config file? > > > > option TIMEZONE=+800 > > Not that I'm aware of. Why would you want to do that anyway? > It's much more convenient to configure it at runtime using the > "tzsetup" tool. And you only have to do that once (unless you > move to a different timezone). So what would be the point of > hardcoding it in the kernel? > > Apart from that, the kernel doesn't care about the timezone at > all, because it is always running on UTC. As far as I know, it > only needs the timezone when accessing local MSDOS filesystems, > because they use local (non-UTC) timestamps. This is an ugly > hack, but what do you expect from MS stuff... Other than that, > timezone information does not belong in the kernel. This is exactly the reason for my post. I wouldn't be caught dead or alive using anything DOS-ish... but other have to... . > > I'd recommend that you have a look at the adjkerntz(8) manpage, > and maybe also read the manpages referenced in its "see also" > section. Normally, "tzsetup" is all that you need, once in > your computer's life. If you use sysinstall to install FreeBSD > on your box, it will even run tzsetup for you, so you don't > need it at all afterwards. > I checked adjkerntz; not sure that I understood it entirely. Seems like cron uses it to adjust the localtime (in the CMOS clock), if the CMOS is not-UTC. My CMOS is probably set to PST. I've used /stand/sysinstall to set my timezone; also have done it by hand. I suppose the question should have been: Once my timezone (TZ) is set and assuming I have the adjkerntz set up, will accessing MSDOS files be safe? in sync? thanks much, gary > Regards > Oliver > > -- > Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany > (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) > > "In jedem St_ck Kohle wartet ein Diamant auf seine Geburt" > (Terry Pratchett) > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Gary Kline Tera Computer Company To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message