From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 16:50:37 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05DCC16A4CE for ; Fri, 26 Nov 2004 16:50:37 +0000 (GMT) Received: from wenn.com (cube1.wenn.com [195.157.139.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4BA143D2F for ; Fri, 26 Nov 2004 16:50:35 +0000 (GMT) (envelope-from gary@hayers.org) Received: from [10.0.0.2] (fw.wenn.com [195.157.139.125]) by smtp.wenn.com (8.10.2/8.10.2) with ESMTP id iAQGoSA06610; Fri, 26 Nov 2004 16:50:33 GMT Message-ID: <41A75EC8.80802@hayers.org> Date: Fri, 26 Nov 2004 16:50:16 +0000 From: Gary Hayers User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Matthias F. Brandstetter" , freebsd-questions@freebsd.org References: <200411261742.06785.haimat@lame.at> In-Reply-To: <200411261742.06785.haimat@lame.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: eject DAT tape via command? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2004 16:50:37 -0000 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 :)