Reading past end-of-tape?
Dominick Samperi
samperi at marob.masa.com
Sat Jun 3 12:45:29 AEST 1989
In article <8413 at pyr.gatech.EDU> david at pyr.gatech.edu (David Brown) writes:
>A short while ago, someone put some very important drawings
>onto a 1/4" tape using tar. Subsequently, and end-of-tape
>marker was written at the beginning of the tape. I think
>that trashed the first drawing. but the others should still
>be around, just not readily accessable (correct me if I'm
>wrong). Is there a PD or standard UN*X utility that will
>read the info that's past the end-of-tape marker?
No EOT marker is placed after the last file on streaming 1/4" mag tape.
Each file (or segment) is terminated with a file-mark, and there is an
end-of-media hole at the physical end of tape. The end of readable data
is located by reading file-marks until a "No Data Detected" error is
returned from the controller. Data can be appended after this state is
reached, but I do not think these drives/controllers can resync and start
reading blocks after the "No Data Detected" point. One reason for this is
the fact that these "intelligent" drives do error detection by keeping
track of the block sequence number, and they refuse to pass data to the
host if blocks are not read in the correct order. For this reason, all
software that is written for these drives MUST detect when the user
is attempting to overwrite existing data, and issue appropriate
warnings before continuing.
readable data on the tape by reading file-marks until a "No Data Detected"
--
Dominick Samperi -- ESCC
samperi at marob.masa.com
uunet!hombre!samperi
More information about the Comp.unix.wizards
mailing list