Use psync on FAT32 volumes

Dec 20, '05 05:50:00AM

Contributed by: magir

If psync (also available via Fink) is used without any configuration switches, it fails to work properly if backing up to FAT32 volumes -- it always copies all files instead of only the changed ones.

I figured out that using the -m flag fixes this. The flag tells psync to ignore modes and ownerships when comparing files, which seems to be the cause of the problem, as FAT32 volumes do not support modes or specific file ownerships.

According to the psync documentation, the -m flag even speeds up the synching process, so if you can live without synching ownerships, this seems to be the way to go. The -r flag should do similar things by writing a separate file containing the ownership information, but in my tests this didn't fix the problem.

Adding the -p flag prevents psync from resetting the modes of all backed up folders, which doesn't seem to be necessary.

Comments (3)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20051215052139901