eject DAT tape via command?

2004-11-26 Thread Matthias F. Brandstetter
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

-- 
Oh, honey, I didn't get drunk, I just went to a strange fantasy world.

  -- Homer Simpson
 El Viaje Misterioso De Nuestro Jomer
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: eject DAT tape via command?

2004-11-26 Thread Martin Hepworth
Matthias
mt -f /dev/sa0 rewoff
replace /dev/sa0 with required device...
--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300
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
**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.
**
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: eject DAT tape via command?

2004-11-26 Thread lists
Try:
mt -f /dev/tape rewoffl
Regards,
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
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: eject DAT tape via command?

2004-11-26 Thread Gary Hayers
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 :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: eject DAT tape via command?

2004-11-26 Thread Matthias F. Brandstetter
-- quoting Matthias F. Brandstetter --
 is it possible to eject a DAT tape via a command from CLI?
 eject does not seem to work :(

thanks guys for all this *quick* answers!
greets, Matthias

-- 
Around the house, I never lift a finger
As a husband and father I'm sub-par
I'd rather drink a beer
than win Father of the Year
I'm happy with things the way they are

  -- Homer Simpson
 Simpsoncalifragilisticexpiala(annoyed grunt)ocious
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]