9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Strange date/time on some created files
Date: Sat, 11 Feb 2006 10:51:58 -0500	[thread overview]
Message-ID: <ee9e417a0602110751h759b00faqebf2dc52ed1a74c3@mail.gmail.com> (raw)
In-Reply-To: <82da10e4ade94db9e78b822921d9c951@comcast.net>

> Sat Feb 11 10:00:01 EST 2006
>
> then, after the walk downstairs to the server
>
> Sat Feb 11 10:01:18 2006 + 0

That sure looks like New York time.

> I never set the time zone in the sources, so it reads
>         conf.minuteswest = 8*60;

That sure looks like California time.  If your file server
is really in 8*60, then it thinks it's 10am in California,
which explains why the files say 1pm in New York.

> I recall having
> some date problems when I built the fileserver, so I set
> the time in the machine's bios to 8 hrs ahead of me
> (I actually rebooted and double checked that),

The machine's bios should be set to GMT, which is only
five hours ahead of you.

Set the bios to GMT and then it doesn't matter
what you've got minuteswest set to, except for what
time zone the file server prints its dates in and when
it thinks 5am is to run the dump.

> Russ's other suggestion, 9fs boot; ls -l /n/boot, I'm
> assuming I can just run at drawterm. I'm not sure what
> to look for here. It produced this:

Sorry, once upon a time you could stat the root of a file server
to find out what it thought the current time was.  I should have
tried it first, though.  I meant ls -ld, but even that doesn't work,
because it stats the mount point and not the root of the mounted
file server.  I don't think it's possible to stat the root of a mounted file
server anymore.

Russ


  reply	other threads:[~2006-02-11 15:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-10 14:50 Gregory Pavelcak
2006-02-10 16:59 ` Russ Cox
2006-02-11  1:12 ` geoff
2006-02-11 15:28   ` Gregory Pavelcak
2006-02-11 15:51     ` Russ Cox [this message]
2006-02-12  2:14       ` geoff
2006-02-12  2:26         ` Russ Cox
2006-02-12  3:10           ` Bruce Ellis
2006-02-12  3:36             ` geoff
2006-02-12  3:53               ` Bruce Ellis
2006-02-12 11:06                 ` Russ Cox

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=ee9e417a0602110751h759b00faqebf2dc52ed1a74c3@mail.gmail.com \
    --to=rsc@swtch.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).