PATCH: option to ignore case in filenames

jw schultz jw at pegasys.ws
Wed Oct 1 12:10:06 EST 2003


On Tue, Sep 30, 2003 at 06:36:54PM -0400, John R. LoVerso wrote:
> I have two DOS filesystems mounted on Linux as "vfat" which I want to rsync.
> (They are on flash cards, so that they are also small).  rsync gets tricked
> because the filesystem treats names differing in only case as the same.
> Thus, when it tries to sync "FOO123" with "foO123", it copies over the
> "new" file, and then renames it over the old one (which it couldn't delete
> before the transfer, because the names didn't match!)
> 
> The effect is that the files will _always_ be rsync'd every time I run it.
> 
> I'm using the included patch for 2.5.6 to add an "--ignorecase" switch.
> It is passed from client to server.  It's only appropriate when used
> on a FAT filesystem.

This is a mount option issue.
Don't mount with posix enabled.

I wouldn't recommend using rsync on flash cards.  I think
rsync's methods will shorten the lifespan of a flash memory
even those with wear leveling.

-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt



More information about the rsync mailing list