[5393] in RedHat Linux List

home help back first fref pref prev next nref lref last post

BUG: mt -f /dev/st0 eject fails

daemon@ATHENA.MIT.EDU (cjf@nothinbut.net)
Thu Nov 21 02:09:05 1996

From: cjf@nothinbut.net
Date: Thu, 21 Nov 1996 02:09:09 -0500
To: redhat-list@redhat.com, ray@fred.net
In-Reply-To: <199611192202.RAA01336@picard.comsat.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

In article <199611192202.RAA01336@picard.comsat.net>, you wrote:
>Chris Fearnley writes:
> > This command works fine on all my Debian systems.  But the mt-st from
> > the 4.0 CD (and the older one I had installed both fail in similar manner.
> > 
> > [root@ccs redhat-update]# mt -f /dev/st0 eject
> > mt: unknown command "eject"
> > usage: mt [-v] [-h] [ -f device ] command [ count ]
> > commands: weof, wset, eof, fsf, fsfm, bsf, bsfm, fsr, bsr, fss, bss, rewind, 
> >           offline, rewoffl, retension, eod, seod, seek, tell, status, 
> >           erase, setblk, lock, unlock, load, compression, setdensity, 
> >           drvbuffer, stwrthreshold, stoptions, stsetoptions, stclearoptions, 
> >           defblksize, defdensity, defdrvbuffer, defcompression, densities, 
>
>I assume you trying to make a point here that eject isn't included in
>the mt command, however offline is. Why not just use offline instead ?

Conceptually I don't want to take the tape drive "offline".  I just
want to eject the tape.  On some drives the eject command advances to
the next tape in the magazine.  Moreover the documentation says it's
supported.  So at minimum I've identified a documentation bug (which
IMHO is just as serious).  Anyway your workaround seems to have worked.
Thanks!

> > [root@ccs redhat-update]# rpm -qi mt-st
> > Name        : mt-st                       Distribution: Red Hat Linux Rembrandt
> > Version     : 0.4                               Vendor: Red Hat Software
> > Release     : 2                             Build Date: Fri Jul 26 13:15:09 1996
> > Install date: Tue Nov 19 15:53:01 1996      Build Host: porky.redhat.com
> > Group       : Utilities/System              Source RPM: mt-st-0.4-2.src.rpm
> > Size        : 23425
> > Summary     : Control magnetic tape drive operation (mt)
> > Description :
> > The mt program can be used to perform many operations on tapes,
> > including rewind, eject, skipping files and blocks, etc.

See, even rpm -qi reports that eject is a supported option!

-- 
Christopher J. Fearnley            |    Nothin But Net System Engineering
cjf@nothinbut.net, cjf@netaxs.com  |    UNIX SIG Leader at PACS
http://www.netaxs.com/~cjf         |    (Philadelphia Area Computer Society)
ftp://ftp.netaxs.com/people/cjf    |    Design Science Revolutionary
"Dare to be Naive" -- Bucky Fuller |    Explorer in Universe


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post