Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA01553; Wed, 13 Dec 95 19:08:40 EST
Received: from halloran-eldar.lcs.mit.edu by MIT.EDU with SMTP
	id AA04231; Wed, 13 Dec 95 19:08:44 EST
Received: from freefall.FreeBSD.ORG by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM)
	id AA11747; Wed, 13 Dec 1995 19:04:13 -0500
Received: from localhost (daemon@localhost)
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA29159
          Wed, 13 Dec 1995 14:10:38 -0800 (PST)
Received: (from root@localhost)
          by freefall.freebsd.org (8.7.3/8.7.3) id OAA29044
          for hackers-outgoing; Wed, 13 Dec 1995 14:09:35 -0800 (PST)
Received: from hemi.com (hemi.com [204.132.158.10])
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA29036
          for <hackers@freebsd.org>; Wed, 13 Dec 1995 14:09:26 -0800 (PST)
Received: (from mbarkah@localhost) by hemi.com (8.6.11/8.6.9) id PAA23386 for hackers@freebsd.org; Wed, 13 Dec 1995 15:15:12 -0700
From: Ade Barkah <mbarkah@hemi.com>
Message-Id: <199512132215.PAA23386@hemi.com>
Subject: Anyway to get tape head past end of tape mark ?
To: hackers@freebsd.org
Date: Wed, 13 Dec 1995 15:15:12 -0700 (MST)
X-Mailer: ELM [version 2.4 PL24]
Content-Type: text
Sender: owner-hackers@freebsd.org
Precedence: bulk

Hello,

Uhm, I managed to get an end of tape mark to be written at the
very beginning of one tape. I don't know much about tapes, but
I think that means there are two filemarks written there now.

Q: how can I recover from this ?

The tape is a Wangtek 5150es (SCSI), attached to a FreeBSD 2.0.5
machine. I'm wondering several questions:

1. Is EOT really signified by two filemarks ?

2. Is this behaviour hardware or software ? That is, can software
   force the tape to go pass the EOT ?

3. If it's software, can I simply use the tape's MTFSF ioctl to
   skip over the two filemarks, or do I need to modify the driver ?

4. If it's hardware, can I cut a few feet at the beginning of the
   tape (hopefully past the EOT mark) and recover that way ? How
   much of the tape should I cut ? Can I maybe do a 'cat /dev/nrst0 >
   /dev/null' to force the tape to get to the EOT, eject without
   rewinding, then cut just past that ?

Thanks in advance for any help,

-Ade Barkah
--------------------------------------------------------------------
Inet: mbarkah@hemi.com - HEMISPHERE ONLINE - www: <http://hemi.com/>
--------------------------------------------------------------------
