Rsync always copies files to fat32 file system on USB drive

Rsync always copies files to fat32 file system on USB drive

Post by somebod » Sun, 11 May 2008 23:29:41


I have a USB thumb drive with many .mp3 files on it. I copy files from my
Linux box to the USB drive (This also pertains to Unix too! <g>). The
problem is that rsync always copies and replaces ALL files even though
they haven't been changed. I'm guessing this is because you can't
preserve file permissions on the files on the fat32 USB drive. Is there
any way to handle copying only changed or added files to the USB drive?

-Thanks
 
 
 

Rsync always copies files to fat32 file system on USB drive

Post by Harold Wei » Mon, 12 May 2008 01:14:56


I am doing backups to a USB drive in exactly the way you
describe. It works fine for me because I have reformatted my USB stick to
have an ext2 filesystem, rather than the default FAT crap.

 
 
 

Rsync always copies files to fat32 file system on USB drive

Post by gazell » Mon, 12 May 2008 01:48:14

In article < XXXX@XXXXX.COM >,



Which is to say that you are *not* doing anything remotely similar to
what the OP is doing.

The issue we are discussing here is the problem with using FAT(32) (do
try to stay on topic, mmkay?) and the underlying problem is that the
time granularity on FAT(32) is 2 seconds. So, you can see the problem.
Some tools have options to deal with this (basically say, "the time is
the same if it is within 2 seconds").

Better to reformat the device NTFS than ext(2/3/4/whatever), since NTFS
is more univerally supported. FAT used to be the "lingua franca" of
file systems, but nowadays that position is held by NTFS.
 
 
 

Rsync always copies files to fat32 file system on USB drive

Post by Luuk » Mon, 12 May 2008 02:08:14

somebody schreef:

use option '--size-only' will only copy file that are new (or have
changed size)....

--
Luuk
 
 
 

Rsync always copies files to fat32 file system on USB drive

Post by somebod » Mon, 12 May 2008 03:06:33


Yes, I formatted my 250GB USB drive as an ext2 file system. You can
reserve permissions, ownerships, etc. It's great. However, this USB
drive needs to remain a fat32.
 
 
 

Rsync always copies files to fat32 file system on USB drive

Post by markhoble » Mon, 12 May 2008 03:08:05


You could create a .touch file on the USB drive, then use find -newer to
locate and copy files that have been changed or added since the .touch
file was created.

Regards,

Mark.

--
Mark Hobley,
393 Quinton Road West,
Quinton, BIRMINGHAM.
B32 1QE.
 
 
 

Rsync always copies files to fat32 file system on USB drive

Post by somebod » Mon, 12 May 2008 03:21:05


Thanks, I think that will do the trick.