[519] in linux-scsi channel archive
Re: Selectable Generic SCSI device
daemon@ATHENA.MIT.EDU (Robert Nichols)
Thu Aug 17 02:33:54 1995
Date: Wed, 16 Aug 95 16:53 CDT
From: rnichols@interaccess.com (Robert Nichols)
To: brit@metronet.com, linux-scsi@vger.rutgers.edu
>I'm playing with the generic SCSI device. Since some of the devices,
>like robotic arms, are kind of slow, I wanted to use select to tell
>me when the SCSI command has completed.
>
>I tried to write a command to the sg device, then do a select on it
>to wait for it to become ready to read, then I read the device.
I believe that in Linux select() is implemented only for sockets. I
ran into a similar problem trying to overlap processing with reads
from SCSI tape. I ended up using two processes for that.
--
Bob Nichols rnichols@interaccess.com