[4.1.0.23] Nickname of the SD card not used in the card filesystem path anymore

REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 4.1.0.23
HARDWARE (XA2, Xperia 10…): XA2
UI LANGUAGE: DE
REGRESSION: (compared to previous public release: Yes, No, ?): no

DESCRIPTION:

Sd card is no more mounted into /media/sdcard/cardname but in /media/sdcard/cardhashname.
This is fatal if people have stuff which rely on the cardname.

PRECONDITIONS:

Mounted card

STEPS TO REPRODUCE:

  1. Mount a card (with a known name)
  2. ls `/media/sdcard/known_name

EXPECTED RESULT:

directory is shown

ACTUAL RESULT:

file not found.

ADDITIONAL INFORMATION:

Would it be possible to define the path of the card once and never ever again? This mount path moved minimum 5 times on SFOS living. With all due respect: that sucks! You never know if e.g. your backup concept works, all tricks to outsource data from /home/username (by moving to sd card and link) may also break the system. This is more necessary for enterprise environments with e. g. automatical backup concepts.

12 Likes

Thanks for reporting. I will file a bug on this. Indeed, /media/sdcard shows the long and difficult UID code now, instead of the label/nickname given when formating the card.

1 Like

Already mentioned a resulting effect here: [4.0.1.48] Most of android apps stopped working after update

And it is also confirmed by Jolla: https://irclogs.sailfishos.org/logs/%23sailfishos/%23sailfishos.2021-05-14.log.html

As you mentioned, it is quite frustrating to see this changing again and again, breaking stuff.

5 Likes

Is there a way to modify a/some file manually to change the mounted SD card path to be the same it was before.

Tried to figure it out, but I only found instructions to have SD card available for alien dalvik/android.

I need my old SD card path for native software.

1 Like

Sounds like a job for a udev rule and/or systemd path file. Wait for UUID to appear, make symlink using nickname when it does.

Huge pain in the hole, killed my beautiful syncthing/sailfish integration.

Changing sdcard mount path every second update sucks a lot. The same goes for connmann settings.