[8722] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

How to send scsi command using sd interface ?

daemon@ATHENA.MIT.EDU (Sergey Vichik)
Sun Apr 30 12:58:01 2000

Message-ID: <DCBFB8E1BD8BD311A94D00A0C9CA44EA0CCCE4@mail.store-age.com>
From: Sergey Vichik <SVichik@store-age.com>
To: linux-scsi@vger.rutgers.edu
Date:	Sun, 30 Apr 2000 19:56:10 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"


Hello,

If any body knows how to send SCSI command using sd file : for example
/dev/sda,
Please let me know .

I tried ioctl() using SCSI_IOCTL_SEND_COMMAND command, it doesn't  work.

SCSI_IOCTL_SEND_COMMAND equals to 1,  it seems to be too small value for
such ioctl command.

Any ideas ?
Thank you.

Sergey.

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post