On Mon, 2007-12-10 at 22:20 +0100, Olivier Thauvin wrote:
> I don't how to really fix into rsync, 
> except checking uname to get the running kernel's version.

It would seem much more direct to simply attempt the lutimes and ignore
an error of ENOSYS (Function not implemented).  I don't think it's
important for performance to make rsync not attempt lutimes again after
an ENOSYS because IIRC, glibc's lutimes wrapper already does this.

The current development rsync ignores all errors, but errors other than
ENOSYS might be significant.  For example, if the machine supports
lutimes but the symlink belongs to another user, lutimes could fail with
EPERM, and I would want to know about that just like for a regular file.

Matt

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to