From: David Bulkow <dbulkow@sw.stratus.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] fs sntp - GMT or localtime?
Date: Mon, 7 Oct 2002 10:41:39 +0000 [thread overview]
Message-ID: <3D9DE2EC.F70A1ECF@sw.stratus.com> (raw)
In-Reply-To: <d579312d9592abfd5dcf54202b7428ea@9fs.org>
nigel@9fs.org wrote:
> The date is local time I think.
>
> You need to set
>
> /sys/src/fs/port/time.c:/^} timezone/
>
> to match where you live. What does it say?
The timezone is 5*60 and dsttime is 1, which makes sense for my location.
I just finished an experiment which seems to indicate that the fileserver
expects to be set to GMT/UTC.
- set fileserver to "local time"
- boot a terminal
The terminal time is now 6 hours BEFORE local time. Once timesync gets
sync'ed up, the terminal time jumps back to local time.
- set fileserver to sntp time (6 hours forward)
- boot a terminal
The terminal time now matches local time. Timesync, once sync'ed, also
provides local time.
With this test information and another perusal of the sources, I am now see
the fileserver "date" command reports time without a timezone translation. I
also determined that the terminal sets its time based on the access time of
'#s/boot', which matches my read of the code, as the fs will use timezone when
setting access times. Perhaps "date" should reflect the timezone.
next prev parent reply other threads:[~2002-10-07 10:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-04 17:41 nigel
2002-10-07 10:41 ` David Bulkow [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-10-07 21:57 Geoff Collyer
2002-10-04 15:39 David Bulkow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D9DE2EC.F70A1ECF@sw.stratus.com \
--to=dbulkow@sw.stratus.com \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).