Michael Glaser wrote:
> 
> 
> --- Gabe Turner <dopp at acm.cs.umn.edu> wrote:
> > > 
> > > Question: How do I communicate with this tape
> > drive? It is the only SCSI 
> > > device in the system and I have no experience with
> > SCSI devices.
> > 
> > Since it's a tape, it doesn't have a filesystem so
> > you can't really mount
> > it.  All you do is write to the raw device (like
> > /dev/sd0 or whatever).
> 
> I see... That leads me to my next question then. How
> can I determine what the device name is? Is this
> assigned automatically when the driver loads? I am
> using the BusLogic.o driver for my SCSI card.
> 
> I was under the impression that the device name may
> change based on how you may be trying to use the drive
> - i.e. 'rewind' or 'non-rewind' or maybe even based on
> the size of media you place in the drive. At least
> someone told that is how their SCSI tape drive was
> used in HP-UX. Does Linux do something similar to your
> knoweledge?

/dev/st0 rewinds when you close the device (ie: at the end of a command
like "find . -print | cpio -oa | dd of=/dev/st0".  However, if you're
writing a script and want more than one file per tape, a command like
"/bin/mt -f /dev/st0 fsf 1" won't do what you initially might think.

/dev/nst0 does not rewind. Thus: "/bin/mt -f /dev/nst0 rewind" is
required after use.

hope this help'idly,

-S
 
============================================================================
     /|   | Quote of the day:                 |
  \'o.O'  |  "Linux-- because rebooting is    |  Steve Siegfried
  =(___)= |   for adding hardware"            |  sos at zjod.net
     U    |     - Billy Wheeler               |
============================================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org
For additional commands, e-mail: tclug-list-help at mn-linux.org