home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aix / 11457 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  2.3 KB

  1. Path: sparky!uunet!news.tek.com!ogicse!mimbres.cs.unm.edu!constellation!geohub.gcn.uoknor.edu!dwight
  2. From: dwight@geohub.gcn.uoknor.edu (Dwight D. Moore)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: overwrite EOT on 8mm tape?
  5. Message-ID: <BxIE1x.HGF@constellation.ecn.uoknor.edu>
  6. Date: 10 Nov 92 16:34:38 GMT
  7. Article-I.D.: constell.BxIE1x.HGF
  8. References: <1992Nov9.174751.4158@ednor.bbc.com>
  9. Sender: usenet@constellation.ecn.uoknor.edu (Usenet Administrator)
  10. Reply-To: dwight@geohub.gcn.uoknor.edu
  11. Organization: Geosciences Computing Network, Univ. of Oklahoma
  12. Lines: 41
  13. Originator: usenet@kittyhawk.ecn.uoknor.edu
  14.  
  15. In article <1992Nov9.174751.4158@ednor.bbc.com>, nsd@ednor.bbc.com (Nick Duffek) writes:
  16.  
  17. |>Does anyone know how to append a file on AIX to an 8mm tape that ends with EOT?
  18. |>(Note that AIX only writes EOT when writing to a device file whose
  19. |>rewind-on-close bit is set, i.e. /dev/rmt<n>, /dev/rmt<n>.2, /dev/rmt<n>.4,
  20. |>/dev/rmt<n>.6).  I believe this is equivalent to overwriting any file starting
  21. |>anywhere not at BOT.
  22.  
  23. |>Nick
  24.  
  25. We discovered some interesting things about Exabyte 8mm tape drives in terms of
  26. writing files. (If someone else has other information, I'm interested)
  27.  
  28. 1. The only place you can write on the tape are the following:
  29.      A. Using "short" EOF marks
  30.           1.) BOT
  31.           2.) End of data (EOD) mark 
  32.     B. Using "long" EOF marks
  33.          1.) On 8200s, you can also write at the BOT side of an EOF mark
  34.          2.) On 8500's, you can write at either side of an EOF mark.
  35.  
  36. 2. Use a real tape drive...
  37.  
  38. This is from documentation for Exabyte 8500 drives from TTI on a VAX.
  39.  
  40. This complicates things if you write directly to tape and are appending files.
  41. To write logical EOT marks (not physical),  you must backup to just before and EOF
  42. mark, and write two EOFs . The EOD mark is the last place written to on the tape.
  43.  
  44. Your best bet may be to write a dummy file at the end of your tape, start the
  45. append overwriting the dummy file, and append a new dummy file after you
  46. are done?...sigh...
  47.  
  48. ---------------------------------------------------------------------------
  49. Dwight D. Moore
  50. Geosciences Computing Network
  51. University of Oklahoma
  52.  
  53. dwight@geohub.gcn.uoknor.edu (129.15.40.10)
  54. These opinions do not necessarily represent the opinions of OU or the GCN.
  55. ----------------------------------------------------------------------------
  56.