From: Pat LaVarre <p.lavarre@ieee.org>
To: dougg@torque.net
Cc: patmans@us.ibm.com, linux-scsi@vger.kernel.org
Subject: Re: sg utils sg_io -i 0x24 -y "12 00:00:00 24 00"
Date: 07 Nov 2003 09:56:53 -0700 [thread overview]
Message-ID: <1068224213.2286.115.camel@patrh9> (raw)
In-Reply-To: <1068222286.2286.50.camel@patrh9>
> Perhaps we should be looking at
> implementing camcontrol in Linux.
Implementing, yes. Copying, no. I have a series of arguments, this
email presents only the First:
> Unix Man Page For 8 camcontrol
> http://www.svbug.com/cgi-bin/man.cgi?comd=8+camcontrol
I vote (: vehemently :) against merging into sg utils the camcontrol
etc. practice of ...
... obscuring the plain hex by substituting English at this level. For
example, in place of:
camcontrol tur da0
camcontrol eject -n cd -u 1 -v
camcontrol inquiry -D
I vote for:
sg_io -y "00 00:00:00 00 00"
sg_io -y "1B 01:00:00 02 00"
sg_io -i 0x24 -y "12 00:00:00 24 00"
Already we have sg_scan sg_inq sg_turs for less precise communication.
I vote for the hex because I can see what it means. With those
camcontrol examples, I have to guess whether they sometimes or always
mean the hex I intend.
I'm not opposed to offering text & gui as well. I just want text & gui
made available separately. Some of my ideas for a gui full of natural
language text cribbed from the t10 fiction appear as screen shots near
the end of the web trail:
Pat LaVarre et alia
http://members.aol.com/ppaatt/
Directly manipulating storage devices
http://members.aol.com/ppaatt/#storage
2.1. Arbitrary transparent pass thru of SCSI.
2.1.1. Via Java GUI
screen shots
http://members.aol.com/plforth/console/scsi/
http://members.aol.com/plforth/console/scsi/javaspt3c.png
(and others)
Although few people can easily give SCSI pass thru privilege to a Java
applet, I surprised myself by discovering that an unsigned unprivileged
Java applet here remains useful. In practice I found I left the
voluminous text & GUI on the web, then where I was actually working I
fetched the command line app and copy-pasted the command line args I
wanted from the applet.
Pat LaVarre
next prev parent reply other threads:[~2003-11-07 16:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-07 0:38 sg utils sg_io -i 0x24 -y "12 00:00:00 24 00" Pat LaVarre
2003-11-07 16:24 ` Pat LaVarre
2003-11-07 16:56 ` Pat LaVarre [this message]
2003-11-07 17:09 ` Pat LaVarre
2003-11-07 17:17 ` Pat LaVarre
2003-11-07 17:51 ` Patrick Mansfield
2003-11-07 18:11 ` Pat LaVarre
2003-11-07 18:27 ` Pat LaVarre
2003-11-07 18:31 ` Pat LaVarre
2003-11-11 23:52 ` Pat LaVarre
2003-11-14 3:09 ` Douglas Gilbert
2003-11-26 16:15 ` Pat LaVarre
-- strict thread matches above, loose matches on Subject: below --
2003-11-27 17:15 Pat LaVarre
2003-12-03 0:17 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=1068224213.2286.115.camel@patrh9 \
--to=p.lavarre@ieee.org \
--cc=dougg@torque.net \
--cc=linux-scsi@vger.kernel.org \
--cc=patmans@us.ibm.com \
/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