I recently tested tar to see if the behavior of tar clobbering a
pre-existing archive whenever a verifying append or concatenate is
attempted and the same old behavior still exists. Here is a script that
can be ran locally to get the kind of behavior I'm seeing:

====================BEGIN SCRIPT====================
#!/bin/bash


  ## Setup our directory structures, ADir and AnotherDir
mkdir -p Adir/Subdir{1,2}
for directory in `find Adir/ -type d` ; do touch $directory/file{1,2} ; done
mkdir -p AnotherDir/Subdir{3,4}
for directory in `find AnotherDir/ -type d` ; do touch
$directory/file{3,4} ; done

  ## now make a superCoolArchive to stuff ADir in
tar -c -W -f superCoolArchive.tar ADir
  ## wait, I want AnotherDir in the superCoolArchive too, so...
tar -r -W -f superCoolArchive.tar AnotherDir/
  ## now to go see what our superCoolArchive has in it...HAY, WHERE'S THE
  ## STUFF FROM ADir?!
tar -t -f superCoolArchive.tar
====================END SCRIPT======================


Output of 'tar --version':
tar (GNU tar) 1.19
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.



    I'm sorry for not doing this check earlier. I only recently
discovered that this bug was marked as fixed (never got an email from
the Debian bug tracking system). Thanks for your help.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to