bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] little problem with tar 1.15.1


From: Dustin J. Mitchell
Subject: Re: [Bug-tar] little problem with tar 1.15.1
Date: Wed, 18 Jul 2007 12:11:44 -0500
User-agent: mutt-ng/devel-r804 (Linux)

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

[Prev in Thread] Current Thread [Next in Thread]