Skip to content

Commit 655c714

Browse files
authored
Merge pull request #24 from Olf0/master
Update README.md for v.1.5.1
2 parents 21ff62a + 99255b7 commit 655c714

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,7 @@ They provide the following enhancements compared to SailfishOS' original version
1010
* 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 />
1111
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 />
1212
Nevertheless, these configuration files are also applicable to devices without AlienDalvik installed.
13-
* Since v1.3.4 (see [release notes of v1.3.2](https://github.com/Olf0/mount-sdcard/releases/tag/1.3.2) for technical details of this feature):<br/>
14-
Try to evaluate the Systemd [EnvironmentFile](https://www.freedesktop.org/software/systemd/man/systemd.exec.html#EnvironmentFile=)s `mount-sd@.conf` and `mount-sd@<device-name>.conf` (in this order) located in `/var/lib/environment/udisks2/`. *mount-sdcard* looks only for these two file names for mounting (each partition on) an SD-card, in contrast to [Jolla's original](https://git.sailfishos.org/mer-core/udisks2/blob/master/rpm/0013-Pass-extra-mount-options-to-mount-sd-service.patch), which uses any `*.conf` file in this directory for every partition the original *mount-sd.service* mounts.<br />
15-
Note that *mount-sdcard* actually deploys a `/var/lib/environment/udisks2/mount-sd@.conf` (in contrast to Jolla's original), containing `UDISKS2_MOUNT_OPTIONS="-o noexec"`. As with Jolla's original, ...
16-
* only the environment variable `UDISKS2_MOUNT_OPTIONS` is evaluated.
17-
* all other variable assignments, empty lines, empty `*.conf` files or missing files are ignored.
18-
* 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).
19-
20-
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`
13+
* Since [v1.3.4](https://github.com/Olf0/mount-sdcard/releases/tag/1.3.2), overhauled in [v1.5.1](https://github.com/Olf0/mount-sdcard/blob/1e17ec4854c44ab2dd498b956c1a3ac280668952/systemd/system/mount-sd.conf): Use [Systemd EnvironmentFiles](https://www.freedesktop.org/software/systemd/man/systemd.exec.html#EnvironmentFile=), allowing administrators to [easily set options](https://github.com/Olf0/mount-sdcard/blob/master/systemd/system/mount-sd.conf#L2).
2114
* 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 />
2215
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.
2316
* 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.

0 commit comments

Comments
 (0)