mount-sdcard

Rating: 
5
Your rating: None Average: 5 (6 votes)

Enhanced mounting scripts for SD-cards

 
They provide the following enhancements compared to SailfishOS' original versions:

  • Start mounting (partitions on) SD-card via udisks at the earliest sensible time: Right after udisks2.service has started.
  • Unmount before udisks2 begins stopping, hence achieving a clean unmount.
  • Ensure, that AlienDalvik begins starting after mounting succeeded, to allow for android_storage on SD-card.
    Even more importantly (i.e., also relevant for devices without "android_storage on SD-card") this also ensures, that unmounting occurs only after AlienDalvik has completely stopped.
    Nevertheless, these configuration files are also applicable to devices without AlienDalvik installed.
  • Since v1.3.4 mount-sdcard uses Systemd EnvironmentFiles for additional mount options.
    These configuration files are designed to be adapted by a system administrator (i.e., you), so if you want to remove the noexec or add other mount options, see here for details.
  • Versions below 1.0-4: Inhibit stubbornly trying to mount block devices without a filesystem recognised by the kernel / udev.
    As Jolla resolved this in SailfishOS 3.0.1, this workaround is omitted in mount-sdcard 1.0-4 (and later versions), making v1.0-3 the last release installable on SailfishOS 2.2.0, 2.2.1 and 3.0.0.
  • Versions below 1.0: Create / try to rectify the "compatibility symlink" in order to allow older apps seamlessly accessing (partitions on) SD-cards at their new (since SailfishOS 2.2.0) mount point.

 
Notes:

  • These configuration files do not alter, replace or delete any extant files.
  • Minimal SailfishOS version supported by mount-sdcard is 2.2.0.
  • Since mount-sdcard 1.0-4 at least SailfishOS 3.0.1 is required.
  • Since mount-sdcard 1.1-1 at least SailfishOS 3.2.1 is required.
  • A reboot is needed for these configuration files to become active.
  • They are by-products of optimising the start-up timing, feature set and shut-down behavior of crypto-sdcard.
  • Support of partitions and whole devices (as Jolla's original versions do).
  • Support for (µ)SD-cards and USB-attached storage (if supported by device hardware and Operating System).
  • mount-sdcard's source files are hosted at Github.
  • For discussing its specific configuration files and RPM packaging, please use its issue tracker at Github.
  • Issues with this RPM package or the configuration files it installs shall also be filed at mount-sdcard's issue tracker at Github.
  • As this web-page at OpenRepos exists merely for distributing mount-sdcard packaged for SailfishOS, there is no need for issuing comments here.

 
License:
LGPL-2.1-only

Keywords:

Application versions: 
AttachmentSizeDate
File mount-sdcard-0.6-2.noarch.rpm7.98 KB26/01/2019 - 20:06
File mount-sdcard-1.0-3.noarch.rpm7.25 KB12/10/2019 - 16:56
File mount-sdcard-1.0-4.noarch.rpm6.93 KB26/10/2019 - 15:53
File mount-sdcard-1.2.3-16.noarch.rpm26.43 KB04/10/2020 - 16:23
File mount-sdcard-1.2.8-20.noarch.rpm26.49 KB16/10/2020 - 11:57
File mount-sdcard-1.3.1-22.noarch.rpm26.49 KB22/02/2021 - 17:52
File mount-sdcard-1.4.0-26.noarch.rpm26.73 KB07/03/2021 - 18:14
File mount-sdcard-1.4.3-1.sfos220.noarch.rpm27.09 KB15/03/2021 - 18:04
File mount-sdcard-1.4.3-1.sfos301.noarch.rpm26.77 KB15/03/2021 - 18:04
File mount-sdcard-1.4.3-1.sfos321.noarch.rpm26.76 KB15/03/2021 - 18:04
File mount-sdcard-1.5.0-1.sfos220.noarch.rpm27.1 KB17/03/2021 - 20:14
File mount-sdcard-1.5.0-1.sfos301.noarch.rpm26.78 KB17/03/2021 - 20:14
File mount-sdcard-1.5.0-1.sfos321.noarch.rpm26.77 KB17/03/2021 - 20:14
File mount-sdcard-1.6.1-1.sfos220.noarch.rpm28.44 KB11/04/2021 - 17:21
File mount-sdcard-1.6.1-1.sfos301.noarch.rpm28.3 KB11/04/2021 - 17:21
File mount-sdcard-1.6.1-1.sfos321.noarch.rpm28.3 KB11/04/2021 - 17:21
File mount-sdcard-1.6.1-1.sfos340.noarch.rpm28.27 KB11/04/2021 - 17:21
File mount-sdcard-1.7.2-1.sfos220.noarch.rpm29.15 KB27/05/2021 - 15:10
File mount-sdcard-1.7.2-1.sfos301.noarch.rpm29.01 KB27/05/2021 - 15:10
File mount-sdcard-1.7.2-1.sfos321.noarch.rpm29 KB27/05/2021 - 15:10
File mount-sdcard-1.7.2-1.sfos340.noarch.rpm28.98 KB27/05/2021 - 15:10
File mount-sdcard-1.8.0-1.sfos220.noarch.rpm29.16 KB01/06/2021 - 19:20
File mount-sdcard-1.8.0-1.sfos301.noarch.rpm29.03 KB01/06/2021 - 19:20
File mount-sdcard-1.8.0-1.sfos321.noarch.rpm29.03 KB01/06/2021 - 19:20
File mount-sdcard-1.8.0-1.sfos340.noarch.rpm29 KB01/06/2021 - 19:20
File mount-sdcard-1.8.1-1.sfos220.noarch.rpm29.15 KB12/06/2021 - 16:38
File mount-sdcard-1.8.1-1.sfos301.noarch.rpm29.02 KB12/06/2021 - 16:38
File mount-sdcard-1.8.1-1.sfos321.noarch.rpm29.02 KB12/06/2021 - 16:38
File mount-sdcard-1.8.1-1.sfos340.noarch.rpm29 KB12/06/2021 - 16:38

Comments

Vieno's picture

No, for both cases. I was hoping to solve my mounting problem by installing your script. My wife has used the SD-card in a thumpdrive adapter at a printing service terminal. After that the phone was not able to mount the card again. On my laptop everything looks ok with the SD-card. I'm just lacking in time to dig into the problem and tried an easy attempt using your script.
I dont think your script has a bug. Something must have happened with the sd-card at the printing terminal which prevents mounting in the phone.
Maybe next week or in December I can spare some time to solve the problem (and maybe report relevant findings)

olf's picture

You may try reformatting it in your SFOS device, using this guide at TJC.

Pages