I ran into the following problem with sparse files and pax format
with GNU tar:

$ cat /etc/motd
Sun Microsystems Inc.   SunOS 5.8       Generic Patch   October 2001
$ dd if=/etc/motd of=/var/tmp/big bs=1024k seek=8192
0+1 records in
0+1 records out
59 bytes (59 B) copied, 0.00058411 seconds, 101 kB/s
$ ls -l /var/tmp/big
-rw-rw-r--  1 eggert faculty 8589934651 2005-06-21 21:41 /var/tmp/big
$ tar -S -H pax -cf big.tar /var/tmp/big
tar: Removing leading `/' from member names
$ ls -l big.tar
-rw-rw-r--  1 eggert faculty 10240 2005-06-21 21:04 big.tar
$ tar tvf big.tar
-rw-rw-r-- eggert/faculty 8589934651 2005-06-21 20:41:48 var/tmp/big
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

This problem occurs both with tar 1.15.1 and with CVS tar.


_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar

Reply via email to