On 2002-07-13, Sam Varshavchik wrote:
> On Fri, Jul 12, 2002 at 02:25:29PM +0200, Georg Lutz wrote:
> > 
> > 
> > Could you explain me, what gets broken, if I change ctime to mtime in
> > this function?
> 
> The purpose of the Trash folder is to retain mail for seven days (by default)
> before deleting it.  If you change ctime to mtime, and delete a month-old
> message, the message will be deleted immediately, instead of seven days later.
> 

Ah, i thought mtime of files in .Trash is the time when the message get
moved in .Trash.

> > When atime is reset to the value before the file was backed up, ctime
> > gets changed.
> 
> Fix your backup software.  It should not be messing around with files.  I
> back-up stuff daily, and atime stays put.
> 

afbackup operates on regular filesystem entries. It does not dump the
entire filesystem, so it does not relay on os-specific restore-tools and
files can be preprocessed (compressed etc.) individually.

For some unobvious reason the author thinks that atime is a worth
information(more than ctime).

Since things in .Trash are about to be deleted anyway, i simply exclude
such directories from backup. 

> > In cmlmcleanup.C, function cmdhourly, the atime of files in
> > modqueue-directory is checked for remoderation. So even a backup without
> > resetting the atime would not be a good solution.
> 
> I may have to change that, but that doesn't affect ctime/mtime.
> 

-- 
Georg


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to