OESF Portables Forum

Model Specific Forums => Gemini PDA => Gemini PDA - Sailfish OS => Topic started by: Dietmar Schwertberger on July 13, 2018, 03:21:00 pm

Title: SD Card?
Post by: Dietmar Schwertberger on July 13, 2018, 03:21:00 pm
Hi!

Can anyone confirm that Micro SD cards are working with the community preview?
I have checked the usual mountpoints, but could not find my card.

If it's working:
 - what is your card size and format?
 - where is it mounted?

Regards,

Dietmar
Title: SD Card?
Post by: vader on July 14, 2018, 12:02:45 am
Quote from: Dietmar Schwertberger
Hi!

Can anyone confirm that Micro SD cards are working with the community preview?
I have checked the usual mountpoints, but could not find my card.

If it's working:
 - what is your card size and format?
 - where is it mounted?

Regards,

Dietmar
I use a sandisk micro sdxc (64Gb). Sailfish wouldn't mount it by default (vfat), but by creating a /media/sdcard directory and mounting directly, everything works. Photos, videos, music etc are all now discovered and working. I was going to modify the fstab, but I rarely reboot, so I just manually mount.

The device is /dev/mmcblk1, so to mount the first partition on the card, do the following from the terminal:

devel-su (and enter su password set up in developer options)
mkdir -p /media/sdcard
mount /dev/mmcblk1p1 /media/sdcard
exit (to get back to normal user, or just quit the terminal app)

You may have to add the -t option if your card has an odd format.

I like sailfish because (unlike android) you can do these things when the system misbehaves. It is a full blown linux distro under the hood.
Title: SD Card?
Post by: Dietmar Schwertberger on July 14, 2018, 07:22:42 am
Thanks a lot. That's working for me as well.