On 10-06-2024 08:01PM, Carlos E. R. wrote:
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). How do you have a choice of which filesystem to use? Using a utility such as 'suse image writer' copies the SystemRescueCD.iso to usb. Isn't
the .iso's designated filesystem type tied to .iso design itself? How does a user get to choose which filesystem the .iso contains (if user didn't create it)? I understand that above is not a topic of this post but a brief answer would help alot for putting more together. 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
In case of luks container then, open container and pass mke2fs -t ext4 -O ^has_journal -L pincho /dev/mapper/cr_name That is what I was not understanding (/dev/mapper/cr_name). Above is correct right?
Note 2016-03-12: tune2fs -O ^has_journal <ext3/4-device>.
That will pull the journal out of existing 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.