On 2024-10-06 17:23, Dave Howorth wrote:
On Sun, 6 Oct 2024 14:58:54 +0200 "Carlos E. R." <robin.listas@telefonica.net> wrote:
Yes, exFAT is the best practical filesystem to use on sticks and memory cards, but being a windows filesystem it does not support all Linux filesystem features. For that, the best alternative we have is ext4 without a journal.
Why not just use ext2?
Apparently there are some advantages with ext4, like extents. From my old notes: http://www.sysresccd.org/Sysresccd-manual-en_How_to_install_SystemRescueCd_o... If you are using SystemRescueCD-1.2 or more recent, it's recommended that you use an ext4 filesystem with the journal turned off (this is possible with Linux >= 2.6.29). USB sticks are Flash filesystems and this type of memory only supports a limited number of writes. Journaling filesystems will make many writes at the same location (where the journal is stored). Therefore, to extend the lifespan of the memory we should limit the number of writes. Here is how to use ext4 with the journaling turned off: mke2fs -t ext4 -O ^has_journal /dev/sdf1 Note 2016-03-12: tune2fs -O ^has_journal <ext3/4-device>. You could also use ext2 but it does not support extents, and then it requires more accesses to read/write large files to the disk. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)