Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Pat LaVarre <p.lavarre@ieee.org>
To: dwm@austin.ibm.com
Cc: linux-ide@vger.kernel.org
Subject: [announce] plscsi in Linux
Date: 21 May 2004 13:46:55 -0600	[thread overview]
Message-ID: <1085168815.3083.43.camel@patibmrh9> (raw)

> 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



             reply	other threads:[~2004-05-21 19:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-21 19:46 Pat LaVarre [this message]
2004-05-21 20:01 ` [announce] plscsi in Linux Pat LaVarre
2004-05-21 20:05   ` Pat LaVarre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1085168815.3083.43.camel@patibmrh9 \
    --to=p.lavarre@ieee.org \
    --cc=dwm@austin.ibm.com \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox