"John R. Jackson" wrote:
> 
> >I upgraded mt from 0.5b to 0.6 but the "insert tape into slot  and press
> >return"-loop problem remains.
> 
> Now you know why we're dumping dependency on mt in the next Amanda
> release.  Every vendor in the world generates a different output format
> and parsing them is next to impossible.
> 
> What happens if you unload the tape and run "mt -f /dev/nht0 status"?
> I need to see that output and compare it to the status output when you
> do have a tape loaded, then come up with a change to the regular
> expression to tell them apart.
> 
> Grumble, mutter, ...
> 
> >george herson
> 
> John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Ok, thanks.  

# mt -f /dev/nht0 status WITHOUT the tape:
/dev/nht0: Input/output error

# mt -f /dev/nht0 status WITH the tape loaded:
IDE-Tape (type code 0) ?
File number=0, block number=0.
mt_resid: 0, mt_erreg: 0x0
mt_dsreg: 0x200, mt_gstat: 0x0
General status bits on (0):


This tape drive is a Seagate STT320000A ATAPI Minicartridge Drive (that
holds 9.55GB natively, on Travan-5 NS tapes).

george herson

Reply via email to