Date: Mon, 27 Dec 1999 14:40:29 +0100 (CET) From: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de> To: freebsd-questions@FreeBSD.ORG Subject: Re: ``options TIMEZONE'' Message-ID: <199912271340.OAA21163@dorifer.heim3.tu-clausthal.de>
next in thread | raw e-mail | index | archive | help
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. 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. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912271340.OAA21163>