LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 06-06-2025, 04:00 PM   #1
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 479

Rep: Reputation: 50
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.
 
Old 06-06-2025, 08:23 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,977
Blog Entries: 28

Rep: Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367
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.
Old 06-06-2025, 10:14 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,413

Rep: Reputation: 4197Reputation: 4197Reputation: 4197Reputation: 4197Reputation: 4197Reputation: 4197Reputation: 4197Reputation: 4197Reputation: 4197Reputation: 4197Reputation: 4197
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.
Old 06-06-2025, 10:32 PM   #4
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,634

Rep: Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632
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.
Old 06-07-2025, 02:10 AM   #5
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 479

Original Poster
Rep: Reputation: 50
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!)
 
Old Today, 11:38 AM   #6
exerceo
Member
 
Registered: Oct 2022
Posts: 122

Rep: Reputation: 20
exFAT characters

Quote:
Originally Posted by enigma9o7 View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting ext4 sdcard to work like a FAT32 sdcard Brusca.lyfe Linux - Newbie 8 03-26-2021 10:20 AM
current sdcard installs try to mount nonexistatnt sdcard justwantin Slackware - ARM 4 02-09-2021 02:15 AM
How to format an sdcard so it can be operational again? It's not mounting. Xenphor Linux - Hardware 6 07-23-2014 09:17 PM
Linux Mint 7 does not Recognize SDCard Drive mejohnsn Linux Mint 8 10-31-2009 07:33 AM
Thinkpad T60 SD slot bootable? Plan to install Slax linux onto a 4 or 8 GB SDcard jang Linux - Laptop and Netbook 3 12-17-2006 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration