HP3000-L Archives

October 1997, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tony Knowles <[log in to unmask]>
Reply To:
Tony Knowles <[log in to unmask]>
Date:
Mon, 13 Oct 1997 15:52:03 +1300
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
I have just been trying to programatically determine whether a DAT drive
has a tape loaded and is online. I thought I would try the online option of
devctrl, as in

        :devctrl.mpexl.telesup 7 nochange nochange online

I figured that this would do nothing if the drive was online and would give
an error if it wasn't. The first part is true, the second part isn't.
Devtool seems to hang if there is no tape loaded. Break and abort or
abortjob fixes it but that wasn't quite what I had in mind.

Any other ideas for checking the online or not state of a tape drive.


Tony Knowles     [log in to unmask]
                 [log in to unmask]

ATOM RSS1 RSS2