*BSD News Article 6519


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!darwin.sura.net!haven.umd.edu!uunet!mcsun!Germany.EU.net!bs
From: bs@Germany.EU.net (Bernard Steiner)
Newsgroups: comp.unix.bsd
Subject: Re: [386BSD] What time is it anyway?
Date: 14 Oct 1992 09:18:29 GMT
Organization: EUnet Backbone, Dortmund, Germany
Lines: 27
Distribution: world
Message-ID: <1bgol5INN35n@Germany.EU.net>
References: <rcb.718996159@news.ncsu.edu>
NNTP-Posting-Host: walhalla.germany.eu.net

In article <rcb.718996159@news.ncsu.edu>, rcb@ncsu.edu (Randy Buckland) writes:
> I am having trouble getting the system time on my 386BSD system 
> working correctly. I am trying to set it as EDT and getting PDT. 
> My config file has the following line:
> 
> timezone	5 dst
> 
> All the samples use "8 dst" for PDT time. Where is this information 
> used so I can check if there is some nasty hardcoding

/* correct me if I'm wrong on this, but here hgoes anyway... */
The config file (for kernel compilation) is used to work out GMT from your
hardware clock, iow you need to tell the kernel what timezone relative to GMT
(or UTC or whatever) your BIOS is running.
Step two is then to link the correct timezone file to /etc/localtime so that
you get your local conversion right.

Just my $0.03 (with inflation and all that...)

-Bernard
-- 
Bernard Steiner, FB Informatik/IRB, Uni Dortmund,    vox +49 231 755 2444
Postfach 500500, D-W-4600 Dortmund 50, Germany       fax +49 231 755 2386
bs@Germany.EU.net          ...!uunet!unido!bs

*III  And they gave it Instructions, but knew it not. } From The Book of Nome,
*IV   It is, they said, a Box with a Funny Voice.     }      Mezzanine v.III-IV