[2900] in linux-scsi channel archive
Re: Fibre channel anyone? / User level scsi util ?
daemon@ATHENA.MIT.EDU (Pete Popov)
Thu Dec 4 14:55:11 1997
To: mikhail@netcom.com (Mikhail Sukhar)
cc: linux-scsi@vger.rutgers.edu
In-reply-to: Your message of "Thu, 04 Dec 1997 09:23:13 PST."
<199712041723.JAA10102@netcom.netcom.com>
Date: Thu, 04 Dec 1997 12:01:54 -0800
From: Pete Popov <pete@jones.asd.sel.sony.com>
Hi,
> I have couple of questions regarding scsi under linux.
> 1) Is there a user level utility which allow to send any
> scsi cdb to the chosen device?
Yes!
> 2) Have anybody stated any fibre channel work for linux?
> Any help will be gratly appriciated.
I wrote a small library of SCSI commands, based around the
Linux generic driver. Although the library is aimed at
sequential access devices, modifications can be easily
made to accomodate other devices as well.
Using that library, I wrote a tape utility which allows you
to send _any_ SCSI command (including illegal commands).
Since "any" SCSI command is not useful to most users, the
utility understands "high level" SCSI commands (for a lack
of better description), such as 'modesense', 'testunitready',
'write', 'read', 'space', etc. When in interactive mode,
it uses the readline library, so it has command line completion
as well as command line history. Some of its features:
*interactive or command line parameter passing mode
*supports most sequential access SCSI commands, with full
support comming soon
*low-level command feature: edit the 'data out' buffer,
and then issue 'io6', 'io10', 'io12' command. This allows
the user to send _any_ command to the device.
*easily extendible
*autoloader support coming soon
*GPL license
I'm in the process of finishing it up and writing some basic
documentation for it. Then, ... I don't know where to upload it,
but I'll figure it out.
Pete