Hi!
Answer sent to both list and author.
Trying to kill the keyboard, [EMAIL PROTECTED] produced:
> What filesysteem do I need to mount a QC-80 tape? Can I put a line in
> fstab? What should it be?
You don't mount a tape drive at all[1]. You access it via
it's devices[2]. You probably know that, for example, tar
can write on raw[3] floppies --- it's the same with tapes.
Thus an entry in fstab does not help in any way.
An example (untested :-). Since I assume a floppy tape, I'll
use the floppy tape mt, ftmt, which has some extra
functionality for floppy tapes.
First, tapes are sensitive to stretch, floppy tapes even
more so, so let's retension the tape (wind fast forward
and back).
ftmt retension
Now, let's go to the last archive of the tape (end of media)
ftmt eom
Create an afio archive. Find finds the files to backup,
afio creates the archive (with a selective per-file
compression), buffer optionally keeps the tape streaming.
/dev/ftape links to nqft0 (Non-rewinding Qic Floppy Tape)
find /home -xdev -print0 | afio -o0ZvzA -M 10m -G 9 -T 3k | \
buffer -M 10m > /dev/ftape
Now the head is at the begin of the next archive, so we
need to backspace 2 filemarks to the begin of our archive.
ftmt bsf 2
Now we should compare.
( cd /home; ftape -rZz /dev/ftape )
And rewind the tape. That also updates the index. If
you remove the tape earlier, you loose all information
that you ever made the backup :-(
ftmt rewind
-Wolfgang
PS: You really should subscribe the list for a while and read
it, it'll increase your understanding (and tell you a lot
of things you'll be asking next, for example why your ftape
4.x does not compile with kernel 2.2.x (hint: you need the
'unstable' version, the kernel changed).
[1] Well, there are patches and a tape-FS, IIRC, but if you
use them, you don't do 'normal' stuff and know anyway.
[2] for which you'll need some sort of drivers. In your case
you've probably got a floppy tape drive and thus want ftape.
[3] as in not mounted and no file system on them. Floppy tapes
still need to be (low-level) formatted prior to use (they
resemble a floppy with sectors and tracks for the floppy
controller). They come almost always preformatted, though.
--
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