From: Dan Cross <cross@math.psu.edu>
To: 9fans@cse.psu.edu
Subject: [9fans] Whither nvram?
Date: Thu, 9 Jan 2003 00:08:21 -0500 [thread overview]
Message-ID: <200301090508.h0958Lw05127@augusta.math.psu.edu> (raw)
I was setting up a CPU/auth server on a recycled VALinux server the
other day (hooray!) and ran into an annoying problem with reading
nvram contents. Basically, this particular server had disk bays
that took SCA SCSI drives, and there was literally no way to have
an sd00; the smallest SCSI ID one could use was sd01. So, readnvram()
/sys/src/libauthsrv/readnvram.c never found my nvram sector. That
was highly annoying, and I fixed it by adding the appropriate lines
to nvtab to look at sd01 in addition to sd00 and sdC0. Still, that
seemed kind of ugly and it struck me that it would be a better
solution for readnvram() to honor an ``nvr'' environment variable
if such a thing existed. That way, the location of the nvram parition
could be set in plan9.ini. Does that seem like a reasonable change
to other people? If not, it'd be nice to see the sd01 entries go into
nvtab.
- Dan C.
next reply other threads:[~2003-01-09 5:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-09 5:08 Dan Cross [this message]
2003-01-09 5:10 ` Russ Cox
2003-01-09 14:09 ` Ronald G. Minnich
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=200301090508.h0958Lw05127@augusta.math.psu.edu \
--to=cross@math.psu.edu \
--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).