Hi Doug, > I haven't looked at the sane scsi code for some time. > What came to mind was whether it would be easier to convert > sanei_scsi.c t use the SG_IO ioctl provided by the sg > driver. It's not quite the same. It wouldn't help already existing software. (How much is there?) sanei_scsi.c might not be the only piece of software which uses write()/read() calls. This is also about the general ability of Linux to run 32bit apps on 64bit hardware. How different is the ioctl(SG_IO)? I thought it was blocking, which might be the reason the read/write method exists as well? Are there apps which rely on non-blocking I/O? Volker -- Volker Kuhlmann is possibly list0570 with the domain in header http://volker.dnsalias.net/ Please do not CC list postings to me. - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html