Claus-Justus Heine <[EMAIL PROTECTED]> writes:
> Hey, you are right, I have the same damn large use count now.
> And I didn't need to run ftformat. Just to sit and wait.
>
> How can this be ...
>
> I'll let you know when I have a solution.
The problem was, that zft_open() in zftape-ctl.c was calling
zft_reset_position() before calling zft_set_flags(). This causes
problems when changing between "raw" mode (i.e. for formatting and for
vtblc) and normal mode. The difference is that "raw" mode doesn't know
about the volume table segment, therefor BOT is at segment 2 in raw
mode, but at segment 3 in normal mode.
Therefor the driver thought it had been locked in memory by a previous
run, but in fact it was simply this segment address mismatch.
There will be a snapshot tonight which corrects the problem. It can be
downloaded from
http://www.math1.rwth-aachen.de/~heine/ftape/archives/ftape-4.x/unstable
To get an immediate solution, use the "cvsweb" interface at
http://iris3.math1.rwth-aachen.de:8000/cvsweb/ftape/ftape-driver
and click through to retrieve the files ftape/zftape/zftape-ctl.c and
ftape/zftape/zftape-init.c.
zftape-init.c isn't really needed.
Cheers
Claus
--
Claus-Justus Heine
[EMAIL PROTECTED]
http://www.math1.rwth-aachen.de/~heine/
Ftape - the Linux Floppy Tape Project
Home Page : http://www.math1.rwth-aachen.de/~heine/ftape/
CVS Repos. : http://iris3.math1.rwth-aachen.de:8000/cvsweb/
Bug Reports : http://iris3.math1.rwth-aachen.de:8080/gnats/
[EMAIL PROTECTED]
Mailing-list: [EMAIL PROTECTED]