[598] in linux-scsi channel archive
Re: Stopping tape from rewinding
daemon@ATHENA.MIT.EDU (Kai Makisara)
Thu Sep 7 12:01:53 1995
Date: Thu, 7 Sep 1995 09:31:10 +0300 (EET DST)
From: Kai Makisara <makisara@abies.metla.fi>
Reply-To: Kai.Makisara@metla.fi
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.
>
This is probably a user problem :-) Your /dev/tape is pointing to a
tape device has a small minor number (probably /dev/st0 having minor 0).
This is an auto-rewind device and it should behave as you describe. To
access multiple files on tape you should use the non-rewind device that
has a minor code >= 128. You may have already have the device /dev/nst0
pointing to minor 128.
Kai