Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use psync on FAT32 volumes UNIX
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.
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[5,746 views]  

Use psync on FAT32 volumes | 3 comments | Create New Account
Click here to return to the 'Use psync on FAT32 volumes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use psync on FAT32 volumes
Authored by: sky33940 on Dec 20, '05 01:55:57PM

Which version of psync are you using (and where to get it)? Mine ignore the -m flag. The (terse) man page does not refer to it, either. I am using 10.4.3

-r does not work when backing to a cics (samba?) server over ethernet (Iomega StorCenter). Jean



[ Reply to This | # ]
Use psync on FAT32 volumes
Authored by: pmccann on Dec 21, '05 05:53:18PM

Yep, this is one *weird* hint! Looking at the psync source I can't even see a "-m" flag; is the poster talking about some hacked version of psync? The most commonly used modified version is jacek's, and it too lacks such a flag.



[ Reply to This | # ]
Use psync on FAT32 volumes
Authored by: magir on Dec 22, '05 01:03:42PM

Sorry for the late answer - too bad that the comments still don't have any email notification feature (or did I miss it?).

Anyway, I'm using the version of psync which came with DejaVu. When started it displays "psync 0.69.3". Looking at the sourcecode supplied by jacek (http://www.jacek-dom.net/software/psync/psync) it seems that his version is bundled with DejaVu. Sorry for not checking this fact, I thought that the -m option has already been added by the original author.

0.69.3 by jacek is also the version which is listed on the Versiontracker page: http://www.versiontracker.com/dyn/moreinfo/macosx/20809



[ Reply to This | # ]