Linux ATA/IDE development
 help / color / mirror / Atom feed
* [announce] plscsi in Linux
@ 2004-05-21 19:46 Pat LaVarre
  2004-05-21 20:01 ` Pat LaVarre
  0 siblings, 1 reply; 3+ messages in thread
From: Pat LaVarre @ 2004-05-21 19:46 UTC (permalink / raw)
  To: dwm; +Cc: linux-ide

> Re: [PATCH] atapi request sense work
> ...
> 'plscsi'.  Where would one find this tool?

http://members.aol.com/plscsi/linux/plscsi.tar.gz

ends the depressingly noisy web trail:

http://www.google.com/search?btnI=lucky&q=plscsi
http://members.aol.com/plscsi/
http://members.aol.com/plscsi/linux/

There you will find,

plscsi (Programming Language, SCSI) is a tool, conceptually trivial,
actually complex, typed by me (Pat LaVarre) with help from many, but not
yet offered among the sg utils of linux-scsi/ Douglas Gilbert.

I wrote plscsi to make { open(); ioctl(); close(); exit(); }
interactive, taking the SCSI CDB in hex from the command line and
streaming the binary data in/ out thru stdout or stdin.  Relevant ioctl
in Linux include CDROM_SEND_PACKET and SG_IO.

Such an interactive tweak turns out to be exactly what you need, for
example, to make linux-2.6.6-bk8 SATAPI read/write.

A tutorial is http://members.aol.com/plscsi/tutorial/

Linux-style source is http://members.aol.com/plscsi/mac/gcsmac.tar.gz

http://plavarre.blog-city.com/read/542134.htm
is me arguing that a C interpreter would do a better job.

Among the folk of linux-ide I trust we have no need of the disclaimer:

Learning to use a tool like PLScsi will probably remind you of the need
to backup often. If you won't enjoy that lesson, then please don't pick
up the tool. Potential side effects include kernel panics, destroyed
discs, destroyed devices, and even imperceptibly subtle forms of data
corruption. Storage devices differ from modems first by being designed
to record your mistakes permanently, and second by defining some
commands or sequences of commands to mean self-destruct.

Pat LaVarre



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-21 20:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-21 19:46 [announce] plscsi in Linux Pat LaVarre
2004-05-21 20:01 ` Pat LaVarre
2004-05-21 20:05   ` Pat LaVarre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox