Discussion:
rsync -aAXv to a FAT formatted directory?
John Conover via rsync
2017-05-16 20:30:53 UTC
Permalink
Does rsync -aAXv /dir1 /dir2, where dir2 is a mounted FAT formatted SD
card, and then:

rsync -aAXv /dir2 /dir1, to restore the files in dir1 from the FAT
formatted SD card, restore the ACL and owner/permissions of the files
and directories in dir1?

Thanks,

John
--
John Conover, ***@rahul.net, http://www.johncon.com/
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Kevin Korb via rsync
2017-05-16 20:53:24 UTC
Permalink
A FAT filesystem can't handle -X or -goplD from -a. When you are stuck
on FAT you are pretty much limited to -rt instead of -a.

Also, it doesn't handle timestamps very well. FAT has a 2 second time
resolution and it has no concept of a locale so the timestamps all
change whenever your TZ changes your clock (assuming it does).

Unless you have FAT on both ends you probably don't want FAT at all.
Post by John Conover via rsync
Does rsync -aAXv /dir1 /dir2, where dir2 is a mounted FAT formatted SD
rsync -aAXv /dir2 /dir1, to restore the files in dir1 from the FAT
formatted SD card, restore the ACL and owner/permissions of the files
and directories in dir1?
Thanks,
John
--
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
Kevin Korb Phone: (407) 252-6853
Systems Administrator Internet:
FutureQuest, Inc. ***@FutureQuest.net (work)
Orlando, Florida ***@sanitarium.net (personal)
Web page: http://www.sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
Loading...