HP3000-L Archives

April 1995, 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:
Rick Ehrhart <[log in to unmask]>
Reply To:
Rick Ehrhart <[log in to unmask]>
Date:
Mon, 10 Apr 1995 15:21:16 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
Chris Michael ([log in to unmask]) wrote:
  [ snip ]
 
: Is there any way to test for the presence of a tape (scsi dat) mounted from a
: job stream?  With roadrunner, since I can append multiple backups to the same
: tape, I can do a backup on an unimportant fileset first.  If it hangs, at
: least the whole system isn't locked--but there's got to be a more elegant
: solution.
 
There is a solution, I don't know if it is elegant or not; but here it goes:
 
When a tape is mounted, it shows up in the SHOWDEV command.  Since I don't
have direct access to a 3000 anymore, I don't know the exact format, but
you could probably find out for yourself.  Also a '(W)' will appear if
the tape is write enabled.  This feature was added to 5.0.  With this
information, you could do a SHOWDEV command to a file and then parse the
file.  My CI programming is rusty, so I'll let you figure it out, or
someone else will come along and help out.
 
Rick Ehrhart
[log in to unmask]

ATOM RSS1 RSS2