From: Charles Forsyth <forsyth@terzarima.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] ndb question
Date: Mon, 2 Aug 2004 09:53:20 +0100 [thread overview]
Message-ID: <557505e462b705571e7e9d1ba4f9c0b8@terzarima.net> (raw)
In-Reply-To: <Pine.BSI.4.58.0407311653340.9843@malasada.lava.net>
[-- Attachment #1: Type: text/plain, Size: 471 bytes --]
try setting cpu='$cpu' in termrc, with the cpu=... entry in ndb.
the auth=, cpu= ... names in ndb are typically used when cs (via dial) is asked to
look for $X for some X as part of a dial string (eg, net!$auth!fsauth).
since the cpu command puts the value of the environment variable cpu
in a dial string, setting it to the literal '$cpu' puts that in the dial string,
where cs will translate it by looking in ndb.
see the description of metanames in ndb(6)
[-- Attachment #2: Type: message/rfc822, Size: 2934 bytes --]
From: Tim Newsham <newsham@lava.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: [9fans] ndb question
Date: Sat, 31 Jul 2004 16:59:30 -1000 (HST)
Message-ID: <Pine.BSI.4.58.0407311653340.9843@malasada.lava.net>
This doesnt look right. I edit /rc/bin/termrc, I get rid of the
"cpu=XXX" line. I edit /lib/ndb/local and setup a default cpu setting
and verify with:
ndb/ipquery ip <my ip> cpu (result: cpu=XXX)
but when I boot the system the cpu variable is unset. How is the
cpu setting in ndb used, if at all? I know I can set this in
termrc, but ndb seems more flexible. I could always set it
from an ipquery, but this seems hacky. I'm trying to set things
up "properly" here.
Tim N.
next prev parent reply other threads:[~2004-08-02 8:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-28 2:10 [9fans] (no subject) YAMANASHI Takeshi
2004-07-29 20:51 ` [9fans] usb keychain boot? Tim Newsham
2004-07-29 22:13 ` Tim Newsham
2004-07-30 5:11 ` Kenji Okamoto
2004-08-01 2:11 ` [9fans] local mail question Tim Newsham
2004-08-01 2:59 ` [9fans] ndb question Tim Newsham
2004-08-02 8:53 ` Charles Forsyth [this message]
2004-08-01 7:45 ` [9fans] local mail question geoff
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=557505e462b705571e7e9d1ba4f9c0b8@terzarima.net \
--to=forsyth@terzarima.net \
--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).