On Thu, Mar 29, 2001 at 04:53:02PM -0800, Darrell May <[EMAIL PROTECTED]>
wrote:
> My client wants the tape ejected after flexbackup completes.
> I checked 'man mt' but no 'eject' option is stated. This
> is mentioned however:
>
> offline, rewoffl
> Rewind the tape and, if applicable, unload the tape.
>
> I don't have a dat drive to test at the moment. Would
> someone with a dat drive mind telling me if either of
> these commands ejects the tape:
>
> mt -f /dev/nst0 offline
>
> mt -f /dev/nst0 rewoffl
Yes. Assuming your tape drive can (DAT drives can). Some tape drives (e.g.
DLT and reel-to-reel) don't eject the tape - that has to be done manually.
That's why it's "offline" rather than "eject".
Gordon
--
Gordon Rowell [EMAIL PROTECTED]
http://www.e-smith.org (development) http://www.e-smith.com (corporate)
Phone: +61 (0418) 467 366 Fax: +1 (613) 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada