Subject: Re: Scsireprobe appears to be broken in 1.2G
To: Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 10/02/1997 16:36:45
On Thu, 2 Oct 1997 19:50:47 +0200 (MET DST)
Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de> wrote:
> Excerpts from netbsd: 2-Oct-97 Scsireprobe appears to be b.. Brian
> Buhrow@cats.ucsc.e (3495)
>
> > With the 1.2G kernel, I get: sd0d: bad file descriptor.
>
> It seems that you have to open /dev/rsd0c with O_RDWR.
That is correct. In order to perform ioctls that may change the state
of the device, you must have the device open for writing.
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-6 Work: +1 415 604 0935
Moffett Field, CA 94035 Pager: +1 415 428 6939