You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-8Lines changed: 1 addition & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,14 +10,7 @@ They provide the following enhancements compared to SailfishOS' original version
10
10
* 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 />
11
11
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 />
12
12
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).
21
14
* 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 />
22
15
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.
23
16
* 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