[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] Tar --verify causes next tar command to overwrite filemark
From: |
Andrew Klaassen |
Subject: |
[Bug-tar] Tar --verify causes next tar command to overwrite filemark |
Date: |
Mon, 10 Dec 2007 14:30:22 -0800 (PST) |
'tar cWf' leaves the tape in a different position than
'tar cf' does. Compare the expected behaviour to the
unexpected behaviour:
Expected behaviour:
# mt -t /dev/nst0 rewind
# tar cvf /dev/nst0 foo
foo
# tar cvf /dev/nst0 bar
bar
# tar cvf /dev/nst0 baz
baz
# mt -t /dev/nst0 asf 0; tar tf /dev/nst0
foo
# mt -t /dev/nst0 asf 1; tar tf /dev/nst0
bar
# mt -t /dev/nst0 asf 2; tar tf /dev/nst0
baz
Unexpected behaviour:
# mt -t /dev/nst0 rewind
# tar cvWf /dev/nst0 foo
foo
Verify foo
# tar cvWf /dev/nst0 bar
bar
Verify foo
# tar cvWf /dev/nst0 baz
baz
Verify foo
# mt -t /dev/nst0 asf 0; tar tf /dev/nst0
foo
# mt -t /dev/nst0 asf 1; tar tf /dev/nst0
# mt -t /dev/nst0 asf 2; tar tf /dev/nst0
/dev/nst0: Input/output error
tar: /dev/nst0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
Is this behaviour by design, or is it a bug?
If it's a bug, is there a fix?
Thanks.
Andrew Klaassen
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
- [Bug-tar] Tar --verify causes next tar command to overwrite filemark,
Andrew Klaassen <=