Re: Help - SCSI passthrough ioctl calls vs. sd/sg devices
From: Josef Möllers (josef.moellers_at_fujitsu-siemens.com)
Date: 04/22/04
- Next message: Bob Cent: "Maximize disk format space"
- Previous message: John-Paul Stewart: "Re: Help - SCSI passthrough ioctl calls vs. sd/sg devices"
- Maybe in reply to: Josef Möllers: "Re: Help - SCSI passthrough ioctl calls vs. sd/sg devices"
- Next in thread: Josef Möllers: "Re: Help - SCSI passthrough ioctl calls vs. sd/sg devices"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 22 Apr 2004 18:10:51 +0200
L wrote:
> This is veeery helpfule, Josef.
>
> Sounds to me like all SCSI passthrough ioctl calls (with commands like
> INQUIRY, READ/WRITE, RESERVE/RELEASE, MODE SELECT/SENSE, PERSISTENT
> RESERVATION) should be issued to sg devices, and none of them can be sent to
> sd devices, correct?
Cor...ect!
Although there seems to be a possibility to send an ioctl(2) to the sd
driver with a cmd of SCSI_IOCTL_SEND_COMMAND where you can pass
arbitrary commands through the sd driver, the source code says "This
interface is depreciated", so let's not use it.
-- Josef Möllers (Pinguinpfleger bei FSC) If failure had no penalty success would not be a prize -- T. Pratchett
- Next message: Bob Cent: "Maximize disk format space"
- Previous message: John-Paul Stewart: "Re: Help - SCSI passthrough ioctl calls vs. sd/sg devices"
- Maybe in reply to: Josef Möllers: "Re: Help - SCSI passthrough ioctl calls vs. sd/sg devices"
- Next in thread: Josef Möllers: "Re: Help - SCSI passthrough ioctl calls vs. sd/sg devices"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|