9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] readnvram
@ 2003-06-15 23:10 Bruce Ellis
  2003-06-16  2:19 ` Dan Cross
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Ellis @ 2003-06-15 23:10 UTC (permalink / raw)
  To: 9fans

I added the following entries to nvtab in libauthsrv/readnvram.c

diff /n/sources/plan9/sys/src/libauthsrv/readnvram.c .
29a30,31
>  "pc", "#S/sdC1/nvram", 0, sizeof(Nvrsafe),
>  "pc", "#S/sdC1/9fat", -1, sizeof(Nvrsafe),

The approach seems somewhat haphazard but it now
works for me.

brucee


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] readnvram
  2003-06-15 23:10 [9fans] readnvram Bruce Ellis
@ 2003-06-16  2:19 ` Dan Cross
  2003-06-16  3:35   ` Bruce Ellis
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Cross @ 2003-06-16  2:19 UTC (permalink / raw)
  To: 9fans; +Cc: brucee

In article <003901c33393$553f80a0$c901a8c0@cc77109e> you write:
>I added the following entries to nvtab in libauthsrv/readnvram.c
>
>diff /n/sources/plan9/sys/src/libauthsrv/readnvram.c .
>29a30,31
>>  "pc", "#S/sdC1/nvram", 0, sizeof(Nvrsafe),
>>  "pc", "#S/sdC1/9fat", -1, sizeof(Nvrsafe),
>
>The approach seems somewhat haphazard but it now
>works for me.

Hmm; why not just set the nvram= environment variable in plan9.ini?
Not that I object to these being in the table, of course....

	- Dan C.

(ps- I envy you your beach.  :-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] readnvram
  2003-06-16  2:19 ` Dan Cross
@ 2003-06-16  3:35   ` Bruce Ellis
  0 siblings, 0 replies; 3+ messages in thread
From: Bruce Ellis @ 2003-06-16  3:35 UTC (permalink / raw)
  To: 9fans

Hmm; no excuse except that it ain't in the manual.
I guess i could have read the source before hacking
the table.  Whatever.

> Hmm; why not just set the nvram= environment variable in plan9.ini?
>
> - Dan C.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-16  3:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-15 23:10 [9fans] readnvram Bruce Ellis
2003-06-16  2:19 ` Dan Cross
2003-06-16  3:35   ` Bruce Ellis

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).