We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2019-08-06 16:25:02 +0200 |
I have been using the bind-mount approach to share SD-card storage between Sailfish OS and Aliendalvik (as described here) for a long time.
In my configuration the physical directory /run/media/nemo/[uuid]/.android/
is bind-mounted to /home/nemo/android_storage/
by a systemd script.
Now with Seitseminen 3.1.0.11, the camera app stores images at /home/nemo/android_storage/Pictures/Camera/
instead of the location /run/media/nemo/[uuid]/Pictures/Camera
used before. Setting storage location in the settings app does not help.
Any idea what's going on here?
Here is the full content of my mount script:
[Unit]
Description=SD card bind mount for Android
ConditionPathExists=/dev/mmcblk1p1
ConditionPathExists=!/tmp/os-update-running
ConditionPathIsDirectory=/home/nemo/android_storage/
ConditionPathIsMountPoint=/run/media/nemo/90e13e4f-5b8b-489f-912c-4c171c529640/
Requires=local-fs.target systemd-user-sessions.service
Before=aliendalvik.service
After=mount-sd@mmcblk1p1.service
BindsTo=mount-sd@mmcblk1p1.service
[Mount]
What=/run/media/nemo/90e13e4f-5b8b-489f-912c-4c171c529640/.android/
Where=/home/nemo/android_storage/
Type=none
Options=bind
[Install]
WantedBy=local-fs.target aliendalvik.service
2 | retagged |
I have been using the bind-mount approach to share SD-card storage between Sailfish OS and Aliendalvik (as described here) for a long time.
In my configuration the physical directory /run/media/nemo/[uuid]/.android/
is bind-mounted to /home/nemo/android_storage/
by a systemd script.
Now with Seitseminen 3.1.0.11, the camera app stores images at /home/nemo/android_storage/Pictures/Camera/
instead of the location /run/media/nemo/[uuid]/Pictures/Camera
used before. Setting storage location in the settings app does not help.
Any idea what's going on here?
Here is the full content of my mount script:
[Unit]
Description=SD card bind mount for Android
ConditionPathExists=/dev/mmcblk1p1
ConditionPathExists=!/tmp/os-update-running
ConditionPathIsDirectory=/home/nemo/android_storage/
ConditionPathIsMountPoint=/run/media/nemo/90e13e4f-5b8b-489f-912c-4c171c529640/
Requires=local-fs.target systemd-user-sessions.service
Before=aliendalvik.service
After=mount-sd@mmcblk1p1.service
BindsTo=mount-sd@mmcblk1p1.service
[Mount]
What=/run/media/nemo/90e13e4f-5b8b-489f-912c-4c171c529640/.android/
Where=/home/nemo/android_storage/
Type=none
Options=bind
[Install]
WantedBy=local-fs.target aliendalvik.service