Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: raj@cfa.harvard.edu (Raj Manandhar)
Subject: reading past EOT on a TK-50
Date: 23 Aug 91 00:45:12 GMT	[thread overview]
Message-ID: <1991Aug23.004512.24293@cfa.harvard.edu> (raw)

Maybe this falls under the heading of Frequently Asked Questions
but...

Does anyone know how to go past the end-of-tape on a TK-50 cartridge?
On dumb tape drives you can just read past two file marks, but that
appears not to be the case here, and perhaps for other tmscp tapes as
well. I am running Ultrix 3.1 (but perhaps the solution is the same
for newer versions too) on a MicroVAX II. I have this tape which I put
lots of good tape files on. Then I got confused and thought it was a
blank tape, and overwrote a few files at the beginning. There are many
good files following the EOT, if only I could read them. I tried using
mt fsf, blindly reading ahead with dd, mt eotdis, mt clrhrdsf, mt
clserex, and mt clsub, in various combinations, all without any luck.
I can go one file past the number of files that should be there before
the EOT, then I get an I/O error. I also tried (at someone else's
suggestion) writing a C program that makes the equivalent ioctl(2)
calls; this is different from mt because it does not close the tape
file descriptor between different ioctls and read(2) calls. The result
is the same.

I have to admit, at this point I'm motivated more by curiosity than
anything else.  If you know what incantations might convince the TK-50
to do my bidding, please send me email, as I do not normally read this
group.

Raj
-- 
Raj Manandhar +1 617 495-8348 or -2038		raj@cfa272.harvard.edu
Harvard-Smithsonian Center for Astrophysics	...!harvard!cfa272!raj
60 Garden Street, Cambridge, MA 02138		raj%cfa272@cfa.bitnet


                 reply	other threads:[~1991-08-23  0:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox