9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: John Floren <john@jfloren.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Attempts to set timezone don't stick?
Date: Mon, 12 Nov 2012 17:39:19 -0800	[thread overview]
Message-ID: <CAL4LZyjOzs5LjqULkCTH3cmakyosnzG-KdsjZeDFhYUducheEA@mail.gmail.com> (raw)
In-Reply-To: <CAJsduKnxrCfd86C6WeegxX+w-jyX5LQqz7iuYgxo2T5HtnnNrg@mail.gmail.com>

On Mon, Nov 12, 2012 at 5:33 PM, Phineas Pett <phineas.pett@gmail.com> wrote:
> Hello List,
>
> I'm attempting to setup a native Plan 9 system for the first time, but
> I'm having a bit of trouble getting the timezone to ``stick.''
>
> Putting the following in my /lib/profile seemed the intuitive and
> correct thing to do:
>
> bind /adm/timezone/US_Central /adm/timezone/local
>
> But it does not work, and I don't understand why.

I wouldn't expect this to work. According to date(1),
/adm/timezone/local is copied into /env/timezone by init, meaning your
bind comes far too late.

You need to physically copy the file over, and then presumably reboot
to get everything set properly.

>
> The following also failed:
>
> cat /adm/timezone/US_Central > /adm/timezone/local
>

Did you reboot after doing this?


John



  reply	other threads:[~2012-11-13  1:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-13  1:33 Phineas Pett
2012-11-13  1:39 ` John Floren [this message]
2012-11-13  2:15   ` Phineas Pett
2012-11-13  2:29     ` Anthony Sorace
2012-11-13  2:36     ` [9fans] [FIXED] " Phineas Pett

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=CAL4LZyjOzs5LjqULkCTH3cmakyosnzG-KdsjZeDFhYUducheEA@mail.gmail.com \
    --to=john@jfloren.net \
    --cc=9fans@9fans.net \
    /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).