rdiff-backup-users
[Top][All Lists]
Advanced

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

Re: [rdiff-backup-users] Safe to compare by ctime?


From: Dave Steinberg
Subject: Re: [rdiff-backup-users] Safe to compare by ctime?
Date: Sat, 28 Jun 2003 17:51:40 -0400
User-agent: Microsoft-Entourage/10.0.0.1309

> 
> Hi all, I'm wondering how safe it would be to determine whether
> anything about a file has changed simply by looking at its ctime (plus
> probably some sanity checks, like the file type).
> 
> Earlier versions did not have this choice, because ctime's usually
> cannot be set, so there was no way to record the ctime of the source
> files on the destination side.  But now rdiff-backup by default stores
> the metadata on the destination side, and can record ctime.  I notice
> too that, at least under linux, updating a file's extended attributes
> or acls also changes its ctime.
> 
> So is ctime a good way to tell if something about a file has changed,
> or are there some reasons not to use it on some systems?

Ben, on my OpenBSD machines, the behavior is consistent with what you saw on
Linux.  Not having a reference handy, I wonder if that¹s a POSIX
requirement?

-- 
Dave Steinberg
http://www.geekisp.com





reply via email to

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