On Thu, Aug 31, 2000 at 10:09:53AM +0200, Peter Mann wrote:
> Heyaaa!!!
> 
> is possible to run rsync daemon with some 'atime-preserve' option? i want use
> rsync for automatic update mailboxes of users, but if rsync access the file, then
> it set new access time ...
> 
> or use it with tar --atime-preserve? any ideas?

Unix programs can never set the times of an inode back to exactly how
they were before it was written.  They can reset the access time using
the utime(2) system call, but that will update the inode change time
(ctime).  Sometimes this is more confusing than useful, so using tar
--atime-preserve.  This is a security feature, though sometimes a
frustrating one.

There's no code in rsync to do this at the moment as far as I can see.
Perhaps it should be there?

One option, if your operating system supports it, is to remount the
filesystem using the `noatime' option while making backups.  (This
will speed up the backup, too, because the inodes don't need to be
written back.)  This may not work very well if the filesystem is live
while you're using it.

-- 
Martin Pool                        http://linuxcare.com.au/rproxy/
rproxy accelerates HTTP by dynamic caching and differential update

PGP signature

Reply via email to