bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Skipped files with --listed-incremental after rename


From: Paul Eggert
Subject: Re: [Bug-tar] Skipped files with --listed-incremental after rename
Date: 13 Oct 2003 15:09:30 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

"Alex Adriaanse" <address@hidden> writes:

> Rename indeed modifies the ctime of the parent directory.  How would one
> modify tar to use the parent directories' ctime to determine which child
> files to dump?  The only way I can think of is to have tar backup all the
> files in a directory if the directory's ctime is newer than the directory's
> ctime in the snapshot file (which is terribly inefficient).

I was thinking that tar should modify the snapshot file to record the
relationship between directory entries and their inode numbers.  It
could then see whether that relationship had changed, and if so, back
up the changed entries, even if their ctime and mtime stamps haven't
changed.  (That's what I was thinking that 'star' did, but apparently
I was mistaken.)




reply via email to

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