Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* reading past EOT on a TK-50
@ 1991-08-23  0:45 Raj Manandhar
  0 siblings, 0 replies; only message in thread
From: Raj Manandhar @ 1991-08-23  0:45 UTC (permalink / 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1991-08-23  0:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1991-08-23  0:45 reading past EOT on a TK-50 Raj Manandhar

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