Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 2004 16:50:16 +0000
From:      Gary Hayers <gary@hayers.org>
To:        "Matthias F. Brandstetter" <haimat@lame.at>, freebsd-questions@freebsd.org
Subject:   Re: eject DAT tape via command?
Message-ID:  <41A75EC8.80802@hayers.org>
In-Reply-To: <200411261742.06785.haimat@lame.at>
References:  <200411261742.06785.haimat@lame.at>

next in thread | previous in thread | raw e-mail | index | archive | help
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 :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41A75EC8.80802>