Skip to content

Commit

Permalink
Merge pull request #9 from Olf0/master
Browse files Browse the repository at this point in the history
Prepare v1.4.3
  • Loading branch information
Olf0 authored Mar 14, 2021
2 parents d13eb45 + 7852996 commit 0972d8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This systemd unit file and the udev rules file are by-products of optimising the
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.service* begins stopping, hence achieving a clean unmount.
* Also do not use SailfishOS' *udisksctl-user* script for unmounting (because this cannot work at the time ExecStop is executed), which is installed and used by SailfishOS since its release 3.2.1, and was also used by *mount-sdcard* versions 1.1-1 to 1.3.0-21; see [details here](https://github.com/Olf0/mount-sdcard/pull/2).
* Also do not use SailfishOS' *udisksctl-user* script for unmounting (because this cannot work at the time ExecStop is executed), which is installed and used by SailfishOS since its release 3.2.1, and was also used by *mount-sdcard* versions 1.1-1 to 1.3.0; see [details here](https://github.com/Olf0/mount-sdcard/pull/2).
* Ensure, that AlienDalvik (specifically *alien-service-manager.service*) begins starting after mounting succeeded, to allow for [android_storage on SD-card](https://together.jolla.com/question/203539/guide-externalising-android_storage-and-other-directories-files-to-sd-card/#203539-2-externalising-homenemoandroid_storage).<br />
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.<br />
Nevertheless, these configuration files are also applicable to devices without AlienDalvik installed.
Expand All @@ -18,15 +18,15 @@ They provide the following enhancements compared to SailfishOS' original version
* mind that *udisks2* filters the mount options: While `noexec` and `readonly` are allowed, `lazytime` results in *udisks2* refusing to mount (I have not tried any other additional mount options, but these three).

If you want to execute files located on your unencrypted SD-card, do **not** delete `/var/lib/environment/udisks2/mount-sd@.conf`: It will be redeployd by the next update of *mount-sdcard*. Instead empty this file, e.g. by executing (as root) `cd /var/lib/environment/udisks2/ && rm -f mount-sd\@.conf && touch mount-sd\@.conf`
* Versions below 1.0-4: Inhibit stubbornly trying to mount block devices without a filesystem recognised by the kernel / udev.<br />
As Jolla resolved this in SailfishOS 3.0.1 (see [commit](https://git.sailfishos.org/mer-core/udisks2/commit/6fae1738440d65deb995edb0e5d759c74729d00b) and [changelog](https://together.jolla.com/question/195733/changelog-301-sipoonkorpi/#195733-udisks2)), this workaround is omitted in *mount-sdcard 1.0-4* (and later versions), making [*v1.0-3*](https://github.com/Olf0/mount-sdcard/releases/tag/1.0-3) the last release installable on SailfishOS 2.2.0, 2.2.1 and 3.0.0.
* Versions below 1.0-4, plus the 1.x.y-z.sfos220 versions: Inhibit stubbornly trying to mount block devices without a filesystem recognised by the kernel / udev.<br />
As Jolla resolved this in SailfishOS 3.0.1 (see [commit](https://git.sailfishos.org/mer-core/udisks2/commit/6fae1738440d65deb995edb0e5d759c74729d00b) and [changelog](https://together.jolla.com/question/195733/changelog-301-sipoonkorpi/#195733-udisks2)), this workaround is omitted in *mount-sdcard 1.0-4* (and later versions), making [*v1.0-3*](https://github.com/Olf0/mount-sdcard/releases/tag/1.0-3) and the *v1.x.y-z.sfos220* versions the latest releases 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](https://github.com/Olf0/mount-sdcard/releases/tag/1.0-4) is required.
* Since *mount-sdcard 1.1-1* at least [SailfishOS 3.2.1](https://github.com/Olf0/mount-sdcard/pull/2) is required.
* For *mount-sdcard 1.0-4* and the *1.x.y-z.sfos301* versions at least [SailfishOS 3.0.1](https://github.com/Olf0/mount-sdcard/releases/tag/1.0-4) is required.
* For *mount-sdcard 1.1-1* to *1.4.0* and the *1.x.y-z.sfos321* versions at least [SailfishOS 3.2.1](https://github.com/Olf0/mount-sdcard/pull/2) is required.
* Support of partitions and whole devices (as SailfishOS' original versions do).
* Support for (µ)SD-cards and USB-attached storage (if supported by device hardware and Operating System).
* An RPM built for SailfishOS is available at [OpenRepos](https://openrepos.net/content/olf/mount-sdcard).
2 changes: 1 addition & 1 deletion rpm/mount-sdcard.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: mount-sdcard
Summary: Enhanced mounting scripts for SD-cards
Version: 1.4.2
Version: 1.4.3
# Since v1.4.2, the release version consists of two or three fields, separated by a dot ("."):
# - The first field must contain a natural number greater than zero.
# This number may be prefixed by one of {alpha,beta,stable}, e.g. "alpha13".
Expand Down

0 comments on commit 0972d8d

Please sign in to comment.