home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / wizards / 4838 < prev    next >
Encoding:
Text File  |  1992-11-21  |  2.0 KB  |  47 lines

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