Hi!

Trying to kill the keyboard, [EMAIL PROTECTED] produced:
> I am using an AIWA TD-8001 drive (well, the "naked" OEM equivalent;
> can't recall the model number) with a 2.0.36 Linux kernel.  It uses TR4
> tapes.

> It seems to be working perfectly, except when I put, say 3 files on the
> tape, then try to overwrite the second one (giving two files on the
> tape) using an 'mt -f /dev/nst0 fsf 1' before I write the file to tape,
> then writing my file with afio.  I would have *thought* that this would
> work: it would write the file just after the first file mark, and append
> two file marks at the end.

Well, we have the following situation:

BOT                                            EOM
 |------archive 1--|-archive2-|--- archive 3 ---|
  ^
 
Then you do a mt -f /dev/nst0 fsf 1
 |------archive 1--|-archive2-|--- archive 3 ---|
                    ^

Assume you can now replace that archive 2 with archive 4
(which may be longer):
 |------archive 1--|--- archive 4 ---|hive 3 ---|
                                      ^
Oops!
There goes your archive 3!

Thus this is not allowed.

You could delete all archives (i.e. archive 3 and archive 2)
and then append to EOM, then you'd have
BOT                                 EOM
 |------archive 1--|--- archive 4 ---|
                                      ^

This would obviously be very bad, especially if done
accidentally.

I don't know how that can be archived with mt and non-floppy
tapes.  You may need a specialized program to edit the header
of the tape.


-Wolfgang

-- 
             PGP 2 welcome: Mail me, subject "send PGP-key". 
      Unsolicited Bulk E-Mails: *You* pay for ads you never wanted.
   How to dominate the Internet/WWW/etc?  Destroy the protocols!  See:
                 http://www.opensource.org/halloween.html

Reply via email to