Ask / Submit
6

Does ext4-formatted microsd card work out-of-the box already?

asked 2014-04-06 11:35:53 +0200

kylihars gravatar image

Hi,

I'd like to reformat my 64gb microsd card from fat32 to ext4. This is due to fat32 file naming restrictions giving me problems. When I copy files from my music library to the sdcard, some of the files have characters which fat32 does not allow and I'd have to first find all of them and then change these manually.

I'd like to know does Jolla already fully support and automatically mount sdcards formatted to ext4 or would I still need to create shell scripts such as on this topic? https://together.jolla.com/question/2769/why-doesnt-a-sd-card-work/

I'd love for ext4 to be mounted and recognized out-of-the box. If a workaround is still needed, I'd like to ask Jolla to include it in their next Sailfish update.

edit retag flag offensive close delete

Comments

It is not recommended to use a journaling FS on flash storage.

vasavr ( 2014-04-06 15:02:11 +0200 )edit

I've formatted my card as btrf, on jolla itself. howtos are linked above, although I didn't create the subvolume. So far it works just fine, afaict. btrfs is said to have autodetection whether it is on flash-based storage, to which it adjusts automatically. For now I'm not worried.

Fuzzillogic ( 2014-04-06 16:44:52 +0200 )edit

@vasavr - isn't journaling optional when using ext4 ?

But yes Btrfs would be the obvious choice ..

flywheel ( 2014-04-07 13:53:09 +0200 )edit

A note on btrfs. Some people on IRC have had issues with btrfs filesystems created off device, likely due to version mismatches. If you want to be certain that you won't have trouble, create the filesystem on-device.

steph ( 2014-04-07 14:01:05 +0200 )edit

1 Answer

Sort by » oldest newest most voted
6

answered 2014-04-07 13:50:23 +0200

steph gravatar image

updated 2014-04-07 13:54:45 +0200

As of 1.0.4.20, yes, if you put an ext4 formatted card into your Jolla, the automounter will mount it at /media/sdcard/(UUID). I believe it will also mount more than one partition but have not tested this myself. Only issue you should be mindful of is that there will almost certainly be UID mismatches between the nemo user on your Jolla and any files you copy from your PC, so you'll need to change ownership or permissions appropriately.

edit flag offensive delete publish link more

Comments

Yes, multiple partitions on a SD-card with file-systems supported by the SailfishOS kernel (e.g. EXT4, vFAT32) are all automatically mounted.

But the SailfishOS backup tool (in its settings) will always store backups on the first partition of a SD-card.

olf ( 2018-01-05 18:58:07 +0200 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2014-04-06 11:35:53 +0200

Seen: 1,843 times

Last updated: Apr 07 '14