eject DAT tape via command?

Gary Hayers gary at hayers.org
Fri Nov 26 08:50:37 PST 2004


Matthias F. Brandstetter wrote:

>Hi all,
>
>is it possible to eject a DAT tape via a command from CLI?
>"eject" does not seem to work :(
>
>Greets and TIA, Matthias
>  
>

In my backup script I have

# Wait 5 minutes for rewind
sleep 300

if [ $EJECT -eq 1 ]
then
        mt offline
fi

#

mt offine does it for me :)


More information about the freebsd-questions mailing list