From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6265ada728c8d7a1a8ce196d11a02462@plan9.bell-labs.com> From: "Russ Cox" To: 9fans@cse.psu.edu Subject: Re: [9fans] "Can't read from nvram: /env/nvrof file does not exist" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Thu, 17 Apr 2003 23:24:23 -0400 Topicbox-Message-UUID: 925f24de-eacb-11e9-9e20-41e7f4b1d025 never mind, i missed this part: if(strstr(v[0], "/9fat") == nil) safeoff = 0; the open failed, but the error is lost. the open might fail because you typed the wrong value for $nvram, or perhaps it fails because the open is ORDWR? i doubt the ide driver is smart enough to know that flash is only OREAD, so i don't think this is it.