[SOLVED] Best format option for small SD card

Message
Author
User avatar
DukeComposed
Posts: 1396
Joined: Thu Mar 16, 2023 1:57 pm

Re: Best format option for small SD card

#11 Post by DukeComposed »

fan_of_LTS wrote: Mon Mar 31, 2025 9:01 am It's been quite awhile since I used FAT. I recently browsed some old backups and found files with the old 8.3 naming with tildas.
And avoiding FAT32 in this day and age isn't a bad thing, but it has its uses from time to time. FAT32 was intended to be backwards-compatible with FAT16, so that older versions of DOS and Windows could still make use of a FAT32 partition. The long file name (LFN) support was added as a chain of extra records outside of the old FAT file entry data type, so if your system knew to look for the LFN records it could stitch them together and read the full file name. If your system didn't know to check for LFN records it could still read the file allocation table and get the 8.3 "MYFILE~1.DOC" short file name.

User avatar
figueroa
Posts: 1100
Joined: Thu Dec 20, 2018 11:20 pm

Re: Best format option for small SD card

#12 Post by figueroa »

I use ext4 for flash drives that I don't keep mounted. The format meets my needs and is very stable and reliable. ext4 has some downsides that result in extra writes that may not be healthy for flash drives that stay in a computer and mounted. Also, by default, when formatting a drive with ext4 it doesn't finish the process, expecting the drive to remain available, so the process is finished in the background in your PC's 'spare time.' You can prevent that by using additional switches in the commandline, for example:

Code: Select all

mkfs.ext4 -v -L SP256 -U "df545a21-c381-4d4d-a6bb-abc775b91xyz" -E lazy_itable_init=0,lazy_journal_init=0 /dev/sdg1
The following switches are the ones to prevent those initializations in-its-spare-time writes:

Code: Select all

-E lazy_itable_init=0,lazy_journal_init=0
On the other hand, my wife's laptop keeps an ext4 formated, mounted flash drive 24/7 for many years on which to store overnight backups without any incident or errors in the logs. As usual, your mileage may vary.

Reference: https://www.hecticgeek.com/ext4-externa ... -idle-fix/
Andy Figueroa
Using Unix from 1984; GNU/Linux from 1993

relztrah
Posts: 14
Joined: Wed Feb 19, 2020 9:58 pm

Re: Best format option for small SD card

#13 Post by relztrah »

The Format USB app does not recognize my SD card in /media/Dan/MICRO SD (/dev/mmcblk1p1). So I am going to (sigh) have to use the Terminal. Oh, well. I should probably become comfortable with Terminal commands sooner or later.

What is the command to format it as FAT32?

User avatar
j2mcgreg
Global Moderator
Posts: 6813
Joined: Tue Oct 23, 2007 12:04 pm

Re: Best format option for small SD card

#14 Post by j2mcgreg »

relztrah wrote: Thu Apr 10, 2025 2:18 am The Format USB app does not recognize my SD card in /media/Dan/MICRO SD (/dev/mmcblk1p1). So I am going to (sigh) have to use the Terminal. Oh, well. I should probably become comfortable with Terminal commands sooner or later.

What is the command to format it as FAT32?
Start your own topic and provide you QSI at the same time.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
rokytnji.1
Global Moderator
Posts: 828
Joined: Sun Apr 13, 2014 9:06 pm

Re: Best format option for small SD card

#15 Post by rokytnji.1 »

On my chrome book install . My 64 gig class 10 sd card is ext4 formatted since I use it as a /home partition during install..

Like others here. I use format usb app on usb drives between computers, easy peasy.

Post Reply

Return to “Hardware /Configuration”