From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,82637e570e3e104c,start X-Google-Attributes: gidfee84,public From: dunnett@mala.bc.ca (Malcolm Dunnett) Subject: How to tell if tape in drive? Date: 1996/06/25 Message-ID: <1996Jun25.103140@malad1.mala.bc.ca>#1/1 X-Deja-AN: 162109179 organization: Malaspina University-College newsgroups: comp.unix.osf.osf1 I'm trying to determine from within a shell script, whether or not there is a tape in the tape drive, the idea being that if there is the script will write some files to the tape, and if not it will just exit. For anyone who speaks VMS, I'm looking for the equivalent of $MOUNT/FOR/NOASSIST and then checking $STATUS. Thanks in advance. -- ============================================================================= Malcolm Dunnett Malaspina University-College Email: dunnett@mala.bc.ca Computer Services Nanaimo, B.C. CANADA V9R 5S5 Tel: (604)755-8738