home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.wizards
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!fang!tarpit!bilver!bill
- From: bill@bilver.uucp (Bill Vermillion)
- Subject: Re: >>TAR file on tape distroyed, are files recoverable?<<
- Organization: W. J. Vermillion - Winter Park, FL
- Date: Sun, 22 Nov 1992 04:31:41 GMT
- Message-ID: <1992Nov22.043141.20166@bilver.uucp>
- References: <1992Nov10.184320.5998@microware.com> <1992Nov14.214413.23844@bcars6a8.bnr.ca>
- Lines: 36
-
- In article <1992Nov14.214413.23844@bcars6a8.bnr.ca> norm@bcarh1ff.BNR.CA (Norm MacNeil) writes:
- >
- >In article <1992Nov10.184320.5998@microware.com>, troyf@microware.com
- >(Troy Frericks) writes:
- >|> I have a tape that contained a large 'tar' file. The data is not
- >|> replaceable. The data that is needed is at the end of the tar
- >|> file, but it is inaccessable because the wrong parameter was
- >|> passed to tar when attempting to retrieve it. The 'c' for
- >|> create, rather than 'x' for eXtract was passed, which caused
- >|> tar to write a tiny tar file over the beginning of the
- >|> larger one.
-
- > I don't know if it'll work but try using dd. For example,
- > dd if=/dev/nrst0 of=/dev/null
- > will read from the /dev/rst0 (non-rewinding) tape device and send the output
- > to nothing. This will get the tape point past the small file. You should
- > be able to type
- > dd if=/dev/rst0 of=tar.file
- > which will read the rest of the data off the tape and place it into tar.file.
- > Now the problem is now to rectify the file so that tar can recogznie the
- > format...
-
- Unless this is a 1/4 tape cartridge - and then there is really
- no hope. When writing to tape a FULL TRACK erase head is
- engaged on the first pass so all tracks are effectively botched
- - not just the first part of the first pass.
-
- And also the hardware won't let you past the EOF written after
- the mistaken write.
-
-
- --
- Bill Vermillion - bill@bilver.oau.org bill.vermillion@oau.org
- - bill@bilver.uucp
- - ..!{peora|tous|tarpit}!bilver!bill
-
-