pe...@easthope.ca writes:
David, thanks for the reply.From: David Wright <deb...@lionunicorn.co.uk> Date: Fri, 29 Jul 2022 00:00:29 -0500 > When you copy files that have varied permissions onto the FAT, you may > get warnings about permissions that can't be honoured. (IIRC, copying > ug=r,o= would not complain, whereas u=r,go= would.) Primary store is an SD card. Rsync is used for backup. Therefore this dilema. * In Linux, an ext file system avoids those complications. To my knowledge, all SD cards are preformatted with a FAT. Therefore ext requires reformatting.
FAT or exFAT depending on size, yes.
* Most advice about flash storage is to avoid reformatting. Unfortunately most or all of this advice is written by software people; none, that I recall, from a flash storage manufacturer.
The only reason for not chosing to format the SD card with a Linux file system is the lack of compatibility: Other systems (think Windows, Mac, etc.) will not be able to use the SD card anymore because it will appear „wrongly formatted” to them.
My own experience, is one SD card about a decade old, reformatted to ext2 when new and still working. A second SD purchased recently with factory format unchanged seems very slow in mounting. As if running fsck before every mount. -8~/ Certainly tempted to reformat the new card to ext2. Information always welcome. Knowledge even better.
Formatting it to ext2 should work and not cause any issues such as long as you remain in a “Linux world”. If the data should still be accessible from other systems, consider packing it into archives and storing the archives on the FAT file system. That is something that I used to do and that has worked reliably for me in the past. It does not allow for incremental updates (like rsync would) by default, though.
Modern backup tools use their own archive/data formats and can thus store Linux metadata (permissions, ownerships etc.) on file systems that are incapable of doing this (like FAT, cloud storage etc.). I have written my notes about a few such tools here:
https://masysma.lima-city.de/37/backup_tests_borg_bupstash_kopia.xhtml HTH Linux-Fan öö
pgpwYqGXMmTxt.pgp
Description: PGP signature