home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sgi / 13690 < prev    next >
Encoding:
Text File  |  1992-09-15  |  2.4 KB  |  63 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!spool.mu.edu!darwin.sura.net!sgiblab!sgigate!odin!fido!zola!zuni!anchor!olson
  3. From: olson@anchor.esd.sgi.com (Dave Olson)
  4. Subject: Re: Tape Drive Question (one more time...)
  5. Message-ID: <ptarlco@zuni.esd.sgi.com>
  6. Sender: news@zuni.esd.sgi.com (Net News)
  7. Organization:  Silicon Graphics, Inc.  Mountain View, CA
  8. References: <22345@galaxy.ucr.edu> <po39pko@zuni.esd.sgi.com> <prjv40k@zuni.esd.sgi.com> <pru3570@sgi.sgi.com> <1992Sep15.155009.43013@kuhub.cc.ukans.edu>
  9. Distribution: usa
  10. Date: Wed, 16 Sep 92 01:39:54 GMT
  11. Lines: 50
  12.  
  13. In <1992Sep15.155009.43013@kuhub.cc.ukans.edu> arritt@kuhub.cc.ukans.edu writes:
  14. | I tried this:  first I did
  15. |     bru -cv file1
  16. | and when it was done, followed it with
  17. |     mt feom; bru -cv file2
  18. | No complaints from bru, so I assume everything went OK.  The problem
  19. | was with reading the data back.  If I just did
  20. |     bru -tv
  21. | all it found was file1.  By analogy with the archive creation procedure,
  22. | I decided to try
  23. |     mt feom; bru -tv
  24. | This made bru very unhappy.  First it gave "warning: media appears to be
  25. | unformatted" then it asked me to load volume 1.  
  26.  
  27. Like I said, bru does *not* append to existing archives; this procedure
  28. writes two seperate archives.
  29.  
  30. Try:
  31.     mt rew
  32.     bru -vt
  33.     bru -vt
  34. or, to list just the second one
  35.     mt rew
  36.     mt fsf 1
  37.     bru -vt
  38. which can of course be used to reach arbitrary archives by using
  39. the correct # instead of '1'.
  40.  
  41. To read the *last* archive on a tape, assuming it is anything
  42. except 9 track, and has 'normal' FM's at the end, try
  43.     mt feom
  44.     mt bsf 2
  45.     bru -vt
  46. For 9 track, and some tapes written on other systems, you might
  47. need to do mt bsf 3 instead of 2.
  48.  
  49. | Could someone post a short script for appending an archive and then
  50. | reading it back?  Also I am assuming that for more than 2 archives
  51. | one would repeat 'mt feom' a total of (N-1) times before writing
  52.  
  53. feom means 'Find End Of Media'.  There is only one of those
  54. per tape, except in certain cases of tape errors, which should
  55. be quite rare.  For 9 track it is a logical end of media, since
  56. they don't have end of media markers (except for Physical End Of Tape
  57. or PEOT, which is somewhat different).  feom finds the end of
  58. recorded data for other tape types.
  59. --
  60. Let no one tell me that silence gives consent,  |   Dave Olson
  61. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  62.     Maria Isabel Barreno                        |   olson@sgi.com
  63.