I'm using GNU tar, and I would *really* like to have the -M and -z
options combined. Is there a way to do it?
Louisiana Tech University BSEE/Sr * All rights reserved. No warranty, etc
: I'm using GNU tar, and I would *really* like to have the -M and -z
: options combined. Is there a way to do it?
I could use (1.2M floppy):
% tar -cvf /dev/fd0a -MzL 1200
to tar my files into multi-volume floppies, but when I do
% tar -xvpf /dev/fd0a -MzL 1200
some times my file got corrupt at the "volume boundary", and tar says
"Can't extract 'filename' -- file is continued from another volume"
Any help ?
I am trying to backup some of my files using floppy disks. I use the
"tar cvfM /dev/fd0 foo"
for archiving one of my files and this uses two floppies, #1 and #2.
For extracting my file I use the command:
"tar xvfM /dev/fd0"
which after extracting the first part of the archived file on disk #1
for disk #2. But when I insert disk #2 I receive the error message:
"tar: Cannot extract `foo' -- file is continued from another volume".
This error continues until, in another window, I mount /dev/fd0 on a
directory and unmount it. Here the first time I mount the /dev/fd0 I
"mount: wrong fs type, bad option, bad superblock on /dev/fd0,
or too many mounted file systems",
but in the second attempt the directory is mounted and after
extracts the second part of the file `foo' on disk #2.
Another problem that may be related to this is that if my floppy is
protected and I try to mount it read-write, I receive an error message
after closing the write-protect hole of the floppy I still cannot mount
read-write file system on /dev/fd0 unless I restart the computer.
Any help is gratefully appreciated.
Please send a copy of your reply to my email box, if possible.
Best wishes - Hossein