Reply
Thread Tools
Posts: 24 | Thanked: 7 times | Joined on Nov 2011
#11
Originally Posted by meemorph View Post
@hopey
What filesystem are you using? May be a driver module is missing, it should be added to the dependencies of the service. I am using btrfs like SailfishOS.

If you mount it manually with the script, its to late for the tracker. You can do a
Code:
tracker-control -es
and wait a few minutes. But its only a workaround for pictures and music, not for ambiences.
My SDCard is formatted using btrfs. Is yours also using btrfs ?
 
Posts: 594 | Thanked: 1,094 times | Joined on Aug 2012 @ Rhine
#12
BIG thanks too meemorph, now everything works great again!
  • ambiances are used from sdcard
  • images are visible in gallery
  • changes in app-order are persistant

i kept everything very simple, this is my config for ext4:

mount-sd.custom.sh
Code:
#!/bin/bash

ACTION=$1

if [ "$ACTION" = "add" ]; then
    mount /dev/mmcblk1p1 /mnt/sd
    mount -o bind /mnt/sd/.home /home/nemo
    mount -o bind /mnt/sd/.android /data/sdcard
else
  umount /data/sdcard
  umount /home/nemo
  umount /mnt/sd
fi
mount-custom.service
Code:
[Unit]
Description=Handle custom sdcard
After=local-fs.target
RequiresMountsFor=/home

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/sbin/mount-sd.custom.sh add
ExecStop=/usr/sbin/mount-sd.custom.sh remove

[Install]
WantedBy=multi-user.target
Great!
 

The Following 3 Users Say Thank You to Leinad For This Useful Post:
Posts: 144 | Thanked: 242 times | Joined on Nov 2007 @ Finland
#13
This looks absolutely great!
__________________
Copy offers 20 GB free cloud storage
Register via this link -> confirm your email address -> install Copy client (Linux, OS X, Windows, iOS or Android) and you'll get 20 GB storage space in cloud.
 

The Following User Says Thank You to Penguin For This Useful Post:
Posts: 5 | Thanked: 1 time | Joined on Mar 2014
#14
Ok got it working using Leinads script. I don't know what made the difference. I'm using ext4 too.

Thanks everyone!
 

The Following User Says Thank You to hopey For This Useful Post:
Posts: 204 | Thanked: 443 times | Joined on Jul 2012 @ Germany - Potsdam
#15
Originally Posted by hopey View Post
Ok got it working using Leinads script. I don't know what made the difference. I'm using ext4 too.

Thanks everyone!
I would say ext4 is not equal btrfs ;-).
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:40.