[594] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Stopping tape from rewinding

daemon@ATHENA.MIT.EDU (Steven N. Hirsch)
Thu Sep 7 05:40:02 1995

Date: Wed, 6 Sep 1995 22:56:30 -0400 (EDT)
From: "Steven N. Hirsch" <hirsch@emba.uvm.edu>
To: Louis Mandelstam <louis@khotso.sacc.wn.apc.org>
Cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.91.950906164410.130N-100000@khotso.sacc.wn.apc.org>

On Wed, 6 Sep 1995, Louis Mandelstam wrote:

> Good day.
> 
> I'm having a problem with a tape drive which rewinds automatically after 
> doing anything, and I can't seem to prevent this.  I'm not sure whether 
> this is a software or hardware problem, but let's see what other Linux 
> SCSI users can offer.

> If I execute something like:
> 
> tar vcf /dev/tape /root
               ^^^^

My guess is that your tape device is a symlink to st0 (or st1, whatever), 
which is a rewinding device, i.e. it automatically rewinds on device 
close.  You should try using the corresponding nst device (nst0, nst1, 
etc.) which will not do this.

If the non-rewinding devices are not present, you need to get learn about 
mknod (see man page).

- Steve 
____________________________________________________________________________
|Steven N. Hirsch			 "Anything worth doing is worth    |
|University of Vermont			  overdoing.." - Hunter S. Thompson|
|Computer Science / EE                                                     |
----------------------------------------------------------------------------



home help back first fref pref prev next nref lref last post