Article View: bit.listserv.aix
Article #2Re: QIC tape programming issue
From: Dave Olson
Date: Wed, 08 Apr 1992 06:06
Date: Wed, 08 Apr 1992 06:06
20 lines
1473 bytes
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
Technical Details
Message-ID:
<j9afees@zuni.esd.sgi.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!olivea!sgigate!odin!shinobu!fido!zola!zuni!anchor!olsonReferences:
<mwarren.702652956@rws1>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!sgigate!odin!shinobu!fido!zola!zuni!anchor!olson From: olson@anchor.esd.sgi.com (Dave Olson) Newsgroups: bit.listserv.aix,comp.unix.aix,bull.sys.aix Subject: Re: QIC tape programming issue Message-ID: <j9afees@zuni.esd.sgi.com> Date: 8 Apr 92 06:06:19 GMT References: <mwarren.702652956@rws1> Sender: news@zuni.esd.sgi.com (Net News) Organization: Silicon Graphics, Inc. Mountain View, CA Lines: 20