Date: Mon, 27 Dec 1999 11:10:31 -0800 (PST) From: kline@tera.com (Gary Kline) To: freebsd-questions@FreeBSD.ORG Subject: Re: ``options TIMEZONE'' Message-ID: <199912271910.LAA06169@tera.com> In-Reply-To: <199912271340.OAA21163@dorifer.heim3.tu-clausthal.de> from Oliver Fromme at "Dec 27, 99 02:40:29 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912271910.LAA06169>