Tape marks and end-of-data on QIC tapes

Tape marks and end-of-data on QIC tapes

Post by Matt Kub » Sat, 01 Aug 1992 05:35:35



Hi,

  I'm writing an application that reads data from
QIC tapes using the read() system call.  I've noticed
that when I encounter either a tape mark (EOF condition)
or an end-of-data condition, the read simply returns 0 bytes.

At this point, is there any way to determine which
of the two events actually occurred?

I've noticed that with 8mm tapes, read returns -1
and errno is set to EIO when the end-of-data is reached,
while running into a tape mark causes read to return 0.
This is nice since I know what was found on the tape.
But I haven't found a way to distinguish between
tape marks and end-of-data on QIC tapes.  The rmt man
pages don't seem to help.

I would appreciate any help.  Thanks.


 
 
 

1. QIC-24 format tapes (qic-02 and qic-36 interface)

I'm looking for any information/drivers for qic-02 controllers and the
qic-24 format tapes.  I've been able to get the driver under Linux
(1.2.13) compiled, but without a formated tape to test it, I can't
verify if I got everything working or not.

Problem: I've no dos software to format a DC-600A tape in the drive.
Failing a driver for dos so I format the tapes, I would like the
information on the qic-24 format for the DC-600A tapes so I could
write a format utility for Linux.  Any help would be appreciated.
(a linux format utility would be nice also/instead)

2. NxT1 MLPPP

3. Recovering data from a DAT tape with EOD mark at start

4. slakware setup woes

5. Connor Tape.stor 1700 tape drive QIC-3020

6. How do you automount filesystems using amd ?

7. QIC-02 tape controller/tape problems

8. more asppp

9. QIC-11, QIC-24 and dump(8) tape length

10. QIC-36 tape drive with an Emulex QIC-36-> SCSI board

11. Loading OpenBSD from QIC-24 tape on QIC-02 interface

12. wanted information on QIC-40/QIC-80 tape drives.

13. Need Help w/ using SCSI QIC drive to read tapes from floppy QIC