Skip to content

Releases: Olf0/mount-sdcard

v1.4.3-1.sfos321

14 Mar 19:15
5aa60b0
Compare
Choose a tag to compare

v1.4.3-1.sfos301

14 Mar 19:15
5a2115c
Compare
Choose a tag to compare

v1.4.3-1.sfos220

14 Mar 19:13
0972d8d
Compare
Choose a tag to compare

v1.4.2-1.sfos321

14 Mar 17:19
74f144e
Compare
Choose a tag to compare

Change

Prepared SailfishOS release specific versions (as in crypto-sdcard), in order to bring recently introduced features in mount-sdcard to older SailfishOS releases.
Edit: Missed to reintroduce a single statement for the sfos220 branch (which was obsoleted by SailfishOS 3.2.1, latest), thus the v1.4.2 release did not work fine for that branch.

v1.4.2-1.sfos301

14 Mar 17:21
30f05c1
Compare
Choose a tag to compare

v1.4.0

07 Mar 02:26
50e47dc
Compare
Choose a tag to compare

Changes:

  • Only minor documentation changes
  • A re-release of v1.3.4 in terms of functionality
  • Keep version number (and shared functionality) in sync with crypto-sdcard (they tended to diverge slightly in the past)
  • Reflect the consolidation of multiple, small changes accumulated throughout the v1.3.x releases per version number
  • Successfully tested on SailfishOS 4.0.1 "Koli"

v1.3.4

20 Feb 22:49
1cd4287
Compare
Choose a tag to compare

Changes

  • Rename mount-sd.conf to mount-sd@.conf to maintain a consistent naming scheme.
  • Adapt README.md etc. to aforementioned change.
  • Drop umount option "-f".

v1.3.3

17 Feb 00:44
c2d1ef4
Compare
Choose a tag to compare
v1.3.3 Pre-release
Pre-release

Changes

  • Fix an incorrect use of EnvironmentFile=.
  • Making unmounting more fail-safe by creating a "safety net", utilising umount -q.
  • Also decouple mount-sdcard (respectively its mount-sd@.service) from udisks2.service (or any other component of udisks2) failing, as udisks is now only necessary for mounting, but a weak dependency thereafter with aforementioned "safety net" (as long as a mount proper survives, which is on behalf of the kernel, not udisks).

Background

mount-sdcard (respectively mount-sd@.service, both SailfishOS' original and the one deployed by mount-sdcard) utilises udisksctl mount to mount a partition on behalf of a user, as there is no other proper way to achieve this and that is exactly what udisks is made for. While unmounting should follow the same route backwards (via udisksctl unmount), it does not absolutely have to, a "last resort unmounting" per umount also works.
Thus the strength of the dependency to udisks2.service was downgraded from BindsTo= to Requires= (still in combination with After=), an ExecStopPost=/bin/umount -vq /dev/%i introduced (the "safety net" proper) and a Conflicts=umount.target added (see comment in mount-sd@.service for details).

v1.3.2

05 Jan 15:10
8a42aad
Compare
Choose a tag to compare
v1.3.2 Pre-release
Pre-release

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.

v1.3.1

05 Jan 00:49
a7a4842
Compare
Choose a tag to compare

Change:
Fix unmounting, which was broken by blindly copying SailfishOS' udisksctl unmount -> udisksctl-user unmount change (because it usually does not work at the time ExecStop is executed).