home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / next / sysadmin / 4390 < prev    next >
Encoding:
Text File  |  1992-07-26  |  1.5 KB  |  33 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!mips!odin!fido!zola!zuni!anchor!olson
  3. From: olson@anchor.esd.sgi.com (Dave Olson)
  4. Subject: Re: WangDAT: How to fseek() ?
  5. Message-ID: <nq9sp2o@zuni.esd.sgi.com>
  6. Keywords: cron
  7. Sender: news@zuni.esd.sgi.com (Net News)
  8. Organization:  Silicon Graphics, Inc.  Mountain View, CA
  9. References: <1992Jul26.115817.27702@mic.ucla.edu>
  10. Date: Mon, 27 Jul 92 05:25:06 GMT
  11. Lines: 20
  12.  
  13. In <1992Jul26.115817.27702@mic.ucla.edu> iwelch@agsm.ucla.edu (Ivo Welch) writes:
  14. | I would like to write a few programs to lay out our large databases onto a DAT
  15. | tape.  Unfortunately,  I  lack all expertise with   tape  drives,  and my Wang
  16. | manual is less than explicit.
  17. | I understand how to use devices (/dev/rxt0, /dev/nrxt0) to read and write data
  18. | byte by byte and  file by  file.  What I   really  would like, though, is  the
  19. | additional ability to  keep an  index on   disk,  and do a  fast fseek()  that
  20. | employs the WangDATs fast seek facilities. How would I do this in a C program?
  21. | I.e. could some kind sole please send me replacements  for fseek() and ftell()
  22. | with such DAT tape drives, please?
  23.  
  24. The drive has the ability to do fast seeks, but fseek and ftell are
  25. unlikely to work.  It may also be that the NeXT tape drive doesn't
  26. provide this functionality.
  27. --
  28. Let no one tell me that silence gives consent,  |   Dave Olson
  29. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  30.     Maria Isabel Barreno                        |   olson@sgi.com
  31.