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