Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-06-2025, 04:00 PM
|
#1
|
|
Member
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 480
Rep:
|
best linux format for sdcard
[ Log in to get rid of this advertisement]
I have a large number of CD's stored on a Nas. I have copied those files onto two different SDcards one formatted as ext2 and the other is left as exfat. I have noticed that some of the files do not get copied to the exfat card because of naming issues. Is ext2 the best way to reformat cards used for this purpose? It has been suggested that ext4 (with journaling) is not recommended. I tried formatting as ext4 without journaling but seemingly could not get the syntax correct. This is what I tried
mke2fs -t ext4 -O ^has_journal
The sdcard is mounted as /dev/sdc
Thank you.
|
|
|
|
06-06-2025, 08:23 PM
|
#2
|
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,979
|
I have no personal experience to share, but you may find this thread from Stack Exchange helpful.
A web search for "sdcard linux file system" will turn up additional articles on the topic.
|
|
|
1 members found this post helpful.
|
06-06-2025, 10:14 PM
|
#3
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,413
|
A bunch of CDs ? - use ext4 (with journal). Maybe turn atime off, but how often are they going to be updated ?.
I always considered sdcards as fragile, so wouldn't use them for archive.
I thought I'd used no journal in the early days of ext4, but this is from the mke2fs manpage - wonder if it also applies to ext4 ...
Quote:
|
"mke2fs -t ext3 -O ^has_journal /dev/hdXX" will create a file system that does not have a journal and hence will not be supported by the ext3 file system code in the Linux kernel
|
Note the reference to hdXX - been a while since it was revised.
|
|
|
1 members found this post helpful.
|
06-06-2025, 10:32 PM
|
#4
|
|
Senior Member
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,636
|
That's disappointing to hear. I thought exfat could handle unicode and weird characters....
I would have suggested exfat until I knew that. The issue I have with using ext4 is that then files have username permissions; with exfat it works like fat32 where you can plug it into any device and files accessible....
I'm curious what you end up choosing. I guess F2FS is an option, I know linux and android can read it, dunno about windows or macos or iphone or chromeos or portable video player etc etc.
|
|
|
1 members found this post helpful.
|
06-07-2025, 02:10 AM
|
#5
|
|
Member
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 480
Original Poster
Rep:
|
I am inclined to think the problem with exfat is not the characters per se but actually the path (or possibly path length) of some of the files. I am going to mark this question as closed. (As an aside, my NAS is backed up every night to tape. Yes I am an ancient, retired programmer!)
|
|
|
|
Yesterday, 11:38 AM
|
#6
|
|
Member
Registered: Oct 2022
Posts: 122
Rep:
|
exFAT characters
Quote:
Originally Posted by enigma9o7
I thought exfat could handle unicode and weird characters....
|
It mostly can, there are just a few characters unsupported by exFAT, the same that Windows can't work with (: | ? " < > * \). But exFAT supports all sorts of emojis, for example.
|
|
|
|
Yesterday, 02:08 PM
|
#7
|
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,371
|
Steam Decks use ext4 for their sdcard format, so it's obviously fine.
|
|
|
|
Yesterday, 03:04 PM
|
#8
|
|
Member
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 480
Original Poster
Rep:
|
Thank you all for responding. I will admit I've been very successful using an ext4 formatted sdcard without any problems. I had seen in another forum that over time, the journal of ext4 would be problematic. With everyone's cogent suggestions, I'll stick with ext4.
|
|
|
|
Yesterday, 03:10 PM
|
#9
|
|
LQ Guru
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 6,246
|
SD cards are fragile compared to rotary rust disks, tape, or any RECENT SSD media. I would expect them to fail from age and normal usage LONG before journals made any detectable difference.
EXT3 or EXT4 would be my choice. Never exfat unless using them to share data to one of those Microsofty things.
|
|
|
|
Yesterday, 04:07 PM
|
#10
|
|
Member
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 669
|
Quote:
|
... Never exfat unless using them to share data to one of those Microsofty things.
|
My thoughts as well.
It'd use ext4. Will be fine. From your description you'll be using these as write once, then read only media anyway.
That said, personally, I'd use portable SSD or HDD drives instead, but that is just me.
|
|
|
|
All times are GMT -5. The time now is 01:59 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|