🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: bit.listserv.aix
2 messages
2 total messages Started by Mark Warren Tue, 07 Apr 1992 13:22
QIC tape programming issue
#1
Author: Mark Warren
Date: Tue, 07 Apr 1992 13:22
16 lines
1057 bytes
I got no response when I asked this the first time, so I'll try again.

We have an application that needs to be informed if someone inserts or
removes the tape cartridge from a QIC tape drive.  Does the AIX SCSI
driver detect this (it must!), and can the user process be signalled
when it happens?

If not, is there an ioctl I can issue periodically to see if the
status of the drive has changed since my last known operation?

Thanks in advance,
--

 == Mark Warren                      Bull HN Information Systems Inc. ==
 == (508) 294-3171 (FAX 294-3705)    300 Concord Road   MA30/MS833A   ==
 == M.Warren@bull.com                Billerica, MA 01821              ==
Re: QIC tape programming issue
#2
Author: Dave Olson
Date: Wed, 08 Apr 1992 06:06
20 lines
1473 bytes
In <mwarren.702652956@rws1> mwarren@rws1.ma30.bull.com (Mark Warren) writes:
| We have an application that needs to be informed if someone inserts or
| removes the tape cartridge from a QIC tape drive.  Does the AIX SCSI
| driver detect this (it must!), and can the user process be signalled
| when it happens?

The ability for a SCSI device to notify a host of something like
this wasn't added until SCSI 2 (AEN or Asynchronous Event Notification).
I've not yet seen any QIC drives that support this feature.

| If not, is there an ioctl I can issue periodically to see if the
| status of the drive has changed since my last known operation?

Well, assuming AIX supports BSD style ioctls, how about MTIOCGET?
The driver might check the status when you execute this ioctl;
at least some Unix versions do so.
--
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads