[comp.sys.amiga] Streaming tape

lphillips@lpami.wimsey.bc.ca (Larry Phillips) (02/13/90)

In <26906@cup.portal.com>, phorgan@cup.portal.com (Patrick John Horgan) writes:
>A friend of mine just bought an inexpensive SCSI tape drive.  I
>assume that it will interface through an 2090a ok.

Not with the present version of hddisk.device, since it has a bug in it.

>  What we need to know, however is how to send commands to the 2090a, ...

You can use the SCSIDirect facility. You first build your command that you want
to send to the device, then you build a structure that points to the command
and to the data, and use an IOStdReq struct and DoIO to send the command
(decimal 28) to hddisk.device. Unfortunatley, the present version of
hddisk.deivce can only handle read or control commands. There is a bug that
will not let you use any write commands that require a data phase.

> ... and how do we come up with a Mountlist entry for this thing?

You don't really need one if you are using the device driver in the above way,
since there is no way that the file system can use it in a general sense. A
mountlist entry would make sense only if you were to write a handler that
understood and implemented a file system specific to the device you are talking
to.

>  Is it possible to use a disk driver to run a SCSI tape drive?

Absolutely.  I am using one now, but the above mentioned problems will get into
the way, badly.

> Are there any SCSI tape drivers out there in public domain?

Not that I know of.

-larry

--
Gallium Arsenide is the technology of the future;
  always has been, always will be.
+-----------------------------------------------------------------------+ 
|   //   Larry Phillips                                                 |
| \X/    lphillips@lpami.wimsey.bc.ca -or- uunet!van-bc!lpami!lphillips |
|        COMPUSERVE: 76703,4322  -or-  76703.4322@compuserve.com        |
+-----------------------------------------------------------------------+

phorgan@cup.portal.com (Patrick John Horgan) (02/14/90)

A friend of mine just bought an inexpensive SCSI tape drive.  I
assume that it will interface through an 2090a ok.  What we need to
know, however is how to send commands to the 2090a, and how do we
come up with a Mountlist entry for this thing?  Is it possible to
use a disk driver to run a SCSI tape drive?  Are there any SCSI
tape drivers out there in public domain?  HELP!!??? <grin>.

Patrick Horgan                    phorgan@cup.portal.com