home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sun / misc / 4180 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  2.2 KB

  1. Path: sparky!uunet!psinntp!alsys1!ksksun!ksk
  2. From: ksk@ksksun.bioc.aecom.yu.edu (Ken Krauter)
  3. Newsgroups: comp.sys.sun.misc
  4. Subject: Re: Adding to a TAR tape
  5. Summary: Yes you can!!
  6. Keywords: DAT 8mm 4mm
  7. Message-ID: <1177@alsys1.aecom.yu.edu>
  8. Date: 10 Sep 92 16:34:07 GMT
  9. References: <33639@samsung.samsung.com>
  10. Sender: news@alsys1.aecom.yu.edu
  11. Reply-To: ksk@ksksun.bioc.aecom.yu.edu
  12. Followup-To: ksk@ksksun.ca.aecom.yu.edu
  13. Organization: Sun Microsystems, Inc.
  14. Lines: 33
  15. Nntp-Posting-Host: ksksun.ca.aecom.yu.edu
  16.  
  17.  
  18. >The problem here is the device name. "rst8" is the "rewind" device.
  19. >After each operation the tape is rewound. Use "nrst8" instead.
  20. >
  21. >-- 
  22.  
  23. Well, if I remember this thread from the beginning, the original question was if it was possible to use the u or r options
  24. to tar on an 8mm exabyte helical scan device.  Well--------- I have a 4mm DAT drive (HP 35480A) which, when
  25. turned on thinks is an exabyte 8500 drive (the kernel only knows about 8mm drives without mods) so that as far as the
  26. computer is concerned I have an 8mm drive.  Anyhow, I use tar or bar for archiving all the time and the u and r options
  27. work as advertised.  i.e. I can update a single tarfile on tape just fine.
  28.  
  29. mt -f /dev/rst0 rewind
  30. tar cvf /dev/rst0 ./*
  31.  
  32. then create an new file in '.' called hello
  33.  
  34. mt -f /dev/rst0 rewind
  35. tar rvf /dev/rst0 ./hello
  36.  
  37. And voila!  hello appears at the end of the tarfile with a `tar vtf /dev/rst0`.
  38. The specification of rst0 or nrst0 is important because rst0 completes each operation with a rewind.  The mt commands
  39. listed above were unnecessary but merely illustrate that I only was writing or reading the first tarfile on the tape.  This 
  40. tar u or r approach definitely does not work with QIC tapes (1/4") just as the man says.  I think helical scan drives can
  41. accurately position the tape even when used in streaming mode.  As an aside, the DAT (and I believe the 8mm)
  42. are both capable of operating as a block device or character device and several vendors (Apunix for one) have
  43. drivers to actually treat the tape as a diskdrive with random access and formatting.  They claim high speed operation
  44. (though I doubt is is as fast as say dump) for backups, recoveries and file changes.
  45.  
  46. good luck.
  47. ken krauter
  48.  
  49.  
  50.