Subject: Re: tape driver behavior
To: Charles Shannon Hendrix <shannon@widomaker.com>
From: Matthew Jacob <mjacob@feral.com>
List: current-users
Date: 09/01/2001 23:11:13
There are two problems here- one is end of media handling WRT dump - this
*should* work- can you give more details? - and the other is logical file
location - this can be added, but you have to understand that it can be lost
if you do things like hardware or logical block positioning.


-matt


On Sat, 1 Sep 2001, Charles Shannon Hendrix wrote:

> 
> 
> I've a couple of problems with NetBSD 1.5 and tape drives.
> 
> "mt status" report the file number and drive status.
> 
> The driver doesn't return end-of-media to applications.
> 
> I use the tape driver all the time, and it works great. But I really
> miss being about to use mt to determine which file number I'm on or get
> other information.
> 
> All I ever get is this:
> 
> [203] % mt status
> SCSI tape drive, residual=0
> ds=3<Mounted>
> er=0
> blocksize: 0 (0, 0, 0, 0)
> density: 36 (0, 0, 0, 0)
> current file number: 0
> current block number: 0
> 
> When running dump, it simply hangs on end-of-media, instead of 
> asking for the next tape.
> 
> -- 
> "Star Wars Moral Number 17: Teddy bears are dangerous in herds."
>