* Exemple of code for cmd " scsi start "
[not found] <004801c390bd$55cca700$f8e4a7c8@bsb.virtua.com.br>
@ 2003-09-14 21:55 ` phil
2003-09-15 16:18 ` Patrick Mansfield
0 siblings, 1 reply; 2+ messages in thread
From: phil @ 2003-09-14 21:55 UTC (permalink / raw)
To: linux-scsi
Hello,
I search an exemple in C for send a command to a disk, the scsi command
i need is a start command.
Where can i find a exemple with source code.
cdt
philipp
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Exemple of code for cmd " scsi start "
2003-09-14 21:55 ` Exemple of code for cmd " scsi start " phil
@ 2003-09-15 16:18 ` Patrick Mansfield
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Mansfield @ 2003-09-15 16:18 UTC (permalink / raw)
To: phil; +Cc: linux-scsi
On Sun, Sep 14, 2003 at 11:55:38PM +0200, phil wrote:
>
> Hello,
> I search an exemple in C for send a command to a disk, the scsi command
> i need is a start command.
> Where can i find a exemple with source code.
For user level code:
http://www.torque.net/sg/#Utilities:%20sg_utils%20and%20sg3_utils
Check out sg_start.c.
Kernel code - drivers/kernel/sd.c uses START_STOP, other code in sd.c and
scsi_scan.c use various SCSI commands.
-- Patrick Mansfield
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-15 16:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <004801c390bd$55cca700$f8e4a7c8@bsb.virtua.com.br>
2003-09-14 21:55 ` Exemple of code for cmd " scsi start " phil
2003-09-15 16:18 ` Patrick Mansfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox