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: Alex Adriaanse
Subject: RE: [Bug-tar] Skipped files with --listed-incremental after rename
Date: Mon, 13 Oct 2003 18:22:57 -0500

Paul,

That'd work.  How much work would it be to produce a patch against 1.13.25
that adds snapshots of inodes of individual files?  Would you be willing to
produce something like that, and if so, how long do you think it'd take you?

Thanks a lot,

Alex

-----Original Message-----
From: Paul Eggert [mailto:address@hidden Behalf Of Paul
Eggert
Sent: Monday, October 13, 2003 5:10 PM
To: Alex Adriaanse
Cc: address@hidden
Subject: Re: [Bug-tar] Skipped files with --listed-incremental after
rename


"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]