cwayne@hydra.unm.edu (Chris Wayne SCONS) (05/08/90)
I'm looking for a program and/or technique that can read past EOF flags on tape, for the sole purpose of reading the data that 'was' on the tape. For example (common error), you do a tar -cv on a tape that has data... With all of my knowledge, I'd say I'm SOL, but at the same time I know there's got to be a way to retrieve the old data. Any HELP will be appreciated. Chris Wayne @ UNM | "THE CAST AND CREW OF STAR TREK WISH TO DEDICATE cwayne@hydra.unm.edu | THIS FILM TO THE MEN AND WOMEN OF THE SPACESHIP --------aka--------------+ CHALLENGER. THEIR COURAGEOUS SPIRIT SHALL LIVE Don Quixote of RAS \ ON TO THE 23RD CENTURY AND BEYOND."
nash@ucselx.sdsu.edu (Ron Nash) (05/08/90)
In article <2653@ariel.unm.edu> cwayne@hydra.unm.edu (Chris Wayne SCONS) writes: > > I'm looking for a program and/or technique that can read past EOF flags >on tape, for the sole purpose of reading the data that 'was' on the tape. >For example (common error), you do a tar -cv on a tape that has data... >With all of my knowledge, I'd say I'm SOL, but at the same time I know there's >got to be a way to retrieve the old data. Any HELP will be appreciated. You can use dd to move the tape past EOF. You must use the no-rewind tape device for this to work (the tape device names that end with a "n"). Try "dd if=/dev/rmt1hn of=/dev/null" to move the tape forward one "file" or EOF flag at a time. If you have the mt command, you can use it to do the same thing. -- Ron Nash San Diego State University Internet: nash@ucselx.sdsu.edu UUCP: ucsd!sdsu!ucselx!nash
gwyn@smoke.BRL.MIL (Doug Gwyn) (05/09/90)
In article <2653@ariel.unm.edu> cwayne@hydra.unm.edu (Chris Wayne SCONS) writes: > I'm looking for a program and/or technique that can read past EOF flags >on tape, for the sole purpose of reading the data that 'was' on the tape. Common UNIX practice is simply to use the non-rewinding device; it leaves the drive positioned after the tape mark. 1/2" magtapes use two consecutive tape marks to indicate end of volume, but all you have to do is read past the second one the same way (non-rewinding).