Skip to content

v1.3.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@Olf0 Olf0 released this 05 Jan 15:10
· 139 commits to master since this release
8a42aad

Change

Adopting and adapting Jolla's recent changes (released in SailfishOS 4.0.1) to support configurable, additional mount options per files residing in /var/lib/environment/udisks2/.

mount-sdcard now evaluates up to two configuration files there for each partition mounted by it, i.e. mount-sd.conf for all partitions it mounts, plus mount-sd@<device-name>.conf for a partition with a matching device-name (e.g., mmcblk1p1). Setting a variable (e.g., differently) in mount-sd@<device-name>.conf will override the assignment of this variable in mount-sd.conf. If any of these files are empty or non-existent, they are ignored.
Currently only the variable UDISKS2_MOUNT_OPTIONS is evaluated by mount-sdcard, all other variables set in aforementioned configuration files are ignored.
mount-sdcard deploys /var/lib/environment/udisks2/mount-sd.conf, containing the single line UDISKS2_MOUNT_OPTIONS="-o noexec" followed by a newline character ("\n").

See also bullet point "Since v1.3.4 ..." in mount-sdcard's README.md for describing the same content in other words; but that was updated to v1.3.4 and later (see also addendum below), in contrast to these release notes, which still describe v1.3.2.

Addendum: Note that per v1.3.4, mount-sd.conf was renamed to mount-sd@.conf to provide a consistent naming scheme.