Joined: April 2005
||Posted: May 05 2006,13:57
I think the problem lies in the fact a tar file is an "Tape archive" file. As far as I know a tar file doesn't have its "meta data" at the beginning of the tar file, but at the beginning of every file in the tar file.
To list the content of a tar file requires, reading the whole file.
This is probably also needed for the "u" argument.
I do not know exactly what tar does, but I would expect something like:
has a file changed -> Yes -> append the new version, but do not delete the old.
The old version is still in the tarfile, but when extracting it will automatically be overwritten by the new version at the end of the tar file.
Try "tar tvf /<pathto>/<tarfile>" to view the contents of the file.
Look for the entries, which are the same.
If I'm correct, this process can take long because the whole file is read.