eject isn't eject, it's 'offline', sorry. 

mt -f /dev/nst1 rewoffl 

ejects my DAT every time. (rewoffl is 'rewind and offline')

This leads to the handy cron entry: 

amdump MyConfig1 && mt -f /dev/nst1 rewoffl


> -----Original Message-----
> From: Mark Cooke [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 18, 2002 10:13 PM
> To: [EMAIL PROTECTED]
> Subject: automatically ejecting tapes
> 
> 
> Hi, 
> 
> This is kinda off subject, but I was wondering is there a utility to
> eject tapes from their drive (DAT Drive)?
> 
> As It would be good to (thru the use of a script) get be able to
> automatically eject the tape providing the backup has completed.
> 
> I tried sifting through mt's man pages, but couldn't find any 
> reference
> to ejecting tape at all.
> 
> Thanks in advance
> 
> Mark
> 
> -- 
> ---
> To steal ideas from one person is plagiarism;
> to steal from many is research.
> 

Reply via email to