On Wed, Jul 18, 2007 at 11:55:16AM +0600, MeGaBrAiN wrote:
>    Hello..
>    I've search through bug list archive and didn't find any suitable..
>    I have fedora (7) box with tar 1.15.1 on board..
>    command:
>    tar cvf archive.tar ./ --remove-files
>    will perfectly create tar file and remove all archived files..

Is that intentional? It sounds like a race condition to me -- the file
is only archived/removed if it is already present when the directory
listing is made.

Sergey can speak for himself, but I'm guessing that creating an archive
in a directory where --remove-files is acting is "undefined".  Perhaps
a sentence-long documentation of such would be in order.

>    This behaviour was quite shocking for me cause i've lost a big bunch
>    of data..

My condolances :(

Dustin

-- 
        Dustin J. Mitchell
        Storage Software Engineer, Zmanda, Inc.
        http://www.zmanda.com/


Reply via email to